@import "https://static-files-saint-gobain.s3.amazonaws.com/gotham-2/stylesheet.css";

@import url('./colors.css');
@import url('./typography.css');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: "Gotham", sans-serif;
    overflow-x: hidden;
    width: 100%;
    height: auto;
    color: #1d1d1b !important;
}
html:has(body.loading) {
    overflow-y: hidden !important;
}
body.loading {
    height: 1px;
    overflow-y: hidden !important;

}

img {
    max-width: 100%;
    display: block;
}

p, h2, h3 {
    margin-bottom: 0;
}

h2 {
    font-size: 32px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
}
p, li {
    font-size: 15px;
    font-weight: 300;
}
.bt-primary {
    border: 2px solid #1d1d1b;
    line-height: 1 !important;
    background-color: #1d1d1b;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 22px 16px 23px;
    display: flex;
    align-items: center;
    font-weight: bold;
    gap: 12px;
    transition: all .2s ease-in-out !important;

    max-width: fit-content;
}

.bt-primary:hover {
    background-color: white !important;
    color: #1d1d1b !important;
}
.bt-primary path {
    transition: all .2s ease-in-out;
}
.bt-primary:hover path {
    fill: #1d1d1b;
}
a.bt-secondary {
    background-color: white !important;
    color: #1d1d1b !important;
    font-weight: 800 !important;
    padding: 8px 14px 8px 12px;
    transition: all .2s ease-in-out;
}
a.bt-secondary:hover {
    background-color: #1d1d1b !important;
    color: white !important;
}
.cookiealert {
    position: fixed;
    bottom: 10px;
    left: 15px;
    width: 20%;
    margin: 0 auto !important;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translate(0%, 100%);
    transition: all 500ms ease-out;
    color: #fded00;
    background: white;
    box-shadow: 0 0 0 3px #1d1d1b;
    border-radius: 8px; 
}
.cookiealert p {
    color: #000;
    font-size: 0.875em;
    line-height: 1.2;
}
.cookiealert button {
    background-color: #1d1d1b !important;
    margin-top: 16px;
    padding: 8px 15px !important;
    white-space: normal !important;
}

.cookiealert.show {
    opacity: 1;
    visibility: visible;
    transform: translate(0%, 0%);
    transition-delay: 1000ms; 
}

@media screen and (max-width: 1200px) {
    .cookiealert {
        width: 100%;
        left: 0;
        bottom: 0; 
    }
    .cookiealert p {
        text-align: center; 
    }
    .cookiealert button {
        margin: 0 auto;
    } 
}
.container {
    max-width: 1240px;
}

header {
    width: 100%;
    z-index: 10;
    margin-top: 68px;
    position: absolute;
}
nav .navbar-nav {
    align-items: center;
    gap: 12px;
}
header nav .nav-link {
    font-size: 14px;
    text-transform: uppercase;
    color: white;
    transition: all .3s ease-in-out;
    letter-spacing: 3px;
}
header nav .nav-link:hover {
    color: white !important;
    font-weight: 700;
}
#main-hero {
    background-repeat: no-repeat;
    background-size: cover;
    height: 788px;
    background-position-x: center;
    padding: 99px 0;
    background-image: url('../img/hero-bg.jpg');
}

#main-hero .main-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}
#main-hero h1, 
#main-hero h2 {
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
}
#main-hero h2 {
    width: fit-content;
    margin-left: 289px;
}

#info-section {
    padding: 94px 0 101px 0;
    text-align: center;
}

#info-section h2 {
    font-size: 30px;
    margin-bottom: 23px;
    font-weight: 700;
}
#info-section p {
    font-size: 15px;
    max-width: 837px;
    font-weight: 300;
    margin: 0 auto;
}
.title-underline {
    text-decoration: underline;
    text-transform: uppercase;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

#differences-section {
    background-color: #304648;
    padding: 110px 0 86px 0;
    color: white;
}
#differences-section .bt-primary {
    margin: -137px auto 87px;
}
#differences-section h2 {
    margin-bottom: 44px;
}
#differences-section h3 {
    font-weight: bold;
    font-size: 28px;
    line-height: 35px;
    margin-bottom: 18px;
}
#differences-section .row .left {
    padding-right: 49px;
}
#differences-section .row .right {
    border-left: 1px solid #FFF;
    padding-left: 49px;
}
#differences-section .right p:first-of-type {
    margin-bottom: 29px;
}

#strategies-section {
    padding: 96px 0;
}
#strategies-section .subtitle {
    margin-top: 27px;
    max-width: 710px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 31px;
    margin: 27px auto 31px auto;
}
.expertises-row {
    display: flex;
    gap: 34px;
    justify-content: center;
}
.expertise,
.optimization {
    border: 2px solid #304648;
    border-radius: 20px;
    display: flex;
    height: auto;
    flex-direction: column;
    width: calc((100% - 68px) / 3);
    padding: 49px 107px 49px 63px;
}
.expertise .exp-icon,
.optimization .opt-icon {
    background-color: #304648;
    width: 59px;
    height: 59px;
    border-radius: 50%;
    padding: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}
.expertise h3,
.optimization h3 {
    font-weight: bold;
    max-width: 270px;
    font-size: 20px;
}
.expertise p,
.optimization p {
    margin-top: auto;
    max-width: 221px;
}
.optimization h3 {
    margin-bottom: 60px;
}
#strategies-section .bt-primary {
    margin: 34px auto 0;
}

#optimizations-section {
    padding: 121px 0;
    background-color: #EFEFEF;
}
#optimizations-section .subtitle {
    margin: 33px auto;
    max-width: 660px;
    text-align: center;
}
.optimizations-row {
    display: flex;
    gap: 28px;
}
.optimization {
    border: none;
    color: white;
    padding: 37px 34px 36px 34px;
    background-color: #304648;
    width: calc(100% - 84px);
}
.optimization .opt-icon {
    background-color: white;
}
#optimizations-section .bt-primary {
    margin: 52px auto 0;
}

#popular-section {
    padding: 144px 0 132px;
    background-image: url(../img/popular-bg.jpg);
    background-size: cover;
}
#popular-section h2 {
    max-width: 780px;
    color: white;
}
#fortalecimentos-section {
    padding: 91px 0;
}
#fortalecimentos-section h2 {
    max-width: 808px;
    margin-bottom: 27px;
}
#fortalecimentos-section .subtitle {
    max-width: 740px;
    margin: 0 auto 51px;
}
#fortalecimentos-section .bt-primary {
    margin: 62px auto 0;
}

#tabs-section {
    padding: 101px 0 78px;
    background-color: #EFEFEF;
}
#tabs-section h2 {
    max-width: 808px;
}
#tabs-section .subtitle {
    margin: 27px auto 60px;
}

#tabs-section .tabs-container {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
}
.tabs-container .tabs-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.tabs-buttons .tabs-toggler {
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    color: #304648;
    line-height: 1;
    background-color: #EFEFEF;
    border: 2px solid #304648;
    transition: all .2s ease-in !important;
    padding: 18px 30px 15px 31px;
}
.tabs-toggler:hover {
    background-color: #304648;
    color: white;
}
.tabs-toggler.active {
    background-color: #304648;
    color: white;
}
.tab-content {
    display: none;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    height: 0;
}
.tab-content.active {
    height: auto;
    opacity: 1;
    display: block;
}
.tab-content h3 {
    font-size: 24px;
    color: #304648;
    margin-top: 50px;
    margin-bottom: 34px;
    font-weight: bold;
    text-transform: uppercase;
}
.tab-content ul {
    margin-bottom: 30px;
}
#democracy-section {
    padding: 92px 0;
    background-image: url(../img/democracy-icon.jpg);
    background-size: cover;
    color: white;
}
#democracy-section h2 {
    max-width: fit-content;
}
#testimony {
    padding: 77px 0 64px;
    background-color: #EFEFEF;
}
#testimony p {
    font-size: 18px;
    text-align: center;
    max-width: 876px;
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
}
#testimony blockquote {
    border-radius: 20px;
    padding: 56px 15px;
    border: 2px solid #304648;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#testimony .author {
    font-weight: bold;
    margin-top: 42px;
}
#testimony .role {
    font-size: 14px;
}
#form-section {
    padding: 93px 0 68px 0;
}
#form-section h2 {
    margin-bottom: 12px;
    margin-top: 80px;
}
#form-section .subtitle {
    margin-bottom: 45px;
}
#form-section form {
    display: flex;
    gap: 10px;
    flex-direction: column;
}
#form-section .container > div > .bt-primary {
    margin: -118px auto 0;
}
form input, form textarea {
    background-color: #EFEFEF;
    color: #555;
    width: 100%;
    border-radius: 10px;
    outline: 0;
    border: none;
    transition: all .1s ease-in-out;
    font-size: 15px;
    padding: 14px 29px 20px 20px;
}
form textarea {
    max-height: 125px;
}
form input:hover, form textarea:hover {
    box-shadow: 0 0 0 2px #7ca8ac;
}
form input:focus, form textarea:focus {
    box-shadow: 0 0 0 3px #304648;
}
form .bt-primary {
    font-size: 16px;
    border-radius: 0px !important;
}
.wpcf7 form .wpcf7-response-output {
    padding: 20px;
    text-align: center;
    margin: 0;
}
.wpcf7 form.invalid .wpcf7-response-output {
    background-color: #ffb900;
}
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #46b450;
    color: #fff;
}
.wpcf7-not-valid-tip {
    font-size: 14px;
    margin: 5px 0 6px 5px;
}

form
form button[type="submit"] {
    margin-top: 21px;
}
#form-section .links-wrapper {
    background-color: #304648;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    padding: 51px 55px 50px;
}
.links-wrapper .link {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    align-items: center;
    transition: all .1s ease-in-out;
}

.link .link-icon {
    height: 44px;
    width: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 50%;
}
.link a {
    color: white;
    font-size: 20px;
    font-weight: 200;
    text-decoration: none;
}
.social-buttons {
    height: 100%;
    margin-top: auto;
    gap: 10px;
    display: flex;
    align-items: end;
}
.social-buttons a {
    transition: all .3s ease-in-out;
    background-color: white;
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
}
.social-buttons a:hover {
    transform: translateY(-3px);
}
footer {
    padding: 65px 0;
    font-size: 15px;
    color: white;
    font-weight: 200;
    background-color: #304648;
}
footer .row > * {
    display: flex;
    align-items: end;
    gap: 38px;
}
footer a {
    color: white;
}

@media screen and (max-width: 1380px) {
    header {
        margin-top: 24px;
    }
    #main-hero {
        height: 578px;
    }
}

@media screen and (max-width: 1140px) {
    header {
        margin-top: 0;
        background-color: rgba(0,0,0,.45);
    }
    .navbar {
        padding: 24px 0;
    }
    .navbar-expand-lg .navbar-collapse {
        transition: all .2s ease-in-out;
        padding-top: 20px;
    }
    .navbar-expand-lg .navbar-collapse {
        height: 0;
        
    }
    nav .navbar-nav {
        gap: 6px;
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
    }
    .navbar-toggler {
        border: 1px solid rgb(179, 179, 179);
    }
    .navbar-toggler:focus {
        box-shadow: 0 0 white;
    }
    .navbar-expand-lg .navbar-collapse.show {
        height: auto;
    }
    
    .bt-primary {
        padding: 14px 22px 14px 23px;
        font-size: 12px;
    }
    h1 {
        font-size: 32px !important;
        letter-spacing: 3px !important;
    }
    h2 {
        font-size: 18px;
    }
    #main-hero h2 {
        margin-left: 0;
        font-size: 24px;
    }
    #info-section h2,
    #differences-section h2,
    #differences-section h3 {
        font-size: 18px;
        line-height: 1.2;
    }
    #differences-section .row .left {
        margin-bottom: 50px;
        padding-right: calc(var(--bs-gutter-x) * .5);
    }
    #differences-section .row .right {
        padding-left: calc(var(--bs-gutter-x) * .5);
    }
    #differences-section .bt-primary {
        margin: -57px auto 40px;
    }
    .expertises-row,
    .optimizations-row {
        flex-direction: column;
        align-items: center;
    }
    .expertise, .optimization {
        padding: 25px 32px;
        width: 100%;
        max-width: 450px;
        max-height: fit-content;
    }
    .expertise p, .optimization p {
        margin-top: 15px;
    }
    .expertise p br, .optimization p br {
        display: none;
    }
    .optimization h3 {
        margin-bottom: 30px;
    }
    #popular-section {
        padding: 80px 0;
    }
    #tabs-section .tabs-container {
        padding: 20px;
    }

    .tab-content h3 {
        margin-top: 20px;
        margin-bottom: 15px;
        font-size: 18px;
    }
    .tab-content ul {
        margin-bottom: 15px;
    }
    .tabs-buttons .tabs-toggler {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    #testimony p {
        font-size: 15px;
    }
    #testimony .author {
        margin-top: 20px;
    }
    #testimony blockquote {
        padding: 20px 15px;
    }
    #testimony {
        padding: 30px 0 25px;
    }
    #info-section,
    #differences-section,
    #strategies-section,
    #optimizations-section,
    #fortalecimentos-section,
    #tabs-section {
        padding: 40px 0 55px;
    }
    
    #form-section .container > div > .bt-primary {
        margin: -87px auto 0;
    }
    #form-section {
        padding: 65px 0 68px 0;
    }
    form button[type="submit"] {
        margin-bottom: 50px;
        margin-left: 0 !important;
    }
    #form-section h2 {
        margin-top: 30px;
    }
    #form-section .subtitle {
        margin-bottom: 20px;
    }
    #form-section .links-wrapper {
        padding: 20px;
    }
    .links-wrapper .link {
        align-items: start;
        gap: 5px;
        margin-bottom: 20px;
        flex-direction: column;
    }
    .link a {
        font-size: 15px;
    }
    footer {
        padding: 30px 0;
    }
    footer .row > * {
        align-items: start;
        flex-direction: column;
    }
    footer .col-lg-5 {
        gap: 15px;
    }
    footer .col-lg-7 {
        margin-bottom: 50px;
    }
}
