/* 
* I9 TECH Engenharia - Main Stylesheet
* Author: I9 TECH Team
* Version: 1.0
*/

/* Variables */
:root {
    --primary: #FF7F27;
    --secondary: #151C46;
    --tertiary: #18457D;
    --quaternary: #A7373A;
    --dark: #000000;
    --light: #FFFFFF;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* Global Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6, .nav-link, .btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.3;
}

p {
    margin-bottom: 1.2rem;
    font-weight: 400;
    color: #444;
}

.lead {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.015em;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--tertiary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

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

.bg-primary {
    background-color: var(--tertiary) !important;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: #e87323;
    border-color: #e87323;
}

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

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

.min-vh-75 {
    min-height: 75vh;
}

.img-fluid.rounded.shadow {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.section-description {
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-start .section-title::after {
    margin: 0;
}

/* Header Styles */
.site-header {
    background: var(--secondary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    transition: var(--transition);
}

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

/* Hero Section */
.hero-section {
    background-color: var(--secondary);
    background-image: none;
    color: white;
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Values Section */
.values-hexagons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.value-hex {
    width: 100%;
    margin-bottom: 15px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    box-sizing: border-box;
}

.hex-content {
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    width: 100%;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.hex-content h3 {
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    font-size: calc(1.1rem + 0.3vw);
}

.hex-content p {
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    font-size: calc(0.85rem + 0.1vw);
}

.hex-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.hex-icon {
    margin-bottom: 20px;
}

.hex-icon-img {
    width: 60px;
    height: 60px;
}

.hex-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.orange-bg {
    background-color: rgba(255, 127, 39, 0.15);
    color: var(--primary);
}

.blue-bg {
    background-color: rgba(24, 69, 125, 0.15);
    color: var(--tertiary);
}

.green-bg {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.red-bg {
    background-color: rgba(167, 55, 58, 0.15);
    color: var(--quaternary);
}

.teal-bg {
    background-color: rgba(0, 150, 136, 0.15);
    color: #009688;
}

.coral-bg {
    background-color: rgba(255, 102, 102, 0.15);
    color: #FF6666;
}

.white-bg {
    background-color: white;
    color: var(--secondary);
    padding: 25px 15px;
}

.center-hex {
    margin: 0 auto;
}

.hex-content h3 {
    margin-bottom: 15px;
}

/* Serviços Realizados Carousel */
.carousel-container {
    position: relative;
    padding: 0 20px;
}

.projeto-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin: 10px;
    transition: var(--transition);
    height: 100%;
}

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

.projeto-image {
    height: 200px;
    overflow: hidden;
}

.projeto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.projeto-card:hover .projeto-image img {
    transform: scale(1.05);
}

.projeto-content {
    padding: 20px;
}

.projeto-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.projeto-content p {
    color: var(--gray);
    margin-bottom: 0;
}

/* Serviço Card (Estilo do card na imagem de referência) */
.servico-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

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

.servico-image {
    margin-bottom: 20px;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.servico-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.servico-card:hover .servico-image img {
    transform: scale(1.05);
}

.servico-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
    font-weight: 600;
}

.servico-card p {
    color: var(--gray);
    margin-bottom: 20px;
    text-align: center;
}

.servico-card .btn {
    margin-top: auto;
}

.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.owl-nav button:hover {
    opacity: 1;
    background-color: var(--primary) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.owl-nav .owl-prev {
    left: -20px;
}

.owl-nav .owl-next {
    right: -20px;
}

/* Estilização para dispositivos móveis */
@media (max-width: 767px) {
    .owl-nav .owl-prev {
        left: -10px;
    }

    .owl-nav .owl-next {
        right: -10px;
    }
}

.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc !important;
    border-radius: 50%;
    transition: var(--transition);
}

.owl-dots .owl-dot.active {
    background-color: var(--primary) !important;
    width: 15px;
    border-radius: 10px;
}

/* Services Preview */
.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: clamp(20px, 4vw, 30px);
    height: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.service-icon {
    margin-bottom: clamp(15px, 3vw, 20px);
}

.service-icon img {
    width: clamp(45px, 8vw, 60px);
    height: clamp(45px, 8vw, 60px);
}

.service-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    margin-bottom: 15px;
    color: var(--secondary);
    line-height: 1.3;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--gray);
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.service-card .btn {
    margin-top: auto;
}

/* Footer Styles */
.site-footer {
    background: var(--secondary);
}

.footer-top {
    background: transparent;
}

.footer-bottom {
    background-color: var(--secondary);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-links a {
    color: white;
    display: block;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: none;
    padding-left: 5px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    color: white;
    margin-right: 20px;
    margin-bottom: 10px;
    transition: var(--transition);
}

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

.social-links i {
    margin-right: 5px;
}

.copyright, .dev-credit {
    color: white;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background-color: var(--secondary);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* About Page */
.about-image, .team-image {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.team-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    height: 100%;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

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

.team-name {
    font-size: calc(1.3rem + 0.2vw);
    margin-bottom: 5px;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.team-position {
    font-size: calc(0.9rem + 0.1vw);
    margin-bottom: 15px;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.team-social a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--gray);
    transition: var(--transition);
}

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

.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.value-card h3 {
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    font-size: calc(1.2rem + 0.3vw);
}

.value-card p {
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.value-icon {
    margin-bottom: 20px;
}

.value-icon img {
    width: 50px;
    height: 50px;
}

.orange-card {
    border-top: 3px solid var(--primary);
}

.blue-card {
    border-top: 3px solid var(--tertiary);
}

.green-card {
    border-top: 3px solid #4CAF50;
}

.red-card {
    border-top: 3px solid var(--quaternary);
}

.teal-card {
    border-top: 3px solid #009688;
}

.coral-card {
    border-top: 3px solid #FF6666;
}

/* Services Page */
.service-section {
    padding: 80px 0;
}

.service-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
}

.features-list i {
    color: var(--primary);
    margin-right: 10px;
    margin-top: 5px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.feature-icon {
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-title {
    font-size: calc(1.2rem + 0.2vw);
    margin-bottom: 15px;
    color: var(--secondary);
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    text-align: center;
}

.feature-card p {
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    text-align: center;
}

/* SST Page */
.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-list li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
}

.policy-list i {
    color: var(--primary);
    margin-right: 10px;
    margin-top: 5px;
}

/* Contact Page */
.contact-icon {
    color: var(--primary);
}

.social-link {
    color: var(--tertiary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 127, 39, 0.25);
}

/* Call to Action Section */
.cta-section {
    background-color: var(--secondary);
    background-image: none;
}


/* Estilos para navegação do carrossel */
.carousel-container {
    position: relative;
    padding: 0 40px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-prev, 
.carousel-next {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    pointer-events: auto;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-prev:hover, 
.carousel-next:hover {
    background-color: #e87323;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .carousel-container {
        padding: 0 30px;
    }
}
