/* ==================================================
   BODY
================================================== */

body{

    font-family:var(--font-text);

    color:var(--color-black);

    background:var(--color-white);

    overflow-x:hidden;

}

/* ==================================================
   SELEÇÃO
================================================== */

::selection{

    background:var(--color-primary);

    color:var(--color-white);

}

/* ==================================================
   FOCUS
================================================== */

:focus-visible{

    outline:2px solid var(--color-primary);

    outline-offset:4px;

}

/* ==================================================
   CONTAINER
================================================== */

.container{

    width:min(calc(100% - 2rem),var(--container-width));

    margin-inline:auto;

    position:relative;

}

/* ==================================================
   SEÇÕES
================================================== */

section{

    padding:var(--space-3xl) 0;

}

/* ==================================================
   TÍTULOS
================================================== */

h1,
h2,
h3,
h4{

    font-family:var(--font-title);

    font-weight:400;

    line-height:1.1;

}

/* ==================================================
   PARÁGRAFOS
================================================== */

p{

    line-height:1.7;

}

/* ==================================================
   HEADER
================================================== */

/* ==================================================
   HEADER
================================================== */

.header{

    position:fixed;

    inset:0 0 auto 0;

    height:96px;

    display:flex;

    align-items:center;

    z-index:1000;

    background: var(--color-primary);

    transition:
        background .35s ease,
        backdrop-filter .35s ease,
        box-shadow .35s ease;

}

/* ==================================================
   HEADER SCROLLED
================================================== */

.header.scrolled{
 /*
   background:rgba(15,22,30,.92);

    backdrop-filter:blur(12px);

    box-shadow:0 8px 30px rgba(0,0,0,.18);

    height:80px;
   */
}

/* ==================================================
   HEADER LOGO SCROLLED
================================================== */

.header.scrolled .header-logo img{

   /* height:72px;
    */
}
/* ==================================================
   HEADER CONTAINER
================================================== */

.header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    width:100%;

}

/* ==================================================
   LOGO
================================================== */

.header-logo{

    display:flex;

    align-items:center;

    text-decoration:none;

}

.header-logo img{

    display:block;

    height:95px;

    width:auto;

}

/* ==================================================
   BOTÃO MENU
================================================== */

.header-menu-button{

    display:flex;

    align-items:center;

    justify-content:center;

    width:48px;

    height:48px;

    cursor:pointer;

    background:none;

    border:none;

    padding:0;

}

/* ==================================================
   ÍCONE MENU
================================================== */

.header-menu-icon{

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    width:22px;

    height: 18px;

}

.header-menu-icon span{

    width:100%;

    height:2px;

    border-radius:999px;

    background:var(--color-white);

    transition:all .3s ease;

}

/* ==================================================
   HOVER
================================================== */

.header-menu-button:hover .header-menu-icon span{

    transform:scaleX(.85);

}

/* ==================================================
   NAVIGATION DRAWER
================================================== */

.navigation-drawer{

    position:fixed;

    inset:0;

    z-index:2000;

    visibility:hidden;

    opacity:0;

    pointer-events:none;

    transition:
        opacity .35s ease,
        visibility .35s ease;

}

/* ==================================================
   DRAWER ABERTO
================================================== */

.navigation-drawer.is-open{

    visibility:visible;

    opacity:1;

    pointer-events:auto;

}

/* ==================================================
   OVERLAY
================================================== */

.navigation-drawer-overlay{

    position:absolute;
    inset:0;
    background:rgba(10,10,10,.45);
    transition:opacity .35s ease;
    backdrop-filter:blur(3px);

}

/* ==================================================
   PAINEL
================================================== */

.navigation-drawer-panel{

    position:absolute;
    top:0;
    right:0;
    width:min(380px,90vw);
    height:100vh;
    background:var(--color-white);
    transform:translateX(100%);
    transition:transform .35s ease;
    display:flex;
    flex-direction:column;
    padding:2rem;
    overflow-y:auto;
    transition:
        transform .4s cubic-bezier(.22,.61,.36,1);

}

/* ==================================================
   PAINEL ABERTO
================================================== */

.navigation-drawer.is-open
.navigation-drawer-panel{

    transform:translateX(0);

}

/* ==================================================
   DRAWER HEADER
================================================== */

.navigation-drawer-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:3rem;

}

.navigation-drawer-logo{

    display:flex;

    align-items:center;

    width:260px;

}

.navigation-drawer-logo img{

    width:100%;

    height:auto;

    display:block;

}

.navigation-drawer-close{

    width:48px;

    height:48px;

    border:none;

    background:none;

    cursor:pointer;

    font-size:1.8rem;

}

/* ==================================================
   DRAWER NAV
================================================== */

.navigation-drawer-nav ul{

    display:flex;

    flex-direction:column;

    gap:1.5rem;

}

.navigation-drawer-nav a{

    text-decoration:none;
    color:var(--color-black);
    font-family:var(--font-title);
    font-size:1.1rem;
    transition:.3s;
    position:relative;

}
.navigation-drawer-nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:var(--color-primary);

    transition:width .3s ease;

}

.navigation-drawer-nav a:hover::after{

    width:100%;

}

.navigation-drawer-nav a:hover{

    color:var(--color-primary);

}

.navigation-drawer-social{

    margin-top:3rem;
    display:flex;
    justify-content: space-between

}

.navigation-drawer-text{

    margin:2rem 0;

    color:#6f6f6f;

    font-size:.95rem;

    line-height:1.8;

}

/* ==================================================
   BUTTON BASE
================================================== */

.button{

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    min-height:56px;

    text-decoration:none;

    font-family:var(--font-title);

    font-size:.95rem;

    letter-spacing:.15em;

    text-transform:uppercase;

    transition:all .3s ease;

    cursor:pointer;

}

/* ==================================================
   BUTTON PRIMARY
================================================== */

.button-primary{

    background:var(--color-primary);

    color:var(--color-white);

    border:none;

    margin-top:2.5rem;

}

.button-primary:hover{

    opacity:.9;

    transform:translateY(-2px);

}

/* ==================================================
   BUTTON SECONDARY
================================================== */

.button-secondary{

    border:1px solid var(--color-primary);

    color:var(--color-primary);

    background:transparent;

    margin-top:auto;

}

.button-secondary:hover{

    background:var(--color-primary);

    color:var(--color-white);

}
/* ==================================================
   HERO
================================================== */

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    background-image:url("../img/imgherodesktop.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}



@media (max-width:768px){

    .hero{
        background-image:url("../img/imgheromobile.png");
    }

}
/* ==================================================
   HERO OVERLAY
================================================== */
.hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;
}




/* ==================================================
   HERO CONTAINER
================================================== */

.hero .container{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:100vh;
}

/* ==================================================
   HERO CONTENT
================================================== */

.hero-content{
    width:min(700px,100%);
    display:flex;
    flex-direction:column;
    gap: 2rem;
}

/* ==================================================
   HERO SUBTITLE
================================================== */

.hero-subtitle{
    font-family:var(--font-title);
    color:var(--color-primary);
    letter-spacing:.25em;
    font-size:.9rem;
    text-transform:uppercase;
}

/* ==================================================
   HERO TITLE
================================================== */

.hero-title{

    font-size:clamp(3.5rem,7vw,5.8rem);
    color:rgb(255, 253, 253);
    font-family:var(--font-title);
    line-height:1;
    max-width:700px;

}

/* ==================================================
   HERO DESCRIPTION
================================================== */

.hero-description{
    max-width:580px;
    font-size:1.15rem;
    color:rgba(255,255,255,.85);
}

/* ==================================================
   HERO BUTTONS
================================================== */

.hero-buttons{
    display:flex;
    align-items:center;
    gap:1.25rem;
    margin-top:1rem;
    flex-wrap:wrap;
}

.hero-buttons .button{
    width:auto;
    min-width:220px;
}

/* ==================================================
   HERO SCROLL
================================================== */

.hero-scroll{
    position:absolute;
    bottom:2rem;
    left:50%;
    transform:translateX(-50%);
    width:28px;
    height:48px;
    border:2px solid rgba(255,255,255,.7);
    border-radius:999px;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding-top:8px;
    z-index:2;
}

.hero-scroll span{
    width:4px;
    height:10px;
    border-radius:999px;
    background:var(--color-white);
    animation:scrollIndicator 1.8s infinite;
}
.hero-content>*{
    animation:fadeUp .8s ease forwards;
}
.hero-subtitle{

    animation-delay:.1s;

}

.hero-title{
    animation-delay:.25s;
}

.hero-description{
    animation-delay:.4s;
}

.hero-buttons{
    opacity:0;
    animation-delay:.55s;
}

/* ==================================================
   BUTTON
================================================== */

.button{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-width:220px;
    padding:1rem 2rem;
    border-radius:999px;
    text-decoration:none;
    font-family:var(--font-title);
    font-size:.95rem;
    transition:.35s;
    cursor:pointer;
}

/* ==================================================
   BUTTON PRIMARY
================================================== */

.button-primary{

    background:var(--color-primary);
    border:1px solid rgba(255,255,255,.45);

    color:var(--color-white);

}

.button-primary:hover{

    transform:translateY(-3px);

}

/* ==================================================
   BUTTON SECONDARY
================================================== */

.button-secondary{
    border:1px solid rgba(255,255,255,.45);
    color:var(--color-white);
}

.button-secondary:hover{
    background:rgba(255,255,255,.08);
}

/* ==================================================
   ABOUT
================================================== */

.about{
    background:var(--color-white);
}

.about .container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:5rem;
    align-items:center;
}

/* ==================================================
   ABOUT CONTENT
================================================== */

.about-content{
    display:flex;
    flex-direction:column;
    gap:1.5rem;
}

/* ==================================================
   SECTION TAG
================================================== */

.section-tag{
    font-family:var(--font-title);
    color:var(--color-primary);
    letter-spacing:.2em;
    text-transform:uppercase;
    font-size:.9rem;
}

/* ==================================================
   SECTION TITLE
================================================== */

.section-title{
    font-size:clamp(2.2rem,4vw,3.5rem);
    margin-top: 15px;
    color:var(--color-black);
}

/* ==================================================
   ABOUT TEXT
================================================== */

.about-text{
    color:#555;
    line-height:1.9;
}

/* ==================================================
   ABOUT IMAGE
================================================== */

.about-image{

    display:flex;

    justify-content:center;

}

.about-image img{
    width:100%;
    border-radius:24px;
    display:block;
    object-fit:cover;
}

/* ==================================================
   MISSION
================================================== */

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

.mission .section-tag{
    display:block;
    text-align:center;
    color:var(--color-white);
    margin-bottom:1rem;
}

.mission .section-title{

    text-align:center;
    margin-bottom:4rem;
}

/* ==================================================
   MISSION GRID
================================================== */

.mission-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2rem;
}

/* ==================================================
   MISSION CARD
================================================== */

.mission-card{
    background:var(--color-white);
    border-radius:24px;
    padding:2.5rem;
    transition:.35s ease;
    display:flex;
    flex-direction:column;
    gap:1.25rem;
}

.mission-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.08);
}

/* ==================================================
   MISSION ICON
================================================== */

.mission-icon{
    width:64px;
    height:50px;
    border-radius:50%;
    background:rgba(243, 241, 241, 0.08);
}

.mission-card h3{
    font-size:1.5rem;
}

.mission-card p{
    color:#666;
    line-height:1.8;
}

/* ==================================================
   ADVANTAGES
================================================== */

.advantages{
    background:var(--color-white);
}

.advantages .section-tag{
    display:block;
    text-align:center;
    margin-bottom:1rem;
}

.advantages .section-title{
    text-align:center;
    margin-bottom:4rem;
}

/* ==================================================
   ADVANTAGES GRID
================================================== */

.advantages-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:2rem;
}

/* ==================================================
   ADVANTAGE CARD
================================================== */

.advantage-card{
    padding:2.5rem;
    border-radius:20px;
    background:#fafafa;
    border:1px solid #ececec;
    display:flex;
    flex-direction:column;
    gap:1.25rem;
    transition:.35s ease;
}

.advantage-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.08);
}

/* ==================================================
   ADVANTAGE ICON
================================================== */

.advantage-icon{
    width:64px;
    height:50px;
    border-radius:50%;
    background:#fafafa;

}

.advantage-card h3{
    font-size:1.4rem;
}

.advantage-card p{
    color:#666;
    line-height:1.8;
}
/* ==================================================
   PROJECTS
================================================== */

.projects{
    background:var(--color-primary);
}
.projects .section-tag{
    color: var(--color-white);
}



.projects .section-tag,
.projects .section-title,
.projects .section-description{
    
    text-align:center;
}

.projects .section-description{
    max-width:700px;
    margin:1.5rem auto 4rem;
    color:var(--color-white);
    line-height:1.8;
}

/* ==================================================
   PROJECTS GRID
================================================== */

.projects-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2rem;
}

/* ==================================================
   PROJECT CARD
================================================== */

.project-card{
    background:var(--color-white);
    border-radius:20px;
    overflow:hidden;
    transition:.35s ease;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

/* ==================================================
   PROJECT IMAGE
================================================== */

.project-image{

    height:260px;

    overflow:hidden;

}

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

.project-card:hover .project-image img{
    transform:scale(1.08);
}

/* ==================================================
   PROJECT CONTENT
================================================== */

.project-content{
    padding:2rem;
}

.project-category{
    color:var(--color-primary);
    font-size:.9rem;
    text-transform:uppercase;
    letter-spacing:.15em;
}

.project-content h3{
    margin:1rem 0;
}

/* ==================================================
   PROJECT INFO
================================================== */

.project-info{
    display:flex;
    gap:1rem;
    color:#666;
    font-size:.95rem;
}

/* ==================================================
   CONTACT
================================================== */

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

.contact .container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:5rem;
    align-items:start;
}

/* ==================================================
   CONTACT INFO
================================================== */

.contact-info{
    display:flex;
    flex-direction:column;
    gap:1.5rem;
}

.contact-description{
    color:#666;
    line-height:1.8;
}

.contact-list{
    display:flex;
    flex-direction:column;
    gap:1.25rem;
}

.contact-list strong{
    display:block;
    margin-bottom:.25rem;
}

/* ==================================================
   CONTACT FORM
================================================== */

.contact-form{
    display:flex;
    flex-direction:column;
    gap:1.5rem;
}

/* ==================================================
   FORM GROUP
================================================== */

.form-group{
    display:flex;
    flex-direction:column;
    gap:.6rem;
}

/* ==================================================
   INPUTS
================================================== */

.form-group input,
.form-group textarea{
    padding:1rem;
    border:1px solid #ddd;
    border-radius:12px;
    font-family:inherit;
    font-size:1rem;
    transition:.3s;

}

.form-group input:focus,
.form-group textarea:focus{
    border-color:var(--color-primary);
    outline:none;
}

textarea{
    resize:vertical;
    min-height:160px;
}

/* ==================================================
   FOOTER
================================================== */

.footer{
    background:var(--color-primary);
    color:#fff;
    padding:5rem 0 0;
}

/* ==================================================
   FOOTER CONTAINER
================================================== */

.footer .container{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:4rem;
}

/* ==================================================
   FOOTER BRAND
================================================== */

.footer-logo{
    display:inline-flex;
    margin-bottom:1.5rem;
}

.footer-logo img{
    width:140px;
    display:block;
}

.footer-brand p{
    color:#bbb;
    line-height:1.8;
    max-width:350px;
}

/* ==================================================
   FOOTER TITLES
================================================== */

.footer h3{
    margin-bottom:1.5rem;
    font-size:1.2rem;
}

/* ==================================================
   FOOTER LISTS
================================================== */

.footer ul{
    display:flex;
    flex-direction:column;
    gap:1rem;
}

.footer a{
    color:#bbb;
    text-decoration:none;
    transition:.5s;
}

.footer a:hover{
    color:var(--color-white);
}

/* ==================================================
   FOOTER BOTTOM
================================================== */

.footer-bottom{
    margin-top:4rem;
    border-top:1px solid rgba(255,255,255,.08);
    padding:2rem 0;
    text-align:center;
}

.footer-bottom p{
    color:#888;
    font-size:.95rem;
}

/* ==================================================
   BACK TO TOP
================================================== */

.back-to-top{
    position:fixed;
    right:2rem;
    bottom:2rem;
    width:54px;
    height:54px;
    border:none;
    border-radius:50%;
    background:var(--color-primary);
    color:#fff;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transition:.35s;
    z-index:999;
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
}

/* ========================== 
icons
========================== */

.icon-g{
    width:24px;
    height:24px;
    display:inline-flex;
    flex-shrink:0;
    color:inherit;
}

.icon-m{
    width:40px;
    height:40px;
    color:var(--color-primary);
}

.icon-p{
    width:18px;
    height:18px;
}
/* ==================================================
   STATS
================================================== */
.stats{
    background:var(--color-white);
    padding:0;
}

/* ==================================================
   GRID
================================================== */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
}

/* ==================================================
   CARD
================================================== */

.stat-card{
    padding:5rem 2rem;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    border-right:2px solid rgba(0, 0, 0, 0.08);
}

.stat-card:last-child{
    border-right:none;
}
/* ==================================================
   NUMBER
================================================== */
.stat-card h2{
    font-size:clamp(2.5rem,4vw,4rem);
    color:var(--color-primary);
    font-family:var(--font-title);
    font-weight:400;
}

/* ==================================================
   LINE
================================================== */

.stat-card span{
    width:36px;
    height:1px;
    background:rgba(0, 0, 0, 0.25);
    margin:1rem 0;
}
/* ==================================================
   TEXT
================================================== */

.stat-card p{
    color:var(--color-primary);
    text-transform:uppercase;
    letter-spacing:.18em;
    font-size:.82rem;
}

/* =================================================
   OBRAS.HTML
================================================== */           

/* ==================================================
   PAGE HERO
================================================== */

section{
    padding:var(--space-3xl) 0;
    overflow:hidden;
}