/* Custom CSS for Enob Tech Website */
:root {
    --primary-color: #00296b;
    --primary-light: #003d99;
    --primary-dark: #001a40;
    --secondary-color: #f0f3f7; /* Cinza azulado claro */
    --bg-color: #ffffff;
    --text-color: #212529;
    --text-muted-color: #6c757d;
    --border-color: #e9ecef;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    position: relative; /* Necessário para o Scrollspy */
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--border-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* --- Navbar --- */
.navbar {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    color: var(--primary-color) !important;
    margin: 0 0.75rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-dark) !important;
}

.btn-cta {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
#hero {
    min-height: 70vh;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

#hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

#hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0.2rem auto;
    color: rgba(255, 255, 255, 0.85);
}

.btn-hero {
    background-color: #ffffff;
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
    #hero {
        min-height: 80vh;
    }
    #hero h1 {
        font-size: 1.5rem;
    }
}

/* --- Sections --- */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-muted-color);
    margin-bottom: 3rem;
}

.section-pre-title {
    font-weight: 500;
    color: var(--text-muted-color);
    margin-bottom: 0.25rem;
}

/* --- Cards --- */
.card-custom {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 41, 107, 0.1);
}

.card-custom h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-custom p {
    color: var(--text-muted-color);
    font-size: 0.95rem;
}

.portfolio-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.portfolio-card .card-body {
    text-align: left;
}

.portfolio-card .project-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.portfolio-card .project-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.portfolio-tags {
    margin-bottom: 1rem;
}

.portfolio-tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3em 0.9em;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}


/* --- About Section --- */
.about-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
}

.about-card h5 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-card p {
    color: var(--text-muted-color);
}

/* --- Solutions Section --- */
.service-item {
    padding: 1rem 0;
}

.service-item-icon {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-right: 1.25rem;
    width: 35px;
    text-align: center;
}

.service-item-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.service-item-desc {
    color: var(--text-muted-color);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.7;
}

#solutions hr {
    border-top: 1px solid var(--border-color);
    opacity: 1;
    margin: 0;
}

/* --- Process Section --- */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    z-index: 0; /* Garante que a linha fique atrás dos ícones */
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container.left {
    left: 0;
}

.timeline-container.right {
    left: 50%;
}

.timeline-container::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    right: -20px;
    background-color: var(--primary-color);
    color: white;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.timeline-container.right::after {
    left: -20px;
}

.timeline-container.icon-1::after { content: '\f0f4'; } /* coffee */
.timeline-container.icon-2::after { content: '\f0eb'; } /* lightbulb */
.timeline-container.icon-3::after { content: '\f140'; } /* compass */
.timeline-container.icon-4::after { content: '\f121'; } /* code */
.timeline-container.icon-5::after { content: '\f135'; } /* rocket */

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.timeline-content h5 {
    color: var(--primary-color);
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-container.right {
        left: 0%;
    }
    .timeline-container.left::after, .timeline-container.right::after {
        left: 11px;
    }
}


/* --- Testimonials Section --- */
.testimonial-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.1rem;
}

.testimonial-title {
    font-size: 0.9rem;
    color: var(--text-muted-color);
    margin-bottom: 0;
}

.testimonial-text {
    color: var(--text-muted-color);
    font-style: italic;
}


/* --- FAQ Accordion --- */
.accordion-simple .accordion-item {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 !important;
}

.accordion-simple .accordion-item:first-of-type {
    border-top: 1px solid var(--border-color);
}

.accordion-simple .accordion-button {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-color);
    background-color: transparent;
    padding: 1.5rem 0.5rem 1.5rem 0;
}

.accordion-simple .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: transparent;
    box-shadow: none;
}

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

.accordion-simple .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-simple .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300296b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-simple .accordion-body {
    color: var(--text-muted-color);
    padding: 0 0 1.5rem 0;
}

/* --- Contact Section --- */
.contact-info-card {
    background-color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 15px;
    height: 100%;
}

.contact-info-card h4 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-item-text h6 {
    margin-bottom: 0.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.contact-item-text p {
    margin-bottom: 0;
    color: var(--text-muted-color);
}

.contact-social-icons a {
    color: var(--text-muted-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s;
}

.contact-social-icons a:hover {
    color: var(--primary-color);
}

.form-control, .form-select {
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 8px;
    padding: 0.8rem 1rem;
}

.form-control:focus, .form-select:focus {
    background-color: #f8f9fa;
    color: var(--text-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 41, 107, 0.25);
}

.form-control::placeholder {
    color: var(--text-muted-color);
}

/* --- Footer --- */
footer {
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    padding-top: 4rem;
    padding-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

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

footer p, footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
}

footer a:hover {
    color: #ffffff;
}

.footer-logo img {
    max-height: 50px;
}

.footer-btn {
    background-color: #ffffff;
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-social-icons a {
    font-size: 1.2rem;
    margin-left: 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-social-icons a:hover {
    color: #ffffff;
}

/* --- Scroll Animations --- */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
}

.reveal.visible {
    transform: translateY(0);
    opacity: 1;
}


