/* ==========================================
   RESET
========================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:Poppins;

    background-color: #F9EEE5;
    color:#2F2E2E;

    line-height:1.6;

    overflow-x:hidden;

}

img{

    display:block;
    max-width:100%;

}

a{

    color:inherit;
    text-decoration:none;

}

button,
input,
textarea{

    font:inherit;

}

ul{
    list-style:none;
}


/* ==========================================
   VARIABLES
========================================== */

:root{

    --container:1200px;

    --radius:16px;

    --primary:#5B5DF0;
    --primary-hover:#4547D9;

    --secondary:#EEF1F8;

    --dark:#181A20;
    --text:#444;
    --light:#FFFFFF;

    --border:#E7E7E7;

    --shadow:
        0 12px 35px rgba(0,0,0,.08);

}

/* ==========================================
   BACKGROUND COLORS
========================================== */
.background-black { background: #2F2E2E; }
.background-green { background: #1D5933; }
.background-beige { background: #F9EEE5; }

/* ==========================================
   TEXT COLORS
========================================== */
.text-green { color: #1D5933; }
.text-black { color: #2F2E2E; }
.text-beige { color: #F9EEE5; }

/* ==========================================
   GLOBAL
========================================== */

section{

    padding: 20px;
    background-color: #efe3d8;

}

.container{

    display: flex;
    width: 100%;
    max-width: var(--container);
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

}

.section-title{

    width: 100%;

}

.section-title-text {
    font-size: 13px;

}

.section-title span{

    display:inline-block;

    color:var(--primary);

    font-size:.9rem;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:2px;

    margin-bottom:10px;

}

.section-title h2{

    font-size:2.6rem;

    line-height:1.2;

}

.section-title p{

    margin-top:20px;

    color:var(--text);

}


/* ==========================================
   BUTTONS
========================================== */

.button{

    display:inline-flex;

    justify-content:center;
    align-items:center;

    padding:15px 32px;

    border-radius:999px;

    font-weight:600;

    transition:.3s;

}

.button.primary{

    background:var(--primary);
    color:white;

}

.button.primary:hover{

    background:var(--primary-hover);

}

.button.secondary{

    background:var(--secondary);

}


/* ==========================================
   HEADER
========================================== */

#header .container{

    height:80px;

    display:flex;

    justify-content:space-between;
    align-items:center;

}

.logo{

    font-size:1.4rem;
    font-weight:800;

}

.menu ul{

    display:flex;
    gap:35px;

}

.menu a{

    transition:.25s;

}

.menu a:hover{

    color:var(--primary);

}

.header-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: 15px;
    margin-right: 15px;
    user-select: none;
}

.header-text {
    writing-mode: horizontal-tb;
    font-size: 8px;
    font-weight: 300;
    font-style: normal;
    color: rgb(47, 46, 46);
    font-kerning: none;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
}


/* ==========================================
   HERO
========================================== */

#hero {
    position: fixed;
    inset: 0 0 auto 0;

    height: 400px;
    width: 100%;

    overflow: hidden;

    z-index: 0;
}

.hero-bg {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: translate(-50%, -50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

#hero .container,
#header {
    position: relative;
    z-index: 2;
}

.badge{

    display:inline-block;

    padding:8px 18px;

    background:#E7EAFF;

    color:var(--primary);

    border-radius:999px;

    margin-bottom:25px;

    font-weight:600;

}

.hero-content h1{

    font-size:4rem;

    line-height:1.1;

    margin-bottom:25px;

}

.hero-content p{

    font-size:1.15rem;

    color:var(--text);

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    gap:20px;

}

.hero-image{

    min-height:500px;

    background:#DDD;

    border-radius:var(--radius);

}

/* ==========================================
   CONTENT
========================================== */
#content {

    position: relative;

    margin-top: 400px;

    background: #fff;

    z-index: 10;
}


/* ==========================================
   CLIENTS
========================================== */

.clients-grid{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:30px;

}


/* ==========================================
   ABOUT
========================================== */

.about-content{

    width: 100%;
    display: flex;
    justify-content: safe center;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    overflow: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;

}

.about-content-box {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    width: 250px;
    flex-direction: column;
}

.about-content-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.about-content-title {
    font-weight: 500;
    font-size: 26px;
    line-height: 23px;
    margin-left: 5px;
}

.about-content-tag {
    width: fit-content;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: 6px;
    margin: 5px;
}

.about-content-text {
    margin-left: 5px;
    font-size: 14px;
    line-height: 17px;
    font-weight: 200;
}

.about-content-link {
    margin-top: 10px;
    font-size: 11px;
    margin-left: 5px;
    text-decoration: underline beige 1px;
    text-underline-offset: 5px;
}

/* ==========================================
   FEATURES
========================================== */

.features-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.card{

    background:white;

    padding:40px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.card .icon{

    width:70px;
    height:70px;

    border-radius:18px;

    background:var(--secondary);

    margin-bottom:25px;

}

.card h3{

    margin-bottom:15px;

}

.card p{

    color:var(--text);

}


/* ==========================================
   STATS
========================================== */

#stats{

    background:var(--dark);

    color:white;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    text-align:center;

}

.stat strong{

    display:block;

    font-size:3rem;

}

.stat span{

    opacity:.75;

}


/* ==========================================
   TESTIMONIALS
========================================== */

.testimonials-slider{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}


/* ==========================================
   PRICING
========================================== */

.pricing-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}


/* ==========================================
   FAQ
========================================== */

.faq-list{

    max-width:850px;

    margin:auto;

}


/* ==========================================
   CTA
========================================== */

#cta{

    background:var(--primary);

    color:white;

    text-align:center;

}

#cta h2{

    font-size:3rem;

    margin-bottom:20px;

}

#cta p{

    margin-bottom:35px;

    opacity:.9;

}


/* ==========================================
   CONTACT
========================================== */

form{

    display:grid;

    gap:20px;

}

input,
textarea{

    width:100%;

    padding:16px;

    border:1px solid var(--border);

    border-radius:12px;

}

textarea{

    resize:vertical;

    min-height:180px;

}

/* ==========================================
   ABOUT ME
========================================== */
.aboutMeImage {
    width: 100%;
    aspect-ratio: 14/9;
    background-image: url(../images/sobreMim.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.aboutMeStatisticsTag {
    display: flex;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;

    padding: 15px;
    gap: 15px;

    border-radius: 12px;
    position: relative;
    bottom: 50px;

    overflow: hidden;
}

.aboutMeItem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0; /* MUITO IMPORTANTE */
}

.aboutMeTitle {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

.aboutMeText {
    font-size: clamp(10px, 1.6vw, 13px);
    text-align: center;
    white-space: nowrap;
}

.aboutMeSeparator {
    width: 1px;
    align-self: stretch;
    background: beige;
    flex-shrink: 0;
}

/* ==========================================
   FOOTER
========================================== */

#footer{

    background:#efe3d8;

}

.footer-content{

    display: flex;
    margin-bottom: 50px;
    align-content: center;
    flex-wrap: wrap;

}

.footer-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.footer-text {
    text-align: center;
    font-size: 10px;
}

.footer-separator {
    border-bottom: 1px solid #1d5933;
    margin-top: 15px;
}

.footer-icon-container {
    width: 100%;
    display: flex;
    margin-top: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-icon {
    width: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    aspect-ratio: 1;
    flex-shrink: 0;
    border-radius: 25px;
    background: #1D5933 center / 50% no-repeat;
}

.copyright{

    text-align:center;

    opacity:.6;

}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:1024px){

    #hero .container,
    .about-content{

        grid-template-columns:1fr;

    }

    .features-grid,
    .pricing-grid,
    .testimonials-slider{

        grid-template-columns:repeat(2,1fr);

    }

    .clients-grid{

        grid-template-columns:repeat(3,1fr);

    }

}

@media(max-width:768px){

    .menu{

        display:none;

    }

    .hero-content h1{

        font-size:2.8rem;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .features-grid,
    .pricing-grid,
    .stats-grid,
    .clients-grid,
    .testimonials-slider{

        grid-template-columns:1fr;

    }

    .footer-content{

        flex-direction:column;

    }

    section{

        padding:20px 20px;

    }

}


/* ==========================================
   LINK BUTTONS
========================================== */

.linkButton{
    width: min(100%, 360px);
    min-height: 96px;

    display: flex;
    align-items: center;
    gap: clamp(10px, 3vw, 18px);

    padding: clamp(10px, 3vw, 10px);

    background: #F9EEE5;
    border: 3px solid rgba(255,255,255,.65);
    border-radius: clamp(18px, 5vw, 28px);

    box-shadow:
        0 4px 10px rgba(0,0,0,.15),
        inset 0 0 0 1px rgba(255,255,255,.35);

    text-decoration: none;
    box-sizing: border-box;

    transition: .25s;
}

.linkButton:hover{
    transform: translateY(-2px);
    box-shadow:
        0 8px 18px rgba(0,0,0,.18),
        inset 0 0 0 1px rgba(255,255,255,.35);
}

/* Ícone */

.linkButtonIcon{
    width: clamp(48px, 18vw, 65px);
    aspect-ratio: 1;
    flex-shrink: 0;

    border-radius: clamp(12px, 4vw, 18px);

    background: #1D5933 center/65% no-repeat;
}

/* Conteúdo */

.linkButtonContent{
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 6px;
    flex-wrap: wrap;
}

.linkButtonTitle{
    font-size: clamp(18px, 5vw, 21px);
    font-weight: 800;
    color: #333;
    line-height: 1.1;
    font-size: 20px;
}

.linkButtonSubtitle{
    font-size: clamp(12px, 3vw, 14px);
    color: #1D5933;
    line-height: 1.2;
}

/* Seta */

.linkButtonArrow{
    width: clamp(24px, 8vw, 34px);
    aspect-ratio: 1;
    flex-shrink: 0;

    border: 2px solid #1D5933;
    border-radius: 50%;

    position: relative;
}

.linkButtonArrow::before{
    content: "";

    width: 25%;
    aspect-ratio: 1;

    border-top: 2px solid #1D5933;
    border-right: 2px solid #1D5933;

    position: absolute;
    top: 50%;
    left: 48%;

    transform: translate(-50%, -50%) rotate(45deg);
    transition: .25s;
}

.linkButton:hover .linkButtonArrow::before{
    left: 52%;
}

@media (max-width: 420px){

    .linkButton{
        padding: 12px;
        gap: 12px;
    }

    .linkButtonTitle{
        font-size: 20px;
    }

    .linkButtonSubtitle{
        font-size: 12px;
    }

}

/* ==========================================
   ICONS
========================================== */
.icon-whatsapp {background-image: url("../images/whatsapp.webp");}
.icon-instagram {background-image: url("../images/instagram.webp");}
.icon-linkedin {background-image: url("../images/linkedin.webp");}
.icon-behance {background-image: url("../images/behance.webp");}