/* Estilos principais do site */
:root {
    --primary-color: rgb(20, 109, 147);
    --secondary-color: rgb(245, 138, 59);
    --warning-color: rgb(245, 138, 59);
    --success-color: #10b981;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --muted-color: #6b7280;
    --white: #ffffff;
    --font-primary: 'Red Hat Text', -apple-system, BlinkMacSystemFont, 'Segoe UI';
    --bg-primary-rgb: rgb(89, 168, 202);
    --bg-warning-rgb: rgb(245, 138, 59);
}

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/* Base */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 90px;
    font-family: 'Red Hat Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bg-warning {
  background-color: var--bg-warning-rgb) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Header */
.navbar {
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    min-height: 90px;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-brand img {
    height: 50px !important;
    max-height: 50px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(20, 109, 147, 0.1);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    color: rgb(89, 168, 202);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgb(89, 168, 202) !important;
    color: white !important;
}

/* WhatsApp Button in Navbar */
.navbar-whatsapp {
    background: var(--primary-color) !important;
    color: white !important;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.navbar-whatsapp:hover {
    background: rgba(20, 109, 147, 0.8) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 109, 147, 0.3);
}

.navbar-whatsapp i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgb(20, 109, 147) 0%, rgba(20, 109, 147, 0.8) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/bg-hero-reis.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-buttons .btn {
    margin: 0.5rem 0.5rem 0.5rem 0;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Feature Boxes */
.feature-box {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.product-card .card-img-top {
    aspect-ratio: 3/4
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Work Items */
.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-item:hover img {
    transform: scale(1.1);
}

.work-content {
    padding: 1.5rem;
}

.work-content h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.work-content p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, rgb(20, 109, 147) 0%, rgba(20, 109, 147, 0.8) 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 109, 147, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(245, 138, 59, 0.8) 100%);
    border: none;
    color: var(--dark-color);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 138, 59, 0.3);
    color: var(--dark-color);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    border: none;
}

.btn-outline-primary {
    border: 2px solid rgb(20, 109, 147);
    color: rgb(89, 168, 202);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: rgb(20, 109, 147);
    border-color: rgb(20, 109, 147);
    transform: translateY(-2px);
}

/* Accordion */
.accordion-item {
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border: none;
}

.accordion-button:not(.collapsed) {
    background: rgb(20, 109, 147);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    color: rgba(89, 168, 202, 0.8);
}

.whatsapp-float:hover {
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #111827 100%);
}

footer h5, footer h6 {
    color: var(--secondary-color);
}

footer .text-light {
    color: #d1d5db !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Utilities */
.bg-light {
    background-color: var(--light-color) !important;
}

.text-muted {
    color: var(--muted-color) !important;
}

.border-left-primary {
    border-left: 4px solid rgb(20, 109, 147) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 90px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        margin: 0.5rem 0;
        width: 100%;
        max-width: 300px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .work-item img {
        height: 250px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }
    
    .navbar-whatsapp {
        margin-top: 0.5rem;
        justify-content: center;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Print styles */
@media print {
    .whatsapp-float,
    .navbar,
    footer {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: rgb(20, 109, 147);
        --secondary-color: rgb(245, 138, 59);
    }
    
    .card {
        border: 2px solid #000 !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.breadcrumb-item a {
  color: var(--primary-color)
}

.bi-whatsapp::before {
  color: #FFF;
}