@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
@import url('https://fonts.cdnfonts.com/css/tt-wellingtons-trl');

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Questrial", serif;
}

h1, h2, h3, h4 {
    font-family: 'TT Wellingtons Trl', sans-serif;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), 
                url('assets/background-image/background-body.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px 0px 100px;
    color: white;
}

.top-bar {
    display: flex;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 180px;
}

.contato {
    margin-left: 150px;
    display: flex;
    align-items: center;
}

.contato img {
    height: 100px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.contato img:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.contato-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contato-info a {
    text-decoration: none;
}

.contato-info span {
    font-size: 25px;
    font-weight: bold;
    color: #ffffff;
}

.contato-info small {
    font-size: 20px;
    color: #ffffff;
}

nav {
    font-weight: bold;
    gap: 20px;
}

nav a {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    padding: 0px 57px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, color 0.3s ease-in-out;
}

nav a:hover {
    color: #ffda07;
    transform: scale(1.1);
    opacity: 1;
}

.intro-section {
    display: flex;
    justify-content: space-between;
    align-items: top, center;
    padding: 2px 50px 0px 50px;
    background: none;
    color: white;
    gap: 20px;
    margin-top: 40px;
    animation: fadeIn 1s ease-in-out;
}

.intro-text {
    max-width: 50%;
    text-align: left;
    line-height: 1.8;
}

.intro-text h1 {
    font-size: 37px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0,0.3);
}

.intro-text p {
    font-size: 20px;
    margin-bottom: 20px;
    color: #e4e4e4;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #00cc44, #00a837);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 40px;
    margin-top: 40px;
}

.cta-button img {
    height: 60px;
    margin-right: 10px;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #00cc44;
}

.benefits-list {
    list-style: none;
    color: white;
}

.benefits-list li {
    display: flex;
    align-items: center;
    font-size: 20px;
    padding: 10px 0px;
}

.benefits-list img {
    width: 40px;
    margin-right: 10px;
}

.carousel-container {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease-out;
    position: relative;
    max-width: 1080px;
    margin: auto;
    margin-left: 100px;
    margin-right: 50px;
}

.carousel-container.animate {
    opacity: 1;
    transform: translateY(0);
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide {
    display: none;
    text-align: center;
}

.slide img {
    width: 860px;
    height: 700px;
    border-radius: 50px;
}

.fade {
    animation: fadeEffect 1.0s;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.prev { left: 0; }
.next { right: 0; }

.dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: gray;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: white;
}

.specialties {
    margin-top: 100px;
    text-align: center;
    padding: 50px 20px 120px;
    background-color: #f9f9f9;
    max-width: 92%;
    clip-path: polygon(0 0, 100% 0, 92% 95%, 0% 100%);
    position: relative;
    scroll-margin-top: 5vh;
}

.specialties h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.specialties h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background-color: #ffc107;
    margin: 10px auto 20px auto;
}

.specialties-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 150px 50px 50px;
}

.specialty {
    max-width: 350px;
    text-align: left;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialty:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.specialty img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.specialty h3 {
    font-size: 26px;
    margin: 15px;
    color: #333;
}

.specialty.atendimento-personalizado h3 {
    position: relative;
    padding-bottom: 5px;
}

.specialty.atendimento-personalizado h3::after {
    content: "";
    display: block;
    width: 35%;
    height: 3px;
    background-color: #ffc107;
    position: absolute;
    bottom: 0;
}

.specialty p {
    font-size: 19px;
    margin: 15px;
    color: #5e5e5e;
    line-height: 1.6;
}

.products {
    margin-top: 150px;
    text-align: center;
    padding: 50px 50px 65px 150px;
    background-color: #f9f9f9;
    max-width: 88%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 96%);
    position: relative;
    margin-left: auto;
    scroll-margin-top: 3vh;
}

.products h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
    width: 100%;
}

.products h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background-color: #ffc107;
    margin: 10px auto 20px auto;
}

.products-layout {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    margin-top: 0;
}

.products-cta-button-container {
    width: 370px;
    flex-shrink: 0;
}

.products-cta-button {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #00cc44, #00a837);
    color: white;
    padding: 12px 35px;
    text-decoration: none;
    font-size: 27px;
    font-weight: bold;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.products-cta-button img {
    height: 50px;
    margin-right: 7px;
}

.products-cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #00cc44;
}

.cta-benefits {
    margin-top: 50px;
    margin-bottom: 10px;
    list-style: none;
    font-size: 20px;
    color: #000000;
    line-height: 1.6;
}

.cta-description {
    font-size: 30px;
    margin-bottom: 40px;
    text-align: left;
    color: #2b2b2b;
}

.cta-description span {
    font-weight: bold;
    color: #ffc400;
    font-size: 35px;
    border-radius: 10px;
}

.cta-benefits li {
    background-color: #ffc4002c;
    border-radius: 15px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.cta-benefits img {
    width: 40px;
    margin-right: 10px;
}

.products-container {
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product {
    max-width: 300px;
    text-align: center;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid #ffd000;
}

.product h3 {
    font-size: 26px;
    margin: 15px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.about-us-container{
    border-radius: 20px;
    margin-top: 150px;
    margin-bottom: 150px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 1280px;
    height: 880px;
    background: #f5f5f5;
    box-shadow: 0 5px 10px #dbdbdb3d;
    scroll-margin-top: 4vh;
}

.about-us-container .about-us-slide .about-us-item{
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, 10%);
    border-radius: 20px;
    box-shadow: 0 5px 10px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.about-us-slide .about-us-item:nth-child(1),
.about-us-slide .about-us-item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 20;
    width: 100%;
    height: 100%;
}


.about-us-slide .about-us-item:nth-child(3){
    left: 55%;
}
.about-us-slide .about-us-item:nth-child(4){
    left: calc(55% + 220px);
}
.about-us-slide .about-us-item:nth-child(5){
    left: calc(55% + 440px);
}

/* here n = 0, 1, 2, 3,... */
.about-us-slide .about-us-item:nth-child(n + 6){
    left: calc(55% + 660px);
    opacity: 0;
}

.about-us-item .about-us-content{
    position: absolute;
    top: 35%;
    left: 100px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}


.about-us-slide .about-us-item:nth-child(2) .about-us-content{
    display: block;
}


.about-us-content .about-us-name{
    width: 400px;
    padding: 10px 10px 10px 20px;
    border-radius: 30px;
    font-family: 'TT Wellingtons Trl', sans-serif;
    font-size: 45px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
    background-color: rgba(0, 0, 0, 0.829);
}

.about-us-content .about-us-des{
    width: 500px;
    padding: 20px 20px 20px 20px;
    border-radius: 30px;
    background-color: rgba(248, 248, 248, 0.884);
    color: black;
    font-family: "Questrial", serif;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.about-us-content button{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}


@keyframes animate {
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

.about-us-button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.about-us-button button{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
}

.button button:hover{
    background: #ababab;
    color: #fff;
}

.footer-container{
	max-width: 1170px;
    margin: auto;
    margin-bottom: 16px;
}

.footer-row{
	display: flex;
	flex-wrap: wrap;
    justify-content: center;
    gap: 250px;
}

.footer-col ul{
	list-style: none;
}

.footer{
	background-color: #24262b;
    padding: 50px 0 30px 0;
}

.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}

.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #ffd000;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}

.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}

.footer-col ul li a{
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}

.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}

.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
}

.footer-copy {
    background-color: #1d1d1d;
    padding: 10px 0;
    text-align: center;
    color: #bbbbbb;
    font-size: 14px;
    font-weight: 300;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.footer-copy p {
    margin: 0px;
}

.back-to-top {
    position: fixed;
    bottom: 20px; /* Distância da parte inferior da tela */
    right: 20px; /* Distância da parte direita da tela */
    background-color: #FFC107; /* Cor de fundo */
    color: #000; /* Cor do texto */
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    font-size: 18px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0; /* Inicialmente invisível */
    transform: scale(0); /* Inicialmente escondido */
    z-index: 1000; /* Garante que o botão fique acima dos outros elementos */
}

.back-to-top.show {
    opacity: 1;
    transform: scale(1); /* Aparece e expande suavemente */
}

.back-to-top:hover {
    background-color: #FFD54F; /* Cor mais clara ao passar o mouse */
    box-shadow: 0 6px 12px rgba(255, 193, 7, 0.4); /* Sombra mais evidente */
}


/* Animação para entrada da esquerda */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animação para entrada da direita */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animação para entrada de baixo */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInOnScroll {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(20px); /* Reduza o deslocamento */
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    will-change: opacity, transform; /* Ajuda na renderização */
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate {
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
}

/* Mobile.css - Estilos para telas menores */
@media screen and (max-width: 1300px) {
    html {
        scroll-behavior: smooth;
        touch-action: pan-y;
    }

    body {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    header {
        padding: 0;
        flex-direction: column;
        align-items: center;
        max-width: 95%;
        margin-top: 30px;
    }
    
    .top-bar {
        display: flex;
        margin-bottom: 50px;
    }

    .logo img {
        margin-right: 50px;
        max-height: 120px;
    }
    
    .contato img {
        height: 70px;
    }

    .contato {
        padding: 0;
        margin: 0;
        flex-direction: row;
    }
    
    .contato-info span, .contato-info small {
        font-size: 16px;
    }
    
    nav {
        max-width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 18px;
        margin-bottom: 40px;
    }

    nav a {
        padding: 5px;
        font-size: 13px;
    }
    
    .intro-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }
    
    .intro-text {
        max-width: 100%;
        text-align: center;
    }

    
    .intro-text h1 {
        font-size: 28px;
    }
    
    .intro-text h1::after {
        content: "";
        display: block;
        width: 70%;
        height: 4px;
        background-color: #ffc107;
        margin: 10px auto 20px auto;
    }

    .cta-button {
        font-size: 20px;
        padding: 10px 20px;
    }
    
    .benefits-list li {
        justify-content: center;
    }

    .carousel-container {
        max-width: 100%;
        margin: auto;
    }
    
    .carousel img {
        width: 100%;
        height: auto;
    }
    
    .specialties {
        position: relative;
        margin-right: auto;
        padding: 70px 50px 120px 50px;
        max-width: 100%;
        text-align: center;
    }

    .specialties-container, .products-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .specialties h2 {
        font-size: 28px;
    }

    .specialty h3 {
        font-size: 22px;
    }

    .specialty p {
        font-size: 18px;
    }

    .cta-description {
        font-size: 22px;
    }

    .cta-description span {
        font-size: 26px;
    }

    .products {
        padding: 80px 20px 200px 80px;
        max-width: 100%;
        text-align: center;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 96%);
    }
    
    .products h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .products-layout {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .products-cta-button-container {
        width: 100%;
    }

    .products-cta-button {
        font-size: 25px;
        display: flex;
        margin: auto;
        padding: 10px 10px 10px 0;
    }

    .products-cta-button img {
        height: 70px;
    }
    

    .products-container {
        gap: 50px;
    }
    
    .product {
        max-width: 100%;
        width: 100%;
    }
    
    .product img {
        width: 100%;
        height: auto;
    }
    
    .product h3 {
        font-size: 22px;
        padding: 10px;
        text-align: center;
        white-space: normal;
        word-wrap: break-word;
    }
 
    .about-us-container {
        height: 60vh;
        width: 95%;
    }

    .about-us-item .about-us-content{
        top: 30%;
        left: 20px;
    }
    
    .about-us-container .about-us-slide .about-us-item{
        width: 70px;
        height: 100px;
        position: absolute;
        top: 60%;
        transform: translate(0, 30%);
        border-radius: 20px;
        box-shadow: 0 5px 10px #505050;
        background-position: 50% 50%;
        background-size: cover;
        display: inline-block;
        transition: 0.5s;
    }
    
    .about-us-slide .about-us-item:nth-child(1),
    .about-us-slide .about-us-item:nth-child(2){
        top: 0;
        left: 0;
        transform: translate(0, 0);
        border-radius: 20;
        width: 100%;
        height: 100%;
    }
    
    
    .about-us-slide .about-us-item:nth-child(3){
        left: 35%;
    }
    .about-us-slide .about-us-item:nth-child(4){
        left: calc(35% + 80px);
    }
    .about-us-slide .about-us-item:nth-child(5){
        left: calc(35% + 160px);
    }

    .about-us-slide .about-us-item:nth-child(n + 6){
        left: calc(35% + 160px);
        opacity: 0;
    }

    .about-us-content .about-us-name{
        width: 230px;
        font-size: 25px;
    }
    
    .about-us-content .about-us-des{
        width: 300px;
        font-size: 11px;
        margin-top: 10px;
    }

    .about-us-button{
        width: 100%;
        text-align: left;
        position: absolute;
        bottom: 5px;
        left: 10px;
    }

    .footer {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 30px 10px;
    }
    
    .footer-row {
        flex-direction: row;
        gap: 30px;
        text-align: center;
    }
    
    .footer-container {
        max-width: 100%;
    }
    
    .footer-col h4 {
        font-size: 16px;
    }
    
    .footer-col ul {
        text-align: left;
    }

    .footer-col ul li a {
        font-size: 14px;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 14px;
        line-height: 50px;
    }
}