@font-face {
    font-family: 'Gotham Rounded';
    src: url('../fonts/gothamrnd/gothamrnd_book.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gotham Rounded', sans-serif;
}
html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
}

:root {
    --color-white: #ffffff;
    --color-orange: #ec6608;
    --color-yellow: #ffcc00;
    --color-mid-gray: rgb(128, 126, 126);
    --color-shadow: rgba(0, 0, 0, 0.1);
    --color-text: #4a4a4a;
    --color-text-dark: #1f1e1e;
}

.text-orange {
    color: var(--color-orange);
}

.text-mid-gray {
    color: var(--color-mid-gray);
}

.text-gray {
    color: var(--color-text);
}

.text-dark {
    color: var(--color-text-dark);
}

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

.page-size {
    height: 100vh;
}


/* HEADER */

#mainNavbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: inherit;
    padding-bottom: 4px;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
    font-size: 15px !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-item + .nav-item {
    margin-left: 20px;
}

.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown::after {
    content: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    pointer-events: auto;
    z-index: 10;
    background: var(--color-white);
}

.dropdown-menu {
    display: block !important;
    position: absolute;
    top: calc(100% + 0px);
    border-radius: 0 0 30px 30px !important;
    box-shadow: 0 0 10px var(--color-shadow);
    z-index: 20;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition:
        max-height 0.15s ease,
        opacity 0.15s ease,
        transform 0.15s ease;
    pointer-events: none;
}

.nav-item.dropdown:hover .dropdown-menu {
    max-height: 1000px;
    opacity: 1;
    color: var(--color-orange);
    transform: translateY(0);
    pointer-events: auto;
    display: block !important;
}

.nav-item.dropdown.show-dropdown .dropdown-menu {
    max-height: 1200px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-item.dropdown.position-static .nav-link {
    position: relative;
    background-color: transparent;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.nav-item.dropdown.position-static .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width 0.3s ease;
}

.nav-item.dropdown.position-static:hover .nav-link:hover {
    background-color: transparent;
}

.nav-link:focus,
.nav-link:hover {
    color: var(--color-orange) !important;
    font-weight: 700;
}

.nav-item.dropdown.position-static:hover .nav-link:hover::after {
    width: 100%;
}

.dropdown-menu h6 {
    color: var(--color-text-dark);
    font-weight: 700;
}
.career a {
    color: var(--color-text);
    font-size: 12px;
}

.submenu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 56px);
    background: var(--color-white);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 10;
    padding: 0 5vw;
}

.submenu.show {
    transform: translateX(0);
    margin-top: 30px;
}

.submenu a {
    text-decoration: none;
    font-size: 15px;
    color: var(--color-mid-gray);
}

.submenu a:hover {
    text-decoration: underline;
}

.mobile-nav-link {
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: left;
    color: inherit;
    text-decoration: none;
    padding: 0.5rem 0;
    border: none;
    background: transparent;
}

.mobile-nav-link:hover::after {
    width: 100%;
}

.offcanvas {
    padding: 0 5vw;
}

button.mobile-nav-link,
a.mobile-nav-link {
    color: var(--color-text);
}

.offcanvas-body.position-relative {
    overflow: hidden;
}

.submenu .submenu-content h5 {
    color: var(--color-orange);
}

.submenu-content h6 {
    color: var(--color-submenu);
}

.header-careers-icon {
    padding-right: 20px;
}

.navbar-brand img {
    padding-right: 20px;
}

.dropdown-menu.position-absolute {
    border-top: 1px solid var(--color-orange) !important;
}

.dropdown-col-bordered {
    border-right: 2px solid var(--color-orange);
}

a.text-decoration-none.text-reset {
    display: inline-block;
    padding: 0.5rem 1rem;
    min-width: 44px;
    min-height: 44px;
    line-height: normal;
}

a.text-decoration-none.text-reset + a.text-decoration-none.text-reset {
    margin-left: 0.5rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    display: block;
}

/* FOOTER */

.site-footer {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    position: relative;
    border-radius: 30px 30px 0 0;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(235, 100, 10, 0.9);
    z-index: 0;
    border-radius: 30px 30px 0 0;
}

.site-footer > .container {
    position: relative;
    z-index: 1;
}

/* --- SECTIONS HOME --- */

/* CAROUSEL */

.overlay-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.8) 30%,
        rgba(0, 0, 0, 0.6) 60%,
        rgba(0, 0, 0, 0.1) 90%
    );
    pointer-events: none;
}

.btn-orange-bottom {
    border-radius: 20px 20px 0 0;
}

.carousel-caption {
    z-index: 1;
}


/* SOLUTIONS */


.nav-pills .btn {
    color: var(--color-text);
    font-weight: 200;
}

.nav-pills .btn.active {
    color: var(--color-orange) !important;
    font-weight: 400;
}

.custom-rounded-desktop {
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    margin-right: calc(-1 * (100vw - 100%));
    padding-right: 100px;
}

.accordion-item {
    --bs-border-width: 0 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.accordion-button {
    border: none !important;
    border-radius: 1.5rem !important;
}

.accordion-button:not(.collapsed) {
    color: var(--color-text) !important;
    background-color: var(--bs-accordion-btn-bg) !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    color: var(--color-text) !important;
    border-color: transparent;
    box-shadow: none !important;
    background-color: var(--bs-accordion-btn-bg) !important;
}

@media (max-width: 991.98px) {
    .custom-rounded-desktop {
        border-top-left-radius: 1.5rem;
        border-bottom-left-radius: 0;
        border-top-right-radius: 1.5rem;
        border-bottom-right-radius: 0;
        overflow: hidden;
    }

    .dropdown-menu.show {
        opacity: 1 !important;
        pointer-events: all !important;
        max-height: 1000px !important;
        visibility: visible !important;
    }

    .tab-content {
        min-height: 562px !important;
    }
}

/* SOCIAL IMPACT */

.impact-bg {
    height: 400px;
}
@media (max-width: 768px) {
    .impact-bg {
        height: 650px;
    }
}

/* SEGMENTS */

.segments-section {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.semi-circle-wrapper {
    position: relative;
    overflow: hidden;
}

.semi-circle {
    position: absolute;
    top: -190px;
    left: -150px;
    width: 250px;
    height: 300px;
    border: 2px solid var(--color-mid-gray);
    border-radius: 50%;
    z-index: -1;
}

.semi-circle-secondary {
    position: absolute;
    top: 40px;
    right: -180px;
    width: 280px;
    height: 280px;
    border: 3px dashed var(--color-mid-gray);
    border-radius: 50%;
    z-index: -1;
}

.semi-circle-tertiary {
    position: absolute;
    top: -150px;
    right: -160px;
    width: 323px;
    height: 300px;
    background-color: var(--color-yellow);
    border-radius: 50%;
    z-index: -1;
}

.icon-segment {
    width: auto;
    height: 70px;
    display: block;
}

@media (max-width: 768px) {
    .semi-circle {
        display: none;
    }
    .semi-circle-secondary {
        width: 230px;
    }
}

@media (max-width: 1024px) {
    .semi-circle {
        top: 70px;
        width: 200px;
    }
    .semi-circle-secondary {
        height: 200px;
        width: 220px;
    }
    .semi-circle-tertiary {
        height: 300px;
        width: 250px;
    }
}

/* INSTITUTIONAL VIDEO */

.institutional-video {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.institutional-video-text {
    color: var(--color-text);
    line-height: 1.5;
}

.btn-orange {
    background-color: var(--color-orange);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    padding: 8px 25px;
    transition: background-color 0.3s ease;
}

.btn-orange:hover {
    background-color: var(--color-orange);
    color: white;
}

.semi-circle-wrapper {
    position: relative;
    overflow: hidden;
    z-index: auto;
    pointer-events: none;
}

.video-iframe {
    width: 200vw;
    height: 60vh;
}

.semi-circle-video-secondary {
    position: absolute;
    top: 150px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 2px dotted var(--color-orange);
    border-radius: 50%;
    z-index: -1;
}

.semi-circle-video-quaternary {
    position: absolute;
    top: 65%;
    left: 45%;
    width: 190px;
    height: 190px;
    border: 3px dotted var(--color-yellow);
    border-radius: 50%;
    z-index: -1;
}

@media (max-width: 991.98px) {
    .semi-circle-video-quaternary {
        display: none;
    }

    .semi-circle-video-secondary {
        display: none;
    }

    .video-iframe {
        width: 80vw !important;
    }
}

@media (min-width: 1199.98px) {
    .semi-circle-video-quaternary {
        left: 50%;
    }
}

@media (min-width: 1299.98px) {
    .semi-circle-video-quaternary {
        left: 55%;
    }
}

@media (min-width: 1799.98px) {
    .semi-circle-video-quaternary {
        left: 60%;
        top: 65%;
    }
}

/* MANDALA */

.mandala-section {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.mandala-overlay {
    z-index: 1;
}

.mandala-section .container {
    z-index: 2;
}

.mandala-mandala img {
    max-width: 350px;
}

.mandala-text {
    max-width: 500px;
}

@media (max-width: 768px) {
    .mandala-text {
        max-width: 100%;
        text-align: center;
    }
    .mandala-mandala img {
        max-width: 300px;
    }
}

/* NEWS */

.news-section {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.semi-circle-news {
    position: absolute;
    top: 20px;
    left: -200px;
    width: 280px;
    height: 350px;
    border: 2px solid var(--color-orange);
    border-radius: 50%;
    z-index: -1;
}

.semi-circle-news-secondary {
    position: absolute;
    top: 150px;
    left: -250px;
    width: 500px;
    height: 500px;
    border: 2px dashed var(--color-mid-gray);
    border-radius: 50%;
    z-index: -1;
}

.page-link {
    transition: all 0.2s ease-in-out;
}

.page-link:hover {
    background-color: var(--color-orange);
    color: #fff;
    border-color: var(--color-orange);
}

@media (max-width: 1024px) {
    .semi-circle-news {
        top: 80px;
    }

    .semi-circle-news-secondary {
        top: 200px;
    }
}

@media (max-width: 932px) {
    .semi-circle-news {
        top: 80px;
    }

    .semi-circle-news-secondary {
        top: 250px;
    }
}

@media (max-width: 768px) {
    .semi-circle-news {
        top: 120px;
    }

    .semi-circle-news-secondary {
        top: 320px;
    }
}

/* --- PAGES --- */

/*  INSTITUCIONAL */

.semi-circle-about {
    position: absolute;
    top: -10px;
    right: -150px;
    width: 250px;
    height: 250px;
    border: 2px solid var(--color-mid-gray);
    border-radius: 50%;
    z-index: -1;
}

.purpose-vision-values img {
    width: 420px;
    transition: transform 0.3s ease;
}

.purpose-vision-values img:hover {
    transform: scale(1.05);
}

.semi-circle-about-secondary {
    display: none;
}

.semi-circle-about-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -150px;
    width: 680px;
    height: 390px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    z-index: 10;
    overflow: hidden;
}

@media (max-width: 768px) {
    .semi-circle-about-image {
        display: none !important;
    }

    .semi-circle-about {
        position: absolute;
        top: -50px;
        right: -80px;
        width: 150px;
        height: 150px;
        border: 2px solid var(--color-orange);
        border-radius: 50%;
        z-index: -50px -1;
    }

    .semi-circle-about-secondary {
        top: -90px;
        right: -20px;
        width: 150px;
        height: 150px;
    }

    .about-section {
        width: 100% !important;
    }
}

@media (max-width: 1024px) {
    .semi-circle-about-image {
        top: 49%;
        right: -200px;
        width: 600px;
        height: 400px;
    }
}

/* INSITUCIONAL-CERTICATIONS */

.img-certification {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .img-certification {
        height: 250px;
    }
}


/* SUSTAINABILITY */

.sustentability-page {
    animation: fadeInUp 0.9s ease-in-out;
}

.sgi-section {
    border-radius: 1rem;
    padding: 0 0 3rem 0;
    margin-top: 3rem;
    animation: fadeInUp 0.9s ease-in-out;
}

.principles-list i {
    color: var(--color-orange);
    margin-right: 0.5rem;
}

.sgi-image img {
    width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.certifications img {
    width: 100%;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.certifications img:hover {
    transform: scale(1.05);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-commitment {
    background-color: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: none !important;
}

.card-commitment:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.commitment-icon {
    font-size: 1.8rem;
    color: var(--color-orange);
    margin-bottom: 0.5rem;
}

.commitment-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-orange);
    margin-bottom: 0.5rem;
}

.footer-note {
    background-color: #f7efe9;
    border-left: 4px solid var(--color-orange);
    padding: 1.2rem;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.report-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
}

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

.report-image {
    display: block;
    width: 100%;
    height: auto;
}

.report-title {
    background: #fff;
    padding: 0.8rem 1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    font-size: 1rem;
    border-top: 4px solid var(--color-orange);
}

.global-compact-section .ods-image,
.global-compact-section .pillar-card {
    border: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.global-compact-section .ods-image:hover,
.global-compact-section .pillar-card:hover {
    transform: translateY(-5px);
}

.global-compact-section .ods-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ods-image img:hover {
    transform: scale(1.01);
}

.partnership-card {
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    background-color: #fff;
    border-radius: 10px;
}

.partnership-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.partnership-card img {
    max-width: 180px;
    object-fit: contain;
}

.partnership-card h6 {
    font-size: 1rem;
}

.partnership-card p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.partnership-details {
    border-left: 3px solid var(--color-orange);
    padding-left: 1rem;
}

.testimonials-cards {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.testimonials-cards:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* SOLUTIONS */

.category-card {
    background-color: var(--color-white);
    border: 3px solid var(--color-orange);
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 200px;
    height: auto;
    box-shadow: 0 2px 6px var(--color-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.category-card:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 6px 18px var(--color-shadow);
}

.category-card:hover .category-link {
    color: var(--color-white);
}

.category-link {
    color: var(--color-text);
    text-decoration: none;
}

.category-link:visited {
    color: var(--color-text);
}

.category-card h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-text);
    text-align: center;
}

.category-card:hover h6 {
    color: var(--color-white);
}

.solutions-section {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.semi-circle-wrapper {
    position: relative;
    overflow: hidden;
}

.semi-circle-solutions {
    position: absolute;
    top: -200px;
    left: -250px;
    width: 250px;
    height: 300px;
    border: 2px solid var(--color-mid-gray);
    border-radius: 50%;
    z-index: -1;
}

.semi-circle-solutions-tertiary {
    position: absolute;
    bottom: 20px;
    right: -150px;
    width: 353px;
    height: 330px;
    background-image: url('https://s3.us-east-1.amazonaws.com/test.3e.eng.br/3e-site/media/3e%20-%20Segundo%20dia-106%201.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    z-index: -1;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .semi-circle-solutions-tertiary {
        display: none;
    }
}

/* CONTACT */

.project-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.obj-cover {
    object-fit:cover;
    min-height:220px;
}

@media (min-width: 768px) { 
    .obj-cover {
        min-height:100%;
    } 
}

.semi-circle-wrapper {
    position: relative;
    overflow: hidden;
}

.semi-circle-contact {
    position: absolute;
    bottom: 3px;
    left: -165px;
    width: 480px;
    height: 480px;
    border: 2px dotted var(--color-orange);
    border-radius: 50%;
    z-index: -1;
}

.semi-circle-contact-tertiary {
    position: absolute;
    bottom: 20px;
    left: -150px;
    width: 550px;
    height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    z-index: -1;
    overflow: hidden;
}

@media (max-width: 828px) {
    .semi-circle-contact {
        width: 250px;
        height: 250px;
        top: -200px;
        left: -250px;
    }
}

@media (max-width: 1224px) {
    .semi-circle-contact {
        width: 350px !important;
        height: 350px !important;
        left: -100px !important;
    }
    .semi-circle-contact-tertiary {
        width: 440px !important;
        height: 440px !important;
        top: 30px !important;
        left: -200px !important;
    }
}
@media (max-width: 1358px) {
    .semi-circle-contact {
        width: 400px;
        height: 400px;
        left: -200px;
    }
    .semi-circle-contact-tertiary {
        width: 480px;
        height: 480px;
        top: 15px;
        left: -180px;
    }
}
@media (max-width: 1440px) {
    .semi-circle-contact-tertiary {
        top: -8px;
    }
    .semi-circle-contact {
        left: 80px;
        bottom: 200px;
    }
}

.btn-sector {
    background-color: white;
    color: black !important;
    border: 1px solid #1d1c1c !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-check:checked + .btn-sector {
    background-color: var(--color-orange) !important;
    color: white !important;
}

.alert-wrapper {
    position: absolute;
    top: 0;
    right: -100%;
    width: 300px;
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--color-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.alert-wrapper.show {
    right: 0;
    opacity: 1;
}

.alert-line {
    width: 4px;
    background-color: var(--color-orange);
    border-radius: 2px;
    margin-right: 12px;
    flex-shrink: 0;
    height: 80px;
}
