:root {
    --primary-color: #284480;
    --primary-light: #3a5ba3;
    --primary-dark: #1a2f5c;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section .btn-light:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Cards and Sections */
.card {
    transition: transform 0.3s ease;
    border-radius: 12px;
}

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

.stat-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-card i {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.product-category {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-category i {
    color: var(--primary-color);
    font-size: 2rem;
}

/* Form Styling */
.form-control, .form-select {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#cookie-consent-banner p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

#cookie-consent-banner .btn-primary {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

#cookie-consent-banner .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Privacy Policy Modal */
#privacyPolicyModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#privacyPolicyModal .modal-header {
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-bottom: none;
    padding: 1.5rem;
}

#privacyPolicyModal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

#privacyPolicyModal .modal-body {
    padding: 1.5rem 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

#privacyPolicyModal h6 {
    color: var(--primary-color);
    font-size: 1.1rem;
}

#privacyPolicyModal ul {
    padding-left: 1.5rem;
}

#privacyPolicyModal .modal-footer {
    border-top: none;
    padding: 1rem 2rem 1.5rem;
}

#privacyPolicyModal .btn-primary {
    padding: 0.5rem 2rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

#privacyPolicyModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(40, 68, 128, 0.15);
    transform: translateY(-1px);
}

.form-label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.input-group-text {
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-right: none;
    color: var(--primary-color);
}

.input-group .form-control {
    border-left: none;
}

/* Multi-step Form */
/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-indicator {
    position: relative;
    color: #ccc;
    flex: 1;
    text-align: center;
    padding: 0.5rem;
}

.step-indicator.active {
    color: white;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.progress {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background-color: #fff;
    transition: width 0.4s ease;
}

.step-indicator {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step-indicator.active {
    color: #fff;
    font-weight: 600;
}

/* Range Slider */
.range-container {
    position: relative;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-range {
    margin-bottom: 0;
    height: 8px;
}

input[type="range"] {
    width: 100%;
    cursor: pointer;
}

datalist {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 10px;
}

datalist option {
    padding: 0;
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-weight: 500;
}

#prazo-value {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary-color);
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    height: 20px;
    width: 20px;
    transition: all 0.2s ease;
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.form-range::-moz-range-thumb {
    background: var(--primary-color);
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    height: 20px;
    width: 20px;
    transition: all 0.2s ease;
}

.form-range::-moz-range-thumb:hover {
    transform: scale(1.1);
}

/* Button Styling */
.btn {
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonial-img-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.testimonial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Media Section */
.media-card {
    transition: transform 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
}

/* YouTube Placeholder */
#youtube-placeholder {
    background-image: url('assets/images/thumb.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

#youtube-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#youtube-placeholder:hover::before {
    background: rgba(0, 0, 0, 0.3);
}

#youtube-placeholder i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 3rem;
}

#youtube-placeholder:hover i {
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--primary-light);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.play-button-overlay i {
    color: #fff;
    opacity: 0.9;
    transition: all 0.3s ease;
}

#youtube-placeholder:hover .play-button-overlay i {
    transform: scale(1.1);
    opacity: 1;
}

#youtube-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#youtube-placeholder:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.play-button-overlay i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

#youtube-placeholder:hover .play-button-overlay i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}

/* Footer Styling */
footer {
    background: var(--primary-dark);
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer .social-links a {
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: var(--primary-light) !important;
}

footer .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

footer .btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

footer .list-unstyled a {
    transition: color 0.3s ease;
}

footer .list-unstyled a:hover {
    color: var(--primary-light) !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba57;
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

.blockquote-footer {
    color: white;
}

#contact-form {
    scroll-margin-top: 80px;
    max-width: 100%;
    margin: 0 auto;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-container p {
    max-width: 600px;
    margin: 0 auto;
}


/* Progress Steps */
.progress-line {
    position: absolute;
    height: 2px;
    background: #dee2e6;
    width: 80%;
    top: 20px;
    left: 10%;
    z-index: 0;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.step.completed .step-circle {
    background: #198754;
    color: white;
}

.step.active .step-circle {
    background: #0d6efd;
    color: white;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.5)}
    70% {box-shadow: 0 0 0 12px rgba(13, 110, 253, 0)}
    100% {box-shadow: 0 0 0 0 rgba(13, 110, 253, 0)}
}

/* Video Preview */
.video-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.video-preview {
    position: relative;
    cursor: pointer;
    min-height: 400px;
    background: var(--primary-dark);
}

.video-preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
}

.play-button {
    z-index: 2;
    background-color: var(--primary-color) !important;
    width: 80px;
    height: 80px;
}

.play-button:hover {
    background-color: var(--primary-light) !important;
    transform: translate(-50%, -50%) scale(1.1);
}

.step.active .step-circle {
    background: var(--primary-color) !important;
}

.alert-danger {
    border-color: var(--primary-color);
}

.btn-success {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
}

/* ABF Certification Section */
.abf-certification {
    background: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.abf-certification h2 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.abf-certification .lead {
    font-size: 1.25rem;
    font-weight: 500;
}

.abf-certification img {
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
    transition: transform 0.3s ease;
}

.abf-certification img:hover {
    transform: scale(1.05);
}