/* Estilos Base */
:root {
    /* As tuas cores originais */
    --title-color: #B99F4C;
    --header-menu-color: #1F3E46;
    --icons-details-color: #E7D160;
    --button-cta-color: #D42226;
    --dark-color: #ACABA5;
    --cinza-claro-color: #DDDCDA;
    --auxiliary-text-color: #6E6F53;
    --text-backg-color: #FFF;
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;

    /* Integração com Bootstrap */
    --bs-primary: #1F3E46;
    --bs-primary-rgb: 31, 62, 70;
    --bs-warning: #B99F4C;
    --bs-warning-rgb: 185, 159, 76;
    --bs-dark: #0F2027;
    --bs-secondary: #ACABA5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: var(--principal-background);
    padding-top: 76px;
    /* Espaço para navbar fixa */
    color: var(--title-color);
    font-family: var(--default-font);
    font-size: 18px;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

h1 {
    font-size: 56px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

.section-subtitle {
    font-size: 18px;
}

.header .navbar {
    background-color: rgba(15, 32, 39, 0.34) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(231, 209, 96, 0.18);
    box-shadow: 0 10px 30px rgba(15, 32, 39, 0.18);
    position: relative;
}

.header .navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    z-index: 0;
    pointer-events: none;
}

.header .navbar .container,
.header .navbar .navbar-brand,
.header .navbar .navbar-toggler,
.header .navbar .navbar-collapse {
    position: relative;
    z-index: 1;
}

.header .navbar-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: var(--navbar-logo-slot, 0px);
}

.header .navbar-brand .brand-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: var(--navbar-logo-size, 80px);
    max-width: none;
}

.hero-subtitle {
    font-size: 24px;
}

.brand-text {
    margin-left: 35%;
}

.header .navbar .nav-link,
.header .navbar .brand-text,
.header .navbar .brand-subtitle {
    color: var(--icons-details-color) !important;
}

.header .navbar .nav-link {
    font-family: var(--nav-font);
    font-size: 18px;
}

.header .navbar .nav-link-academia {
    color: var(--header-menu-color) !important;
    font-weight: 700;
    background: linear-gradient(135deg, var(--icons-details-color), var(--title-color));
    border-radius: 999px;
    padding: 8px 18px;
    margin: 0 20px;
    box-shadow: 0 8px 18px rgba(185, 159, 76, 0.28);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header .navbar .nav-link-academia:hover,
.header .navbar .nav-link-academia:focus {
    color: #ffffff !important;
    background: var(--button-cta-color);
    transform: translateY(-1px);
}

.header .navbar .nav-link:hover,
.header .navbar .nav-link:focus,
.header .navbar .nav-link.active {
    color: #ffffff !important;
}

.header .navbar .btn-outline-light {
    color: var(--icons-details-color);
    border-color: var(--icons-details-color);
}

.header .navbar .btn-outline-light:hover {
    color: var(--header-menu-color);
    background-color: var(--icons-details-color);
    border-color: var(--icons-details-color);
}

/* About Section Background */
.about-section .about-image-container {
    margin: 0;
    padding: 0;
}

.about-section .main-image {
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
    border-radius: 18px;
}

.experience-badge {
    margin-top: 8px;
}

.safety-section {
    text-align: center;
}

.safety-section .safety-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.safety-img {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    background: transparent;
}

.safety-img img {
    width: 100%;
    max-width: 800px;
    border-radius: 16px;

}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-section {
    background-color: var(--dark-color);
}

/* Hero Section Background */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/background/fundo01.png') no-repeat center center;
    background-size: cover;
   
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 32, 39, 0.70);
    z-index: 1;
}

/* Hero Section Overlay */
.hero-section {
    position: relative;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Fica por cima do pseudo-elemento ::before */
}

.hero-section>.container {
    position: relative;
    z-index: 2;
}

.hero-section .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-section .stats-container {
    justify-content: center;
}

.hero-section .hero-buttons .btn-outline-light:hover,
.hero-section .hero-buttons .btn-outline-light:focus {
    background-color: var(--title-color);
    border-color: var(--title-color);
}

/* Stats numbers */
.stats-container {
    text-align: center;
}

.stat-number {
    color: var(--title-color);
}

.services-section {
    background-color: #ffffff, transparent;
}

/* Service galleries */
.service-gallery {
    margin: 14px 0 18px;
}

.service-gallery-carousel {
    position: relative;
}

.service-gallery-carousel .carousel-inner {
    border-radius: 12px;
}

.service-gallery-slide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.service-gallery-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(31, 62, 70, 0.15);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);

    cursor: zoom-in;
}

.service-gallery-item {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.service-gallery-control {
    width: 40px;
    opacity: 1;
}

.service-gallery-control i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(15, 32, 39, 0.75);
    color: #fff;
    font-size: 16px;
}

.service-gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: block;
    padding: 10px 12px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.service-gallery-overlay strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.2;
}

.service-gallery-overlay small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
}

.service-gallery-link:hover .service-gallery-item,
.service-gallery-link:focus-visible .service-gallery-item {
    transform: scale(1.05);
}

.service-gallery-link:hover .service-gallery-overlay,
.service-gallery-link:focus-visible .service-gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.service-gallery-link:focus-visible {
    outline: 2px solid var(--icons-details-color);
    outline-offset: 2px;
}

.service-gallery-modal-content {
    background-color: #0f1b1f;
    color: #fff;
}

.service-gallery-modal-image {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

/* Testimonials */
.testimonial-card {
    text-align: center;
}

.testimonial-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.testimonial-avatar i {
    font-size: 2rem;
    color: var(--title-color);
}

/* Client logos carousel */
.client-logos-wrap {
    position: relative;
}

.client-logos-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 52px;
}

.client-logo {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.client-logo-control {
    width: 44px;
    opacity: 1;
}

.client-logo-control i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(31, 62, 70, 0.9);
    color: #fff;
    font-size: 18px;
}

@media (max-width: 767.98px) {
    .service-gallery-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .client-logos-slide {
        padding: 0 36px;
    }
}

/* Social Links */
.social-link {
    color: #ffffff !important;
    margin-right: 15px;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--title-color) !important;
}

.footer {
    padding-top: 30px;
    padding-bottom: 10px;
}

/* Client logos carousel */
.client-logos-wrap {
    position: relative;
}

.client-logos-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 52px;
}

.client-logo {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.client-logo-control {
    width: 44px;
    opacity: 1;
}

.client-logo-control i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(31, 62, 70, 0.9);
    color: #fff;
    font-size: 18px;
}

@media (max-width: 767.98px) {
    .service-gallery-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .client-logos-slide {
        padding: 0 36px;
    }
}

/* Social Links */
.social-link {
    color: #ffffff !important;
    margin-right: 15px;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--title-color) !important;
}

.footer {
    padding-top: 30px;
    padding-bottom: 10px;
}

.footer h5 {
    color: var(--title-color)
}

.copyright {
    color: var(--auxiliary-text-color);
}

/* Espaçamento entre as sessões */
.section {
    padding-top: 80px;
    padding-bottom: 80px;
}
