@font-face {
    font-family: 'PlacardNext';
    src: url('../fonts/PlacardNextBold.TTF') format('truetype');
}

/* ========== Reset e Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}


/* ========== Cores da Marca ========== */
:root {
    --brand-red: #DC2626;
    --brand-red-dark: #B91C1C;
    --brand-dark: #111827;
    --brand-darker: #030712;
    --brand-form: #910e10;
    --brand-footer: #e6e6e6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* ========== Container ========== */
.container {
    width: 70%;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-narrow {
    width: 70%;
    margin: 0 auto;
}

.container-form {
    width: 70%;
    margin: 0 auto;
    padding: 0 1rem;
}

.product-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========== Hero Section ========== */
.kadesh-menu{
    background-color: #910e10;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.kadesh-logo{
    width: 180px;
    height: auto;
}

.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(255, 255, 255, 0)), url(../assets/imagem-topo.webp);
    background-size: cover;
    background-position: center;
    width: 100%;
}

.hero-content {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    max-width: 48rem;
    text-align: center;
    color: #ffffff;
    padding: 4rem 0;
}

.hero-title {
    font-family: 'PlacardNext', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.hero-subtitle {

    margin-top: 1.5rem;
    font-size: 1.5rem;
    color: #e5e7eb;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* ========== Botões ========== */
.btn {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--brand-form);
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background-color: var(--brand-red-dark);
    transform: translateY(-2px);
}

.btn-large {
    margin-top: 2.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 5px;
    border-radius: 5px;
}

.btn-medium {
    width: 50%;
    padding: 0.75rem 1.5rem;
    font-size: 1.2rem;
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.5);
}

/* ========== Authority Section ========== */
.authority-section {
    position: relative;
    margin-top: -6rem;
    z-index: 10;
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card-authority {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--gray-50);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-authority-icon {
    width: 8rem;
    height: 8rem;
    border-radius: 0;
    flex-shrink: 0;
}


.card-authority-text {
    margin-top: 0.5rem;
    font-size: 1.5rem;
    color: #000000;
    font-weight: 400;
}

/* ========== Industry Section ========== */
.industry-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.industry-grid {
    display: grid;
    align-items: center;
}

.industry-title {
    text-align: center;
    font-size: 3rem
}

.section-title-large {
    font-size: 50px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    color: #000000;
}

.text-brand-red {
    font-style: bold;
    color: #931214;
}

.text-head-red{
    color: #ffffff;
    background-color: #910e10;
}

.industry-content {
    text-align: center;
}

.industry-text {
    font-size: 1.25rem;
    color: #000000;
    font-weight: 400;
}

.text-bold {
    font-weight: 700;
    color: var(--gray-900);
}

/* ========== Categories Grid ========== */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.category-card {
    position: relative;
    height: 24rem;
    overflow: hidden;
    border-radius: 0;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.5), transparent);
}

.category-content {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.category-title {
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== Products Section ========== */
.nossos-produtos-header {
    width: 100%;
    background-color: #e6e6e6;
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.products-section {
    padding: 4rem 0;
      background: linear-gradient(
    to bottom,
    #e6e6e6 0%,
    #e6e6e6 70%,
    #ffffff 70%,
    #ffffff 100%
  );
}

.section-header {
    width: 100%;
    background-color: #e6e6e6;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gray-900);
}

.section-description {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--gray-600);
}

.kadesh-best-left {
    text-align: left;
}

.section-header-left {
    width: 90%;
    background-color: #ffffff;
    text-align: left;
    margin-top: 4rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.kadesh-best-left-section {
    text-align: left;
}



.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.product-card {
    position: relative;
    height: 24rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}



.product-title {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* ========== Benefits Section ========== */
.benefits-section {
    padding: 4rem 0;
    background-color: var(--gray-100);
    background-color: #e6e6e6;
}

.benefits-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto;
}

.benefit-title {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #000000;
}

.benefit-text {
    margin-top: 0.5rem;
    color: #000000;
}

/* ========== Form Section ========== */
.form-section {
    padding: 4rem 0;
    background-color: var(--brand-form);
    margin-bottom: 40px;
}

.form-container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    margin: 0 auto;
}

.form-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.25rem;
    text-align: center;
}

.form-subtitle {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.25rem;
}

.form-input {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.375rem;
    background-color: #ffffff;
    color: #000000;
    border: 2px solid var(--gray-300);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input::placeholder {
    color: #000000;
}

/* Remove setas de input[type=number] */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.input-with-button {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.input-with-button .form-input {
    flex-grow: 1;
}

.btn-validate {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    flex-shrink: 0;
    background-color: var(--brand-form);
}

/* ========== Footer ========== */
.footer {
    background-color: var(--brand-footer);
    color: var(--gray-900);
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.footer-column {
    padding: 0;
}

.footer-title {
    font-size: 2rem;
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.footer-text {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #000000  ;
}

.footer-address {
    margin-top: 1.5rem;
    font-size: 1.125rem;
}

.footer-contacts {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1.125rem;
}

.footer-contact-item {
    font-weight: 500;
    color: #000000;
}

.footer-contact-label {
    color: var(--gray-600);
    font-size: 1rem;
}

.footer-map {
    width: 100%;
    margin-top: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    height: 15rem;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-bottom {
    background-color: var(--gray-300);
    margin-top: 4rem;
    padding: 1.5rem 0;
}

.footer-bottom .container {
    text-align: center;
    color: var(--gray-700);
}


/* ========== modal ========== */
.modal-title{
    color: #910e10;
    font-size: 3rem;
    font-weight: 800
}

.modal-text{
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #000000;
}

.modal-images{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 1.5rem;
    justify-content: center;
}

.modal-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Carrossel dentro do modal */
.modal-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 1.5rem;
    position: relative;
}

.modal-carousel .modal-images {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    justify-content: center;
}
.modal-carousel .modal-image {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 48%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: transform 0.2s;
    display: none;
    position: relative; /* Para o indicador */
}

.modal-carousel .modal-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 50px;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-maximize'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

.modal-carousel .modal-image:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.modal-carousel .modal-image[style*="display: block"] {
    display: block;
}

/* Lightbox */
#modal-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
#modal-lightbox img {
    max-width: 85vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 40px #000;
}
#modal-lightbox #lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    z-index: 2010;
}

#lightbox-prev, #lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    z-index: 2010;
}

#lightbox-prev {
    left: 20px;
}

#lightbox-next {
    right: 20px;
}

/* ========== Media Queries ========== */

/* Mobile and Tablet specific adjustments (up to 767px) */
@media (max-width: 767px) {
    .container,
    .container-narrow,
    .container-form {
        width: 90%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .btn-large {
        padding: 0.8rem 1.8rem;
        font-size: 1.2rem;
    }
    
    .form-title {
        font-size: 2.2rem; /* Reduzido de 3rem */
        line-height: 1.2;  /* Altura de linha ajustada */
    }

    .form-subtitle {
        font-size: 1.1rem; /* Reduzido de 1.4rem */
        line-height: 1.4;  /* Altura de linha ajustada */
        padding: 0 1rem;   /* Adiciona um pequeno espaçamento lateral */
    }

    .authority-section {
        margin-top: -1rem;
    }

    .card-authority {
        flex-direction: column;
        text-align: center;
    }

    .industry-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .industry-title {
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column-border {
        padding-left: 0;
        border-left: none;
    }

    .modal-content {
        width: 90%;
        margin: 20% auto;
    }
}

/* Tablets (640px+) */
@media (min-width: 640px) {
    .authority-section {
        margin-top: -1rem;
    }

    .cards-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }

    .btn-medium{
        width: auto;
    }
}

/* Desktop (768px+) */
@media (min-width: 768px) {
    .hero-content {
        min-height: 80vh;
        justify-content: flex-start;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .industry-section {
        padding: 6rem 0;
    }
    
    .industry-grid {
        grid-template-columns: 1fr 2fr;
    }
    
    .industry-title {
        text-align: left;
    }
    
    .industry-content {
        text-align: left;
    }
    
    .section-title-large {
        font-size: 3.75rem;
    }
    
    .industry-text {
        font-size: 1.5rem;
    }
    
    .products-section {
        padding: 6rem 0;
    }
    
    .benefits-section {
        padding: 6rem 0;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .section-description {
        font-size: 1.5rem;
        color: #000000;
    }
    
    .form-section {
        padding: 6rem 0;
    }
    
    .footer {
        padding-top: 6rem   ;
        padding-bottom: 3;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 2fr;
        text-align: center;
    }
    
    .footer-column-border {
        padding-left: 2rem;
        border-left: 2px solid #ffffff;
    }
    
}

/* Large Desktop (1024px+) */
@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* TITLES - Usa Placard para todos os títulos */
h1, h2, h3, h4, h5, h6,
.section-title,
.section-title-large,
.hero-title,
.form-title,
.footer-title,
.benefit-title,
.category-title,
.product-title,
.card-authority-content h3,
.industry-title h2,
.industry-content h2 {
    font-family: 'PlacardNext', sans-serif;
    letter-spacing: 0.03em;
}

/* ========== Modal Styles ========== */
.modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Changed from auto */
    background-color: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
}

.hidden {
    display: none !important;
}

.modal-content {
    background-color: #fefefe;
    margin: auto; /* Changed from 15% auto */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
