/* FONTES */
@font-face {
    font-family: 'Open Sans';
    src: url('../assets/fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 300 800;
    font-stretch: 75% 125%;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../assets/fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 300 800;
    font-stretch: 75% 125%;
    font-style: italic;
}

@font-face {
    font-family: 'Orbitron';
    src: url('../assets/fonts/Orbitron-VariableFont_wght.ttf') format('truetype');
    font-weight: 400 900;
}

@font-face {
    font-family: 'Raleway';
    src: url('../assets/fonts/Raleway-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    src: url('../assets/fonts/Raleway-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}

/* Variáveis de Fonte */
:root {
    --font-orbitron: 'Orbitron', sans-serif;
    --fonte-titulos: 'Raleway', sans-serif;
    --font-textos: 'Open Sans', sans-serif;
}

body {
    background: linear-gradient(to right, #1b263b, #415a77, #1b263b);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fonte-titulos);
}

p {
    font-family: var(--font-textos), Helvetica, sans-serif;
}

/* ANIMAÇÃO DE ROLAGEM DA PÁGINA */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---- PÁGINA INICIAL DO SITE INDEX.HTML ---- */

/* HEADER */
header {
    width: 100%;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    background: linear-gradient(90deg, rgba(26, 27, 27, 1) 15%, rgba(10, 23, 33, 0.8) 47%, rgba(22,68,102,0.9) 92%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.logo img {
    width: 100%;
    height: auto;
    max-height: 60px;
}

/* Menu Desktop */
.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li a {
    font-family: var(--font-textos);
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    transition: 0.5s;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 5px;
    color: #333;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.5s ease;
}

.nav-link:hover::after {
    width: 90%;
}

/* MENU HAMBURGUER */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Estilo do menu hambúrguer para mobile */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 10px;
        background: #333;
        width: 150px;
        border-radius: 5px;
    }

    .menu.active {
        display: flex;
    }

    .menu ul {
        flex-direction: column;
        padding: 10px;
        gap: 5px;
    }

    .menu li {
        margin: 5px 0;
    }

    .menu li a {
        font-family: var(--font-textos);
        padding: 1rem;
        display: inline-block;
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    form.search-container {
        display: none;
    }
}

/* Hero INDEX.HTML */
.hero-container {
    background-image: url(../assets/images/images-conceitual/iamodificada3.png);
    box-shadow: inset 0 80px 100px rgba(0, 0, 0, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 80px auto 15px auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.hero {
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 900;
    color: #fff;
}

.hero p {
    font-size: 1rem;
}

.btn {
    font-family: var(--font-textos);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 3px;
    display: inline-block;
    padding: 0.75rem 1rem;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    width: 80%;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    animation: blink 2s ease-out infinite;
    transition: background-color ease-out 0.5s;
}

@keyframes blink {
    0%, 100% {
        background-color: #0a68cd;
    }
    50% {
        background-color: #082739;
    }
}

/* Estilo do Carrossel / INDEX.HTML */
.carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    position: relative;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 500px;
}

.carousel-slide picture,
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(0, 123, 255, .4);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    transform: none;
}

.prev-btn { left: 2px; }
.next-btn { right: 2px; }

@media (max-width: 1024px) {
    .carousel-slide {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        height: 500px;
    }
}

@media (max-width: 425px) {
    .carousel-slide {
        height: 500px;
    }
}

/* ÁREA DE ÍCONES / INDEX.HTML */
.features {
    padding: 5px;
}

.features ul {
    text-align: center;
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    gap: 15px;
}

.feature-container {
    border: 1px solid #007BFF;
    border-radius: 20px;
    padding: 20px;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0px 4px 6px rgb(0, 0, 0, 1);
}

.icon {
    height: 50px;
}

.text-box {
    display: flex;
    flex-direction: column;
}

.title {
    color: #fff;
    font-family: var(--fonte-titulos);
    font-size: 15px;
}

.text-box p {
    color: #ccc;
    font-family: var(--font-textos);
    font-size: 12px;
    margin: 5px 0 0;
}

@media (max-width: 768px) {
    .features ul {
        flex-direction: column-reverse;
    }

    .feature {
        width: 100%;
    }

    .feature-container {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        width: 100%;
        padding: 5px;
    }

    .icon {
        height: 30px;
    }
}

/* SOBRE A EMPRESA / INDEX.HTML */
.sobre-section {
    padding: 20px;
    width: 90%;
    margin: 25px auto 0 auto;
    color: #fff;
    text-align: center;
}

.sobre-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.sobre-flex {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.sobre-card {
    overflow-x: hidden;
    width: 100%;
    border-radius: 15px;
    border: 1px solid #082739;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 40px;
    flex-direction: row;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sobre-card--right {
    flex-direction: row-reverse;
}

.sobre-img-wrapper {
    flex: 1;
    max-width: 500px;
}

.sobre-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.sobre-content {
    flex: 1;
}

.sobre-tema {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.sobre-texto {
    padding: 3px;
    font-size: .9rem;
    line-height: 1.4;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .sobre-section {
        max-width: 100%;
        padding: 0 15px;
    }

    .sobre-texto {
        font-size: .8rem;
    }

    .sobre-card,
    .sobre-card--right {
        flex-direction: column;
        text-align: center;
    }

    .sobre-img-wrapper {
        max-width: 100%;
    }

    .sobre-img {
        max-width: 100%;
    }
}

/* BANNER TERAPEUTA */
.terapeutic-section {
    margin: 20px auto;
    padding: 5px;
}

.terapeutic-card {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.terapeutic-wrapper {
    flex: 1;
}

.terapeutic-responsive {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* FEEDBACKS INDEX.HTML */
.clientes-section {
    max-width: 1200px;
    margin: 50px auto;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2);
}

.feedbacks-section {
    padding: 40px 20px;
    text-align: center;
}

.feedbacks-section h3 {
    font-size: 28px;
    margin: 0 0 30px;
    color: #fff;
}

.feedbacks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.feedback-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s;
    max-width: 300px;
    margin: 0 auto;
}

.feedback-card:hover {
    transform: translateY(-5px);
}

.feedback-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
}

.feedback-card h4 {
    font-size: 20px;
    margin: 0 0 5px;
    color: #333;
}

.feedback-role {
    font-size: 14px;
    color: #0056b3;
    margin: 0 0 5px;
    font-weight: bold;
}

.feedback-location {
    font-size: 14px;
    color: #555;
    margin: 0 0 10px;
}

.feedback-text {
    font-size: 16px;
    color: #333;
    font-style: italic;
}

.feedback-instagram {
    display: inline-flex;
    align-items: center;
    color: #0056b3;
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.3s;
}

.feedback-instagram:hover {
    color: #007BFF;
}

.feedback-instagram svg {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    fill: currentColor;
}

/* Media Queries */
@media (max-width: 900px) {
    .feedbacks-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 500px) {
    .clientes-section {
        padding: 15px;
    }

    .feedbacks-section h3 {
        font-size: 24px;
    }

    .feedback-card {
        padding: 15px;
        max-width: 250px;
    }

    .feedback-img {
        width: 80px;
        height: 80px;
    }

    .feedback-card h4 {
        font-size: 18px;
    }

    .feedback-text {
        font-size: 14px;
    }

    .feedback-role, .feedback-location, .feedback-instagram {
        font-size: 12px;
    }
}

@media (max-width: 350px) {
    .feedbacks-section h3 {
        font-size: 20px;
    }

    .feedback-img {
        width: 70px;
        height: 70px;
    }

    .feedback-card {
        max-width: 200px;
    }
}

/* SEÇÃO DE TECNOLOGIAS INDEX.HTML */
.products-section {
    padding: 0px 20px;
    text-align: center;
}

.products-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}

.products-section .section-description {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #fff;
}

.quality {
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

.carousel-container {
    background-image: url(../assets/images/images-conceitual/iamodificada3.png);
    background-size: cover;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid #046288;
    box-shadow: -10px 14px 16px rgb(0, 0, 0, 1);
}

.carousel-track-container {
    overflow: hidden;
    max-width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
    width: 100%;
}

.card {
    min-width: 100%;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, .4);
}

.card-icon {
    height: 150px;
    margin-bottom: 15px;
}

.card-icon img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.card h3 {
    margin: 20px 0 10px;
    color: #fff;
    font-size: 1.5em;
    font-family: var(--font-orbitron);
    text-shadow: 
        -3px -3px 0 black,
        3px -3px 0 black,
        -3px 3px 0 black,
        3px 3px 0 black;
}

.card p {
    color: #fff;
    font-size: 1em;
    line-height: 20px;
    margin-bottom: 20px;
    font-family: var(--font-textos);
    text-shadow: 
        -2px -2px 0 black,
        2px -2px 0 black,
        -2px 2px 0 black,
        2px 2px 0 black;
}

.card a {
    color: #007BFF;
    text-decoration: none;
    text-transform: uppercase;
    background-color: #11161d;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.carousel-container .carousel-prev {
    left: 10px;
}

.carousel-container .carousel-next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel-prev, .carousel-next {
        display: none;
    }
}

/* ----- LOJA.HTML ----- */

/* Campo de busca */
.search-container {
    display: flex;
    gap: 5px;
    align-items: center;
    font-family: var(--font-textos);
}

#searchInput {
    padding: 5px;
    border: none;
    border-radius: 5px;
}

button {
    border: none;
    padding: 5px;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid #046288;
    border-radius: 15px;
}

/* FILTROS DA LOJA / LOJA.HTML */
.filter-buttons {
    text-align: center;
    margin: 150px 0 0 0;
}

.filter-buttons legend {
    color: #ccc;
    font-size: 1.2rem;
    font-family: var(--fonte-titulos);
}

.filter-buttons button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    background-color: #11161d;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.5s;
}

/* Media queries da loja */
@media (max-width: 768px) {
    .product-card {
        transform: none;
    }
}

.filter-buttons button:hover {
    background-color: #007bff;
}

/* GRID RESPONSIVO (Flexbox) */
.products-container {
    margin: 20px auto 10px auto;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

/* CARD DE PRODUTO */
.product-card {
    margin: 15px 10px 10px 10px;
    background: #ccc;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0px 4px 6px rgb(0, 0, 0);
    max-width: 300px;
    width: 100%;
    transition: transform 0.5s;
}

.product-card:hover {
    box-shadow: 0px 14px 16px rgb(0, 0, 0);
    transform: scale(1.1);
}

.product-link {
    text-decoration: none;
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.product-card h2 {
    color: #000;
    margin: 10px 0;
    font-size: 1.2rem;
}

data {
    font-family: var(--font-textos);
}

.product-card p {
    font-size: 1rem;
    color: #555;
}

.product-card .price {
    font-family: var(--font-textos);
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    margin-top: 10px;
    display: block;
}

.contact-links a {
    color: white;
    margin: 0 0.5rem;
    text-decoration: none;
}

/* ----- ARQUIVO PRODUTO.HTML ----- */

/* Navegação SETA de volta PRODUTO.HTML */
.back-nav {
    position: absolute;
    top: 20px;
    left: 1px;
    z-index: 1;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-btn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.back-btn svg {
    width: 20px;
    height: 20px;
}

/* Garante que o botão não sobreponha o modal */
.buy-modal[style*="display: flex"] ~ .back-nav {
    z-index: 998;
}

/* Responsividade */
@media (max-width: 768px) {
    .back-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 500px) {
    .back-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* LAYOUT DO PRODUTO */
.container {
    opacity: 0;
    transition: opacity 0.3s ease;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 100px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.container.loaded {
    opacity: 1;
}

#spinner {
    display: none; /* Escondido por padrão */
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6); /* Fundo menos opaco */
    z-index: 500; /* Menor que o modal */
}

#spinner::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #007bff;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Spinner pequeno no modal */
.modal-spinner {
    display: none;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0056b3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3100; /* Acima do modal-content */
}

.modal-spinner.active {
    display: block;
}

.gallery {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image {
    width: 100%;
    max-width: 600px;
}

.main-image img {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.thumbs {
    border-top: 2px solid #ccc;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.thumbs img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s;
}

.thumbs img:hover {
    transform: scale(1.1);
}

.info {
    flex: 1;
    min-width: 0;
    padding: 20px;
}

.info h2 {
    color: #000;
    margin: 0 0 10px;
    font-size: 28px;
}

.price {
    font-size: 32px;
    color: #000;
    font-weight: bold;
    margin: 10px 0;
}

.description {
    font-size: 18px;
    color: #333;
}

/* POP UP DE COMPARTILHAMENTO */
@media (min-width: 769px) {
    .share-button {
        display: none;
    }
}

@media (min-width: 769px) {
    .share-button-desktop {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        margin-left: 10px;
    }

    .share-button-desktop:hover {
        background-color: #0056b3;
    }
}

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

.share-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500; /* Maior que o spinner, menor que o modal */
    align-items: center;
    justify-content: center;
}

.share-popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.share-popup-content h3 {
    margin-top: 0;
    font-size: 18px;
    text-align: center;
    font-family: Helvetica, Arial, sans-serif;
}

.close-share-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
}

.share-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-family: Helvetica, Arial, sans-serif;
}

.share-option img {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-link input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    cursor: text;
    font-family: Helvetica, Arial, sans-serif;
}

.copy-link-btn {
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: Helvetica, Arial, sans-serif;
}

.copy-link-btn:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .share-popup {
        display: none !important;
    }
}

/* BOTÃO DE COMPRA */
.buy-btn {
    background: #0056b3;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    transition: 0.5s;
    font-size: 18px;
    border-radius: 5px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 200px;
}

.buy-btn:hover {
    background: #007BFF;
}

.details {
    flex: 1;
    min-width: 0;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.details h2 {
    margin: 0 0 15px;
    font-size: 24px;
    color: #000;
    font-family: var(--fonte-titulos);
}

.details ul {
    padding-left: 20px;
    color: #555;
    font-family: var(--font-textos);
    margin-bottom: 20px;
}

/* Estilo da caixa de vídeo */
.product-video {
    width: 100%;
    max-width: 560px;
}

.product-video iframe {
    width: 100%;
    height: 315px;
    border-radius: 8px;
}

/* Modal de redirecionamento */
.buy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 3000; /* Maior que tudo, exceto lightbox */
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    min-height: 200px; /* Garante espaço pro spinner */
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.modal-content p {
    font-size: 16px;
    color: #333;
    margin: 10px 0 20px;
}

.modal-continue-btn {
    background: #0056b3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.modal-continue-btn:hover {
    background: #007BFF;
}

.modal-continue-btn.loading {
    display: none;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    z-index: 3200; /* Acima do modal-spinner */
}

/* Spinner redundante desativado */
.spinner {
    display: none !important; /* Desativado, já que #spinner é usado */
}

/* Media Queries */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .gallery {
        width: 100%;
        max-width: 600px;
    }

    .thumbs {
        margin-top: 10px;
        gap: 8px;
    }

    .main-image img {
        min-height: 250px;
        max-height: 500px;
    }

    .thumbs img {
        width: 95px;
        height: 95px;
    }

    .info, .details {
        width: 100%;
        max-width: 600px;
    }

    .product-video iframe {
        height: 250px;
    }

    .buy-modal iframe {
        height: 400px;
    }
}

@media (max-width: 500px) {
    .container {
        margin: 100px 5px;
        padding: 10px;
    }

    .main-image img {
        padding: 15px;
        min-height: 250px;
        max-height: 400px;
    }

    .thumbs {
        margin-top: 8px;
        gap: 5px;
    }

    .info {
        padding: 10px;
    }

    .price {
        font-size: 28px;
    }

    .buy-btn {
        font-size: 16px;
        padding: 10px;
    }

    .details {
        padding: 10px;
    }

    .product-video iframe {
        height: 200px;
    }

    .modal-content {
        width: 95%;
        padding: 15px;
        min-height: 150px;
    }

    .modal-spinner {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }
}

@media (max-width: 350px) {
    .container {
        margin: 100px 5px;
        padding: 5px;
    }

    .main-image img {
        min-height: 250px;
        max-height: 400px;
    }

    .thumbs {
        margin-top: 5px;
        gap: 4px;
    }

    .info, .details {
        padding: 5px;
    }

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

    .price {
        font-size: 24px;
    }

    .description {
        font-size: 16px;
    }

    .buy-btn {
        font-size: 14px;
        padding: 8px;
    }

    .details h2 {
        font-size: 20px;
    }

    .details ul {
        font-size: 14px;
    }

    .product-video iframe {
        height: 180px;
    }

    .modal-content p {
        font-size: 14px;
    }

    .modal-continue-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 4000; /* Maior que buy-modal */
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

/* ESTILO DE POLÍTICAS E PRIVACIDADE DA EMPRESA / TERMOS DE USO / NOSSA MISSÃO, SUSTENTABILIDADE */
.privacy-content {
    margin-top: 50px;
    padding: 2rem 0;
    line-height: 1.6;
    font-family: Arial, Helvetica, sans-serif;
}

.privacy-container {
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.privacy-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.privacy-container h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem;
}

.privacy-container p {
    margin-bottom: 1rem;
}

.privacy-container ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.privacy-container a {
    color: #ccc;
    background-color: #0056b3;
}

.privacy-container-back-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background-color: #0a68cd;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.privacy-container-back-link {
    color: #fff;
}

.back-link:hover {
    background: #0056b3;
    text-decoration: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .privacy-container nav, .privacy-container ul {
        flex-direction: column;
        align-items: center;
    }

    .privacy-container h1 {
        font-size: 1.8rem;
    }

    .privacy-container h2 {
        font-size: 1.3rem;
    }
}

/* Suporte Trandertech SUPPORT.HTML */
.support-trandertech {
    padding: 5px;
    margin: 100px auto;
    max-width: 1200px;
}

.support__title {
    font-family: var(--font-textos);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 12px;
    color: #fff;
}

details {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

summary {
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    font-family: var(--fonte-titulos);
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

summary:hover {
    background-color: #e0e0e0;
}

details[open] summary {
    background-color: #007BFF;
    color: #fff;
}

.answer {
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    line-height: 1.6;
    color: #555;
    font-family: var(--font-textos);
}

/* Footer */
.trandertech-footer {
    margin-top: 100px;
    width: 100%;
    color: #fff;
}

.footer-section {
    padding: 5px;
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 1s ease-in;
}

h4 {
    font-size: clamp(1.5em, 5vw, 1.8em);
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-family: var(--font-textos);
    font-size: clamp(0.9em, 3vw, 1em);
    color: #ddd;
    text-align: left;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: clamp(0.9em, 3vw, 1em);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

input:focus,
textarea:focus {
    outline: none;
    background: #fff;
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    margin-top: 10px;
    padding: 12px;
    background: #0056b3;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: clamp(1em, 3.5vw, 1.1em);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

button:hover {
    background: #007BFF;
    transform: translateY(-2px);
}

.success-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0056b3;
    color: #fff;
    padding: clamp(15px, 5vw, 20px) clamp(30px, 8vw, 40px);
    border-radius: 10px;
    font-size: clamp(1em, 4vw, 1.2em);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: popIn 0.5s ease, fadeOut 0.5s ease 2s forwards;
    z-index: 1000;
    text-align: center;
}

#form-iframe {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; display: none; }
}

@media (max-width: 600px) {
    .footer-section {
        width: 95%;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        padding: 10px;
    }

    button {
        padding: 10px;
    }
}

/* INFORMAÇÕES ADICIONAIS DO FOOTER */
.footer-info-area {
    background-color: rgba(0, 0, 0, .6);
    padding: 30px 20px;
    margin-top: 40px;
    color: #fff;
    font-family: Arial, sans-serif;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h5, h2 {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f4f4f4;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 6px 0;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95em;
}

.footer-col ul li a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 30px;
}

.social-icons img {
    width: 35px;
}

.selo {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.selo img {
    max-width: 60%;
}

.footer-copy {
    text-align: center;
    font-size: 0.85em;
    color: #aaa;
    margin-top: 20px;
}

.footer-copy a {
    color: #aaa;
    text-decoration: underline;
}

/* Responsivo */
@media (min-width: 768px) {
    .footer-info {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-col {
        max-width: 30%;
    }

    .selo {
        text-align: left;
    }
}