@import url('https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900');

/* ========================================
   RESET E CONFIGURAÇÃO BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Melhorias para touch devices */
@media (hover: none) and (pointer: coarse) {
    .action-btn,
    .carousel-btn,
    .modal-btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .action-btn:active,
    .carousel-btn:active,
    .modal-btn:active {
        transform: scale(0.95);
    }
}

/* ========================================
   CONTAINER PRINCIPAL
   ======================================== */
.showcase-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* ========================================
   COLUNA ESQUERDA - LOGO
   ======================================== */
.left-column {
    width: 45%;
    background-color: #737373;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: center;
}

.company-logo {
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.company-name {
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
}

.line {
    width: 180px;
    background: #535353;
    height: 2px;
    margin-bottom: 30px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 280px;
}

.action-btn {
    background: #A1356E;
    color: #FBA719;
    padding: 18px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 0;
    font-family: 'Montserrat', sans-serif;
}

.catalog-btn {
    border: transparent;
}

.whatsapp-btn {
    border: 0;
}

.info-btn {
    border: 0;
}

.action-btn:hover {
    background: #FBA719;
    color: #A1356E;
    transform: translateY(-2px);
}


/* ========================================
   COLUNA DIREITA - CARROSSEL
   ======================================== */
.right-column {
    width: 55%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* ========================================
   CARROSSEL
   ======================================== */
.carousel-container {
    width: 80%;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   CARD DO PRODUTO
   ======================================== */
.product-card {
    position: absolute;
    width: 80%;
    max-width: 480px;
    height: 90%;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 30px;
    opacity: 0;
    transform: translateX(100px) scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.product-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
    z-index: 10;
}

.product-card.prev {
    opacity: 0.3;
    transform: translateX(-100px) scale(0.7);
    z-index: 5;
}

.product-card.next {
    opacity: 0.3;
    transform: translateX(100px) scale(0.7);
    z-index: 5;
}

.product-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    background: #f8f8f8;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    flex: 0 0 auto;
    text-align: center;
    padding: 20px 0;
}

.product-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    /* Truncate simples e efetivo */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.product-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 300px;
}

/* Garantir truncate nos títulos dos produtos */
.product-card .product-title,
.product-info h3 {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

/* ========================================
   CONTROLES DO CARROSSEL
   ======================================== */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    padding: 20px 0;
}

/* ========================================
   BOTÕES DE NAVEGAÇÃO
   ======================================== */
.carousel-btn {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 20;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.carousel-btn:hover,
.carousel-btn:active {
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

/* Touch device specific styles */
@media (hover: none) and (pointer: coarse) {
    .carousel-btn {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
    
    .carousel-btn:active {
        transform: scale(0.95);
        background: #f0f0f0;
    }
}

/* ========================================
   INDICADORES
   ======================================== */
.carousel-indicators {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #737373;
    transform: scale(1.4);
}

.indicator:hover {
    background: #555;
    transform: scale(1.2);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 1200px) {
    .prev-btn {
        left: -60px;
    }
    
    .next-btn {
        right: -60px;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 968px) {
    body {
        overflow: auto;
    }
    
    .showcase-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .left-column {
        width: 100%;
        height: auto;
        min-height: 35vh;
        padding: 20px;
    }
    
    .right-column {
        width: 100%;
        height: auto;
        min-height: 65vh;
    }
    
    .logo-container {
        padding: 30px 20px;
    }
    
    .company-logo {
        max-width: 150px;
        max-height: 80px;
    }
    
    .company-name {
        font-size: 28px;
        margin: 15px 0;
    }
    
    .action-buttons {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .action-btn {
        padding: 12px 20px;
        font-size: 12px;
        min-width: 140px;
    }
    
    .carousel-container {
        height: 100%;
        padding: 20px 10px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}

@media (max-width: 768px) {
    body {
        overflow: auto;
        height: auto;
        min-height: 100vh;
    }
    
    .showcase-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .left-column {
        width: 100%;
        height: auto;
        min-height: 50vh;
        padding: 20px 15px;
    }
    
    .right-column {
        width: 100%;
        height: auto;
        min-height: 50vh;
        padding: 20px 15px;
    }
    
    .logo-container {
        padding: 30px 20px;
        height: auto;
    }
    
    .company-logo {
        max-height: 70px;
        margin-bottom: 15px;
    }
    
    .company-name {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .line {
        width: 150px;
        margin-bottom: 25px;
    }
    
    .action-buttons {
        max-width: 320px;
        gap: 12px;
    }
    
    .action-btn {
        padding: 16px 20px;
        font-size: 14px;
        font-weight: 600;
    }
    
    .carousel-container {
        width: 100%;
        height: auto;
        min-height: 400px;
        padding: 20px 10px;
    }
    
    .carousel-wrapper {
        height: 350px;
        margin-bottom: 15px;
    }
    
    .product-card {
        width: 95%;
        max-width: 400px;
        height: 85%;
        padding: 20px;
    }
    
    .product-title {
        font-size: 20px;
        max-height: 2.6em;
        line-height: 1.3;
    }
    
    .product-description {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .carousel-indicators {
        position: relative;
        bottom: auto;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .showcase-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .left-column {
        width: 100%;
        height: auto;
        min-height: 45vh;
        padding: 15px 10px;
    }
    
    .right-column {
        width: 100%;
        height: auto;
        min-height: 55vh;
        padding: 15px 10px;
    }
    
    .logo-container {
        padding: 20px 15px;
        height: auto;
    }
    
    .company-logo {
        max-width: 120px;
        max-height: 60px;
        margin-bottom: 12px;
    }
    
    .company-name {
        font-size: 24px;
        margin: 12px 0 18px 0;
    }
    
    .line {
        width: 120px;
        margin-bottom: 20px;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 10px;
    }
    
    .action-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 13px;
        font-weight: 700;
        min-width: auto;
        border-radius: 4px;
    }
    
    .carousel-container {
        width: 100%;
        height: auto;
        min-height: 350px;
        padding: 15px 5px;
    }
    
    .carousel-wrapper {
        height: 300px;
        margin-bottom: 10px;
    }
    
    .product-card {
        padding: 15px;
        width: 98%;
        max-width: none;
        height: 90%;
        margin: 0 auto;
    }
    
    .product-image {
        height: 180px;
        margin-bottom: 12px;
    }
    
    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }
    
    .product-title {
        font-size: 18px;
        margin-bottom: 8px;
        max-height: 2.4em;
        line-height: 1.3;
    }
    
    .product-description {
        font-size: 13px;
        line-height: 1.4;
        overflow: hidden;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .prev-btn {
        left: 5px;
    }
    
    .next-btn {
        right: 5px;
    }
    
    .carousel-indicators {
        position: relative;
        bottom: auto;
        margin-top: 10px;
        gap: 8px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* Extra Small Devices (320px and down) */
@media (max-width: 320px) {
    .left-column {
        min-height: 40vh;
        padding: 10px 8px;
    }
    
    .right-column {
        min-height: 60vh;
        padding: 10px 5px;
    }
    
    .logo-container {
        padding: 15px 10px;
    }
    
    .company-logo {
        max-width: 100px;
        max-height: 50px;
        margin-bottom: 10px;
    }
    
    .company-name {
        font-size: 20px;
        margin: 10px 0 15px 0;
    }
    
    .line {
        width: 100px;
        margin-bottom: 15px;
    }
    
    .action-buttons {
        max-width: 280px;
        gap: 8px;
    }
    
    .action-btn {
        padding: 12px 16px;
        font-size: 11px;
        font-weight: 600;
    }
    
    .carousel-container {
        width: 100%;
        height: auto;
        min-height: 320px;
        padding: 10px 3px;
    }
    
    .carousel-wrapper {
        height: 280px;
        margin-bottom: 8px;
    }
    
    .product-card {
        width: 99%;
        height: 95%;
        padding: 12px;
    }
    
    .product-image {
        height: 160px;
        margin-bottom: 10px;
    }
    
    .product-title {
        font-size: 16px;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .product-description {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .carousel-controls {
        padding: 10px 0;
        gap: 20px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .carousel-indicators {
        margin-top: 8px;
        gap: 6px;
    }
    
    .indicator {
        width: 6px;
        height: 6px;
    }
}

/* Very small devices - Galaxy Fold, etc. */
@media (max-width: 280px) {
    .left-column {
        min-height: 35vh;
        padding: 8px 5px;
    }
    
    .right-column {
        min-height: 65vh;
        padding: 8px 3px;
    }
    
    .company-logo {
        max-width: 80px;
        max-height: 40px;
    }
    
    .company-name {
        font-size: 18px;
        margin: 8px 0 12px 0;
    }
    
    .line {
        width: 80px;
        margin-bottom: 12px;
    }
    
    .action-btn {
        padding: 10px 14px;
        font-size: 10px;
    }
    
    .carousel-container {
        min-height: 300px;
        padding: 8px 2px;
    }
    
    .carousel-wrapper {
        height: 260px;
    }
    
    .product-card {
        padding: 10px;
    }
    
    .product-image {
        height: 140px;
        margin-bottom: 8px;
    }
    
    .product-title {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .product-description {
        font-size: 11px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
   ======================================== */

/* Landscape mode for mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
    .showcase-container {
        flex-direction: row;
        height: 100vh;
    }
    
    .left-column {
        width: 40%;
        height: 100vh;
        min-height: auto;
        padding: 15px 10px;
    }
    
    .right-column {
        width: 60%;
        height: 100vh;
        min-height: auto;
        padding: 15px 10px;
    }
    
    .logo-container {
        padding: 15px 10px;
    }
    
    .company-logo {
        max-height: 50px;
        margin-bottom: 10px;
    }
    
    .company-name {
        font-size: 20px;
        margin: 8px 0 12px 0;
    }
    
    .line {
        width: 100px;
        margin-bottom: 15px;
    }
    
    .action-buttons {
        gap: 8px;
        max-width: 200px;
    }
    
    .action-btn {
        padding: 10px 15px;
        font-size: 11px;
    }
    
    .carousel-container {
        height: 90%;
        min-height: auto;
    }
    
    .carousel-wrapper {
        height: 80%;
    }
    
    .product-card {
        height: 85%;
        padding: 15px;
    }
    
    .product-image {
        height: 60%;
    }
    
    .product-title {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .product-description {
        font-size: 12px;
    }
}

/* ========================================
   MODAL DE INFORMAÇÕES
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 2px;
    max-width: 640px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px;
    border-bottom: 1px solid #e5e5e5;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #535353;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 2px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #535353;
}

.modal-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

/* About Modal Specific Styles */
.about-modal-content {
    max-width: 840px;
    width: 90%;
}

.about-modal-body {
    display: flex;
    flex-direction: column;
}

.about-hero-image {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 2px;
}

.about-title {
    color: #A1356E;
    font-size: 18px;
    font-weight: 800;
    text-align: left;
    margin-bottom: 25px;
    line-height: 1.3;
    border-bottom: 3px solid #FBA719;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.about-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.about-text {
    flex: 2;
    font-size: 14px;
    line-height: 1.6;
    color: #535353;
    text-align: justify;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text strong {
    color: #A1356E;
    font-weight: 600;
}

.about-gallery {
    text-align: center;
}

.gallery-image {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 2px;
}

.about-brasil {
    text-align: left;
    margin-top: 20px;
}

.brasil-title {
    color: #A1356E;
    font-size: 20px;
    font-weight: 800;
    text-align: left;
    margin-bottom: 35px;
    line-height: 1.3;
    border-bottom: 3px solid #FBA719;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.about-contact {
    text-align: center;
    padding: 28px;
}

.about-contact h3 {
    font-size: 24px;
    font-weight: 600;
    color: #535353;
    margin-bottom: 12px;
}

.about-contact p {
    font-size: 16px;
    color: #535353;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-contact-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-contact-buttons .modal-btn {
    min-width: 140px;
}

.modal-btn {
    padding: 15px 20px;
    border: none;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    color: white;
    justify-content: center;
}

.modal-btn.primary-btn {
    background-color: #A1356E;
}

.modal-btn.primary-btn:hover {
    background-color: #8B2D5F;
    transform: translateY(-1px);
}

.modal-btn.secondary-btn {
    background-color: #535353;
}

.modal-btn.secondary-btn:hover {
    background-color: #404040;
    transform: translateY(-1px);
}

/* Responsividade do Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body,
    .about-contact {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .about-title,
    .brasil-title {
        font-size: 16px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-text {
        font-size: 13px;
    }
    
    .about-contact h3 {
        font-size: 20px;
    }
    
    .about-contact p {
        font-size: 14px;
    }
    
    .about-contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .modal-header,
    .modal-body,
    .about-contact {
        padding: 15px;
    }
    
    .gallery-image {
        max-width: 280px;
    }
    
    .about-title,
    .brasil-title {
        font-size: 15px;
    }
}
