/* Paleta de Cores Exata extraída da Logomarca AgroMaqBR */
:root {
    --agro-green-deep: #053D1C;
    --agro-green-bright: #42A800;
    --agro-yellow: #FAB100;
    --agro-dark-graphite: #1E242B;
    --agro-light-bg: #F8F9FA;
    --agro-white: #FFFFFF;
    --agro-gradient: linear-gradient(135deg, var(--agro-green-deep) 0%, var(--agro-green-bright) 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--agro-dark-graphite);
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--agro-white);
}

/* Navbar e Ajustes do Header */
.navbar {
    background-color: var(--agro-green-deep) !important;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(5, 61, 28, 0.15);
}

.navbar-brand img {
    max-height: 45px !important;
    width: auto !important;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--agro-yellow) !important;
}

.btn-contact {
    color: var(--agro-dark-graphite) !important;
    background-color: var(--agro-yellow) !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    background-color: #e09e00 !important;
    box-shadow: 0 4px 15px rgba(250, 177, 0, 0.4);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-color: var(--agro-white);
}

.text-gradient-green {
    background: var(--agro-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards de Serviços */
.card-service {
    background: var(--agro-white);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-service:hover {
    transform: translateY(-8px);
    border-color: var(--agro-green-bright);
    box-shadow: 0 15px 35px rgba(5, 61, 28, 0.08) !important;
}

.icon-box i {
    color: var(--agro-green-bright);
}

.bg-dark-custom {
    background-color: var(--agro-dark-graphite) !important;
}

/* Formulário de Conversão */
.form-control:focus, .form-select:focus {
    border-color: var(--agro-green-bright);
    box-shadow: 0 0 0 3px rgba(66, 168, 0, 0.15);
}

.btn-agro-submit {
    background: var(--agro-gradient);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-agro-submit:hover {
    opacity: 0.95;
    box-shadow: 0 5px 20px rgba(5, 61, 28, 0.3);
}

/* Botão do WhatsApp Flutuante Simples */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

/* Chatbot Widget WhatsApp */
.whatsapp-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.btn-whatsapp-toggle {
    background-color: #25d366;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.2s;
}

.btn-whatsapp-toggle:hover {
    transform: scale(1.05);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ff3b30;
    color: white;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
}

.agro-chat-window {
    width: 320px;
    background-color: #e5ddd5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 75px;
    right: 0;
}

.agro-chat-header {
    background-color: #075e54;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-online {
    width: 10px;
    height: 10px;
    background-color: #4cd964;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 2px solid #075e54;
}

.btn-close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.agro-chat-body {
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.chat-msg {
    background-color: white;
    padding: 8px 12px;
    border-radius: 0 8px 8px 8px;
    margin-bottom: 8px;
    max-width: 85%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.chat-msg p {
    margin: 0;
    font-size: 13.5px;
    color: #333;
}