/* =========================================
   DESIGN SYSTEM CONFLUIR
   Baseado nas cores do logo e identidade visual
   ========================================= */

:root {
    /* Cores Primárias (Extraídas dos Logos) */
    --confluir-orange: #FF9F1C;
    /* Laranja Vibrante */
    --confluir-red: #FF4040;
    /* Vermelho/Rosa suave */
    --confluir-yellow: #FFBF00;
    /* Amarelo Solar */
    --confluir-gray: #595959;
    /* Cinza Sólido */

    /* Gradientes */
    --gradient-brand: linear-gradient(135deg, var(--confluir-orange) 0%, var(--confluir-red) 100%);
    --gradient-hover: linear-gradient(135deg, var(--confluir-red) 0%, var(--confluir-orange) 100%);
    --gradient-bg: linear-gradient(180deg, #FFFFFF 0%, #FFF9F0 100%);

    /* Tipografia */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Layout & Espaçamento */
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 80px 0;
    --border-radius-card: 16px;
    --border-radius-btn: 50px;

    /* Sombras */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 30px rgba(255, 159, 28, 0.2);
}

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

body {
    font-family: var(--font-primary);
    background: var(--gradient-bg);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: #222;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   COMPONENTES UI
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 64, 64, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--gradient-hover);
    box-shadow: 0 8px 20px rgba(255, 64, 64, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--confluir-orange);
    color: var(--confluir-orange);
}

.btn-outline:hover {
    background: var(--confluir-orange);
    color: #fff;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.card {
    background: #fff;
    border-radius: var(--border-radius-card);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

/* =========================================
   HEADER
   ========================================= */
header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #444;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--confluir-orange);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background-image: linear-gradient(90deg, #FFA400, #F05155);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* =========================================
   SOLUÇÕES / GRID
   ========================================= */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card h3 {
    margin: 15px 0 10px;
    font-size: 1.5rem;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--confluir-orange);
    margin-bottom: 20px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--confluir-red);
    font-weight: 600;
    margin-top: 20px;
}

.link-arrow:hover {
    gap: 8px;
}

/* Product Item (Lista Detalhada) */
.product-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-md);
    align-items: center;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--confluir-orange);
}

.product-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--confluir-red);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: #111;
    color: #ccc;
    padding-top: 80px;
    padding-bottom: 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--confluir-orange);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-menu {
        display: none;
    }

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

    .product-item {
        grid-template-columns: 1fr;
    }
}

/* Seção de Clientes - Estilo Grid em Cartões (Modelo Novo) */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.client-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px; /* Reduzido padding para dar mais espaço */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 110px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.client-card img {
    height: 100%;
    width: 100%;
    max-height: 85px;
    max-width: 95%;
    object-fit: contain; /* Garante uniformidade adaptando ao máximo do quadro */
    transition: all 0.3s ease;
}

/* Responsividade para o Grid de Clientes */
@media (max-width: 1024px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .client-card {
        height: 90px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}