@import url('./colors.css');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

html {
    scroll-behavior: smooth;
}

main {
    padding-top: 85px; 
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%; 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background-color: var(--primary);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: rgba(6, 52, 202, 0.40);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

.logo {
    width: 80px;
}

.btn {
    text-decoration: none;
    font-weight: bold;
}


.btn-action {
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 25px;
    padding: 10px 20px;
    transition: .5s all;
}

.btn-action:hover {
    background-color: var(--white);
    color: var(--secondary);
}


.nav-item {
    text-decoration: none;
    color: white;
    transition: .5s all;
    font-size: 18px;
    font-weight: 400;
    padding: 0 5px;
}

.nav-item:hover {
    color: var(--secondary);
}

.mobile-menu, .mobile-menu-icon {
    display: none ; 
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding-bottom: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
    pointer-events: none; 
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-icon {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--white);
}

.mobile-menu .nav-item {
    display: block; 
    text-align: center; 
    padding: 12px 0; 
}


.hero-section {
    position: relative; 
    overflow: hidden;   
    display: flex;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero-bg.png');
    background-size: cover;
    z-index: -1; /* Coloca o fundo atrás do conteúdo */
}

.hero-title {
    display: inline;
    width: 100%;
    font-size: clamp(2rem, 1rem + 4vw, 4rem); 
    color: var(--black);
}

.hero-title span {
    color: var(--secondary);
}

.hero-header {
    display: inline-block;
    margin-bottom: 20px;
}

.hero-header i {
    font-size: clamp(2rem, 1rem + 3vw, 3rem); 
}

.hero-content {
    padding: 0 2% 0 6%;
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-description {
    font-size: clamp(0.8rem, 0.6rem + 1vw, 1.3rem); 
}

.hero-ilustration {
    width: 55%;
}

.hero-actions {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 25px 0;
}
.hero-subtitle {
    display: block;
}

.btn-hero {
    text-decoration: none;
    width: 20vw;
    background: var(--secondary);
    color: white;
    font-family: inherit;
    padding: 0.35em;
    padding-left: 1.2em;
    font-size: 17px;
    font-weight: 500;
    border-radius: 0.9em;
    border: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 1.6em -0.6em var(--secondary-accent);
    overflow: hidden;
    position: relative;
    height: 2.8em;
    padding-right: 3.3em;
    cursor: pointer;
}

.btn-hero .icon {
    background: white;
    margin-left: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    border-radius: 0.7em;
    box-shadow: 0.1em 0.1em 0.6em 0.2em var(--secondary-accent);
    right: 0.3em;
    transition: all 0.3s;
}

.btn-hero:hover .icon {
    width: calc(100% - 0.6em);
}

.btn-hero .icon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: var(--secondary);
}

.btn-hero:hover .icon svg {
    transform: translateX(0.1em);
}

.btn-hero:active .icon {
    transform: scale(0.95);
}


.hero-arrow {
    display: block;
}

.hero-clients {
    display: flex;
    align-items: center;
}

.image-client {
    border-radius: 50%;
    width: 40px;
    height: 40px; 
    object-fit: cover; 
    border: 3px solid var(--white); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); 
    transition: transform 0.2s ease;
}

.image-client:not(:first-child) {
    margin-left: -15px;
}

.hero-image {
    width: 100%;
    height: auto;
}


/* Sessão Lançamento */

.lancamento-section {
    position: relative; 
    padding: 80px 6%;
    background: linear-gradient(160deg, #fdfdff 0%, #ffe6e6 100%); 
    text-align: center;
    overflow: hidden;
}

.lancamento-section::before,
.lancamento-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 0;
}

.lancamento-section::before {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    background: radial-gradient(circle, rgba(255, 84, 84, 0.1), transparent 70%);
}

.lancamento-section::after {
    width: 300px;
    height: 300px;
    bottom: -80px;
    right: -80px;
    background: radial-gradient(circle, rgba(85, 74, 240, 0.1), transparent 70%);
}

.lancamento-title {
    font-size: clamp(2rem, 1rem + 3vw, 3.5rem);
    color: var(--black-80);
    margin-bottom: 1rem;
    font-weight: 700; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.05);
}

.lancamento-description {
    font-size: clamp(0.9rem, 0.7rem + 1vw, 1.2rem);
    color: var(--black-90);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative; 
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 16px; 
    box-shadow: var(--shadow-lg);
    width: 120px;
    height: 120px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.countdown-number {
    font-size: clamp(2.5rem, 1.5rem + 4vw, 3.5rem);
    font-weight: bold;
    color: var(--secondary);
    line-height: 1;
}

.countdown-label {
    font-size: clamp(0.8rem, 0.6rem + 1vw, 1rem);
    color: var(--black);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Sessão de produtos */

.product-section {
    padding: 80px 6%;
}

.product-title {
    display: inline;
    width: 100%;
    font-size: clamp(2rem, 1rem + 3vw, 3.5rem);
}

.product-description {
    font-size: clamp(0.8rem, 0.6rem + 1vw, 1.3rem);
}

.wrapper-cards {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem; 
    flex-wrap: wrap; 
    margin-top: 3rem; 
}

.linha-vertical-card {
    width: 1px; 
    height: 100px; 
    background-color: #dddddd; 
}

.card1 {
    width: 25%;
}

.card2 {
    width: 25%;
}

.card3 {
    width: 25%;
}

.text-card {
    width: 100%;
}

.card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-content p, .card-content h3 {
    display: block;
}

.image-card {
    width: 60px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.products-scroll {
    width: 100%;
    padding: 80px 0;
    display: flex;
    gap: 20px; 
    overflow-x: scroll; 
    padding-bottom: 10px; 
    scroll-behavior: smooth; 
    position: relative;
    z-index: 2;

    scrollbar-width: thin;
    scrollbar-color: var(--secondary) #f1f1f1;
}

.product-item {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 320px;
    height: 180px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 16px;
    text-decoration: none;

    /* Alinha o item ao centro do container durante o snap */
    scroll-snap-align: center;
    flex-shrink: 0; /* Impede que os itens encolham */
}

.product-1 {
    background-image: url('../assets/images/scroll-coreano.jpg');
}

.product-2 {
    background-image: url('../assets/images/scroll-acessorios.webp');
}

.product-3 {
    background-image: url('../assets/images/scroll-cama.png');
}

.product-4 {
    background-image: url('../assets/images/scroll-make.jpg');
}
.product-5 {
    background-image: url('../assets/images/scroll-festa.jpg');
}
.product-6 {
    background-image: url('../assets/images/scroll-decoracao.jpg');
}


.product-item h3 {
    color: var(--white);
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5); 
    border-radius: 8px; 
    width: 100%;
    margin: 10px;
}

.products-scroll-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.scroll-btn {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.products-scroll::-webkit-scrollbar {
    height: 8px;
}

.products-scroll::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}

.products-scroll::-webkit-scrollbar-thumb {
    background-color: var(--secondary); 
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.products-scroll::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary); 
}

.scroll-btn:first-of-type {
    left: -20px;
}

.scroll-btn:last-of-type {
    right: -20px;
}

.divulgacao-produtos {
    padding-top: 80px;
}

.parent-products {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: minmax(240px, auto);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    grid-template-areas: 
        "banner1 banner1 banner3 banner4"
        "banner1 banner1 banner2 banner2";
}

.parent-products > div {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    transition: transform 0.3s ease;
}


.banner-1 { 
    grid-area: banner1; 
    background-image: url('../assets/images/divulgacao-1.jpg'); 
    transition: .5s ease-in-out;
}
.banner-2 { grid-area: banner2; background-image: url('../assets/images/divulgacao-2.jpg'); transition: .5s ease-in-out;}
.banner-3 { grid-area: banner3; background-image: url('../assets/images/divulgacao-3.jpg'); transition: .5s ease-in-out;}
.banner-4 { grid-area: banner4; background-image: url('../assets/images/divulgacao-4.jpg'); transition: .5s ease-in-out;}


.parent-products div a {
    color: var(--white);
}
.banner-1 {
    display: flex;
    justify-content: end;
    align-items: start;
    flex-direction: column;
    padding: 8% 10%;
}

.category {
    font-weight: bold;
    color: var(--white-10);
    font-family: "Dancing Script", cursive;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.title-category {
    color: var(--white);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 10px 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.521);
    word-break: break-word;
}

.description-category {
    color: var(--white-10);
    margin-bottom: 20px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.521);
}

.btn-category {
    background-color: var(--primary-transparent);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    transition: 1s all;
}

.btn-category:hover {
    background-color: var(--primary);
}

.banner-2 {
    display: flex;
    justify-content: end;
    align-items: start;
    flex-direction: column;
    padding: 8% 10%;
}

.banner-2 .category {
    font-weight: bold;
    color: var(--white-10);
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
}

.banner-2 h3 {
    font-weight: bold;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.521);
    font-size: clamp(1.5rem, 4vw, 2rem);
    word-break: break-word;
    margin: 5px 0 20px 0;
}

.banner-2 a {
    background-color: transparent;
    padding: 0;
}

.banner-2 a:hover {
    color: var(--secondary);
    background-color: transparent;
}

.banner-3 {
    padding: 10%;
}

.banner-3 .category {
    font-weight: bold;
    color: var(--white-10);
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
}


.banner-3 h3 {
    font-weight: bold;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    word-break: break-word;
    margin: 5px 0 10px 0;
}

.banner-3 a {
    background-color: transparent;
    padding: 0;
}

.banner-3 a:hover {
    background-color: transparent;
    color: var(--secondary);
}

.banner-3 p {
    color: var(--white-20);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    margin-bottom: 20px;
}

.banner-4 {
    padding: 10%;
}

.banner-4 .category {
    font-weight: bold;
    color: var(--white-10);
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
}

.banner-4 h3 {
    font-weight: bold;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin: 5px 0 10px 0;
}

.banner-4 p {
    color: var(--white-20);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    margin-bottom: 20px;
}

.banner-4 a {
    background-color: transparent;
    padding: 0;
}

.banner-4 a:hover {
    background-color: transparent;
    color: var(--secondary);
}

/* TUDO: sessão loja virtual */
.loja-virtual-section {
    padding: 80px 6%;
}

.wrapper-loja {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 3rem;
}

.loja-content {
    width: 50%;
    height: 400px;
    border-radius: 12px;
    padding: 2% 3%;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.loja-content:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-xl);
}

.loja-1 {
    background-image: url('../assets/images/loja-1.jpg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff2eb;
}

.border {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 5px solid var(--white);
}

.border h3 {
    font-size: 64px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.loja-2 {
    background-image: url('../assets/images/loja-2.jpg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #ffcfdd;
}

/* Lista de produtos */

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

.filters h2 {
    font-size: 24px;
}

.lista-produtos {
    display: grid;
    grid-template-columns: repeat(4 fr);
    grid-template-rows: auto;
}

.navegation-filters {
    justify-content:  space-around;
}

.btn-filter {
    background: transparent;
    border: none;
    margin: 0 20px;
    transition: border-bottom 0.3s;
}

.btn-filter:hover {
    color: var(--primary);
    border-bottom: 1px solid var(--primary); 
}

.btn-products {
    padding: 8px 18px;
    background-color: transparent;
    border: 1px solid #495057;
    border-radius: 8px;
    transition: .5s all;
}

.btn-products:hover {
    background-color: #495057;
    color: var(--white);
}

.lista-produtos {
    margin-top: 80px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; 
    margin-top: 2rem;
}

.product-card {
    background-color: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    position: relative;
    background-color: #f8f9fa; 
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
}

.hot-badge {
    background-color: var(--secondary);
}

.sale-badge {
    background-color: #34d399; 
}

/* Badge de contagem regressiva */
.countdown-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.countdown-badge span {
    font-size: 0.75rem;
    color: var(--black-80);
}

.countdown-badge .timer {
    font-weight: 600;
    color: var(--black);
    font-size: 1rem;
    letter-spacing: 1px;
}

.product-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #facc15;
    margin-bottom: 0.5rem;
}

.product-rating .review-count {
    color: #6b7280;
    margin-left: 0.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black-80);
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto; 
}

.product-price .old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.9rem;
}

.product-price .new-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* sessão localização */

.localizacao-section {
    padding: 80px 6%;
}

.wrapper-localizacao {
    display: flex; 
    align-items: flex-start; 
    gap: 2rem;
    margin-top: 3rem;
}

.localizacao-content {
    width: 50%; 
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.5rem; 
}

.localizacao-map {
    width: 50%;
}

.localizacao-map iframe {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.card-localizacao {
    background-color: var(--white);
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 180px;
}

.icon-animado {
    width: 50px;
}

.card-localizacao:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* sessão sobre */

.sobre-section {
    padding: 80px 6%;
}

.wrapper-sobre {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.accordion-menu {
    width: 50%;
	margin: 0;
    padding: 10px 20px 20px;
	border-radius: 5px;
}
.title-accordion {
	font-size: 18px;
	line-height: 34px;
	font-weight: 500;
	letter-spacing: 1px;
	display: block;
	margin: 0;
    cursor: pointer;
    color: #6c6c6a;
}

.text-accordion{
	color: rgba(48, 69, 92, 0.8);
	font-size: 15px;
	line-height: 26px;
	letter-spacing: 1px;
	position: relative;
	overflow: hidden;
	max-height: 800px;
	opacity: 1;
	transform: translate(0, 0);
	margin-top: 14px;
	z-index: 2;
}
.accordion-list {
	list-style: none;
	perspective: 900;
	padding: 0 20px 10px;
    margin: 0;
    background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2), 
	0 2px 2px 0 rgba(255, 255, 255, 0.19);
}
.accordion-list li {
	position: relative;
	padding: 0;
	margin: 0;
	padding-bottom: 4px;
	padding-top: 18px;
    border-top: 1px dotted #dce7eb;
}

.accordion-list li:nth-child(1){ border:none; }
.accordion-list li:nth-of-type(1) { animation-delay: 0.5s; }
.accordion-list li:nth-of-type(2) { animation-delay: 0.75s; }
.accordion-list li:nth-of-type(3) { animation-delay: 1.0s; }
.accordion-list li:last-of-type { padding-bottom: 0; }

.accordion-list li .arrow {
	position: absolute;
	transform: translate(-6px, 0);
	margin-top: 16px;
	right: 0;
}
.accordion-list li .fas{
	color:#f6483b;
	font-size: 15px;
	margin-right: 10px;
}
.accordion-list li .arrow:before, .accordion-list li .arrow:after {
	content: "";
	position: absolute;
	background-color: #f6483b;
	width: 3px;
	height: 9px;
}
.accordion-list li .arrow:before {
	transform: translate(-2px, 0) rotate(45deg);
}
.accordion-list li .arrow:after {
	transform: translate(2px, 0) rotate(-45deg);
}
.accordion-list li input[type=checkbox] {
	position: absolute;
	cursor: pointer;
	width: 100%;
	height: 100%;
    z-index: 1;    
    opacity: 0;
}
.accordion-list li input[type=checkbox]:checked ~ p {
	margin-top: 0;
	max-height: 0;
	opacity: 0;
	transform: translate(0, 50%);
}
.accordion-list li input[type=checkbox]:checked ~ .arrow:before {
	transform: translate(2px, 0) rotate(45deg);
}
.accordion-list li input[type=checkbox]:checked ~ .arrow:after {
	transform: translate(-2px, 0) rotate(-45deg);
}
.transition, .text-accordion, .accordion-list li .arrow:before, .accordion-list li .arrow:after {
	transition: all 0.25s ease-in-out;
}

.flipIn, h1, .accordion-list li {
	animation: flipdown 0.5s ease both;
}
.no-select, .title-accordion {
	-webkit-tap-highlight-color: transparent-products;
	-webkit-touch-callout: none;
	user-select: none;
}
@keyframes flipdown {
	0% {
		opacity: 0;
		transform-origin: top center;
		transform: rotateX(-90deg);
	}

	5% { opacity: 1; }

	80% { transform: rotateX(8deg); }

	83% { transform: rotateX(6deg); }

	92% { transform: rotateX(-3deg); }

	100% {
		transform-origin: top center;
		transform: rotateX(0deg);
	}
}
.about-image {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 1rem;
}

.image-about{   
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-about:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
    z-index: 5;
}

.about-img-1 {
    grid-area: 1 / 1 / 2 / 2;
}
.about-img-2 {
    grid-area: 1 / 2 / 3 / 3; 
}
.about-img-3 {
    grid-area: 2 / 1 / 3 / 2;
}

/* Botão Voltar ao Topo */
#back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

#back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* medias */

@media (max-width: 975px) {
    .hero-section {
        background-color: #f0f2f5; 
        justify-content: center;
        align-items: center;
        flex-direction: column-reverse;
        padding: 20px;
    }

    .hero-section::before {
        transform: rotate(90deg) scale(1.4); 
        flex-direction: column-reverse; 
        align-items: center;
        gap: 40px;
        padding: 40px 20px; 
    }

    .hero-content,
    .hero-ilustration {
        width: 100%;
    }

    .hero-content {
        padding: 0; 
        align-items: center; 
        text-align: center;
    }

    .hero-ilustration {
        max-width: 500px; 
    }

    .hero-actions {
        flex-direction: column;
        gap: 20px; 
    }

    .btn-hero {
        width: 100%;
        max-width: 350px; 
        justify-content: center;
    }
    .hero-arrow {
        margin: 20px 0;
        transform:rotate(60deg);
    }
}



@media (max-width: 768px) {
    .desktop-menu {
        display: none ; 
    }

    .header #btn-desktop {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    #btn-mobile {
        display: block;
    }

    .header {
        padding: 0 20px;
    }
    .hero-arrow {
        margin: 20px 0;
        transform:rotate(90deg);
    }
    
    .wrapper-localizacao {
        flex-direction: column;
        gap: 1.8rem; 
    }
    .localizacao-map, .localizacao-content {
        width: 100%;
    }

    .localizacao-map iframe {
        height: 300px;
    }

    .localizacao-content {
        gap: 1rem;
    }

    .wrapper-sobre {
        flex-direction: column-reverse;
    }

    .accordion-menu, .about-image {
        width: 100%;
    }

    .about-image {
        grid-template-rows: repeat(2, 180px);
    }

    .banner-1, .banner-2, .banner-3, .banner-4 {
        padding: 1.5rem;
        justify-content: center; 
    }

    .title-category, .banner-2 h3, .banner-3 h3, .banner-4 h3 {
        margin: 0.5rem 0 1rem 0; 
    }


    .parent-products {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
        height: auto;
        grid-template-areas: 
            "banner1 banner1"
            "banner2 banner2"
            "banner3 banner4";
    }

    .header.scrolled {
        background-color: var(--primary);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: none;
        box-shadow: var(--shadow-md);
    }
}


/* Footer */
.footer-light {
    background-color: #f8f9fa;
    color: #495057;
    padding: 60px 6% 20px;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col .logo {
    width: 80px;
    margin-bottom: 15px;
    height: auto;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #e9ecef;
    color: var(--primary);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s, color 0.3s;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--white);
}

.footer-col-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--black);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #495057;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    margin-top: 5px;
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-container {
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-contact li {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 575px) {
    .wrapper-cards {
        flex-direction: column;
        gap: 1.8rem; 
    }

    .card-box {
        width: 100%;
    }

    .linha-vertical-card  {
        display: none;
    }

    .product-item {
        width: 100%;
        height: 200px;
    }

    .localizacao-content {
        grid-template-columns: 1fr; 
    }

    .parent-products {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
        height: auto;
        grid-row-gap: 120px;
        
        grid-template-areas: 
            "banner1"
            "banner2"
            "banner3"
            "banner4";
    }

    .banner-1, .banner-3, .banner-4 {
        height: 300px;
        margin-bottom: 50px;
    }

    .countdown-container {
        gap: 1rem;
    }
    .countdown-item {
        width: 80px;
        height: 80px;
    }
    .countdown-number {
        font-size: 2rem;
    }
    .countdown-label {
        font-size: 0.7rem;
    }

    .wrapper-loja {
        flex-direction: column;
        gap: 1.8rem; 
    }

    .loja-content {
        width: 100%;
    }

    .filters {
        flex-direction: column;
        gap: 20px;
        margin-top: 80px;
}
}