/* ==========================================================
   RESET & VARIÁVEIS
========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

:root {
    --primary: #1d1d1d;
    --secondary: #444;
    --accent: #0057b8;
    --white: #fff;
    --gray: #f7f7f7;
    --border: #d8d8d8;
    --shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    --container: 1200px;
    --section-space: 110px;
    --radius: 8px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    background: #fff; /* Altere para url("../assets/background/fundo.jpeg") fixed se quiser o fundo em tudo */
    background-size: cover;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* ==========================================================
   LAYOUT E ESTRUTURA
========================================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: auto;
    padding: 0 20px;
}

main {
    padding-top: 85px;
}

/* Faixa Decorativa Lateral */
.left-decoration {
    position: fixed;
    left: 0;
    top: 0;
    width: 180px;
    height: 100vh;
    background: url("../assets/background/fundo.jpeg") no-repeat;
    background-size: cover;
    pointer-events: none;
    z-index: -1;
}

section {
    padding: var(--section-space) 0;
    border-bottom: 1px dashed var(--border);
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem); /* Diminui organicamente no mobile */
    font-weight: 300;
    margin-bottom: 20px;
    text-transform: lowercase;
}

.section-description {
    max-width: 700px;
    margin: 20px auto 55px;
    font-size: 1.5rem;
    line-height: 2;
    color: #666;
    text-align: center;
}

.section-description p{
    margin-bottom: 80px;
}


/* ==========================================================
   HEADER & NAVBAR
========================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.header .container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px;
    max-width: 160px;
    width: auto;
}

.menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.menu a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    transition: 0.3s;
}

.menu a:hover {
    color: #e31b23;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
}

.menu-toggle span {
    position: absolute;
    left: 5px;
    width: 30px;
    height: 3px;
    background: #222;
    transition: 0.3s;
}

.menu-toggle span:nth-child(1) { top: 10px; }
.menu-toggle span:nth-child(2) { top: 18px; }
.menu-toggle span:nth-child(3) { top: 26px; }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 18px; }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 18px; }

/* ==========================================================
   HERO SECTION
========================================================== */
.hero-section {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 85px);
    padding: 80px 0;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 520px;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--primary);
    margin-bottom: 35px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.90rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 50px;
    background: #2fb84d;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: .35s;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,.18);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 480px;
    transition: .4s;
}

.hero-image img:hover {
    transform: scale(1.03);
}

/* ==========================================================
   SERVIÇOS
========================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: .35s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-image {
    overflow: hidden;
    border-radius: 8px;
   
}

.service-image img {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: none;
    transition: .4s;
}

.service-content {
    text-align: center;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-content p {
    line-height: 1.6;
    color: #666;
    font-size: 1rem;
}

/* ==========================================================
   DIFERENCIAIS
========================================================== */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.diferencial-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 8px;
}

.diferencial-item img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.diferencial-item span {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.5;
}

/* ==========================================================
   PORTFÓLIO
========================================================== */
.portfolio-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;

    align-items: stretch;
}

.portfolio-info {
    position: relative;
    top: 10px;
}

.portfolio-info .section-description {
    text-align: left;
    max-width: 260px;
    color: #555;
    margin: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: .35s;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    display: block;
    object-fit: cover;
    transition: .4s;
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

/* ==========================================================
   CLIENTES
========================================================== */
.clientes-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 70px;
    align-items: start;
}

.clientes-info .section-description {
    margin: 0;
    text-align: left;
    max-width: 220px;
}

.clientes-content {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
    gap: 40px;
}

.cliente-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.cliente-item img {
    max-width: 160px;
    max-height: 70px;
    width: auto;
    height: auto;
    transition: .3s;
}

.cliente-item:hover img {
    transform: scale(1.08);
}

.clientes-cta {
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================
   CTA (CALL TO ACTION)
========================================================== */
.cta-section {
    padding: 100px 0;
}

.cta-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.cta-title h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    text-transform: uppercase;
}

.cta-logo img {
    max-width: 180px;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-bottom: 60px;
}

.cta-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #333;
}

.cta-button {
    display: flex;
    justify-content: center;
}

.cta-buttonCli{
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    background: linear-gradient(#47d764,#179b2e);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,.18);
    transition: .35s;
    font-weight: 700;
    font-size: 1.2rem;
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
}

/* ==========================================================
   FOOTER
========================================================== */
.footer {
    padding: 70px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.footer-logo img {
    width: 220px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.footer-info p {
    text-align: right;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}

.footer-info a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: .3s;
}

.footer-info a:hover {
    color: var(--accent);
}

.footer-info img {
    width: 22px;
    height: 22px;
}

/* ==========================================================
   MEDIA QUERIES (RESPONSIVIDADE)
========================================================== */

@media (max-width: 992px) {
    .hero { gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-wrapper, .clientes-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .portfolio-info, .section-title, .clientes-info { text-align: center; }
    .portfolio-info{ margin-bottom: 10px;}
    .portfolio-info .section-description, .clientes-info .section-description { margin: auto; text-align: center; }
}

@media (max-width: 900px) {
    :root { --section-space: 40px; }
    .menu-toggle { display: block; }
    
    .nav {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: #fff;
        transition: .35s;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav.active { left: 0; }
    .menu { flex-direction: column; gap: 0; padding: 30px 0; }
    .menu li { border-bottom: 1px solid #ececec; width: 100%; text-align: center; }
    .menu a { display: block; padding: 20px; }
    
    .left-decoration { width: 45px; opacity: .3; }
    .hero { flex-direction: column-reverse; text-align: center; gap: 45px; }
    .hero-content { max-width: 100%; }
    .hero-image img { max-width: 280px; }
    
    .cta-header { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .cta-content { grid-template-columns: 1fr; gap: 35px; text-align: center; }
    .cta-text { font-size: 1.2rem; }
    .btn-whatsapp { width: 100%; }
}

@media (max-width: 768px) {
    .services-grid, .diferenciais-grid, .clientes-grid, .portfolio-grid { grid-template-columns: 1fr; gap: 30px; }
    .section-description { font-size: 1.05rem; margin-bottom: 30px; }
    .diferencial-item span { font-size: 1rem; }
    .clientes-cta { justify-content: center; }
    .footer-content { flex-direction: column; text-align: center; gap: 40px; }
    .footer-info { align-items: center; }
    .footer-info p { text-align: center; }
}