:root {
    --brand-slate: #62738D;      /* Azul Cinzento */
    --brand-green: #7F9C8A;      /* Verde Soft */
    --bg-light: #F0F2F4;         /* Fundo Claro Principal */
    --bg-card: #E6EBEF;          /* Fundo do Card (Contraste Suave) */
    --text-dark: #1d1d1f;        /* Tipografia Principal */
    --text-secondary: #515865;   /* Texto Secundário */
    --white: #ffffff;
}

/* HERO SECTION */
.hero-section-bg {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; 
    transform:scale(1);
    animation:heroZoom 10s ease-in-out infinite alternate;
}

@keyframes heroZoom{
    0%{
    transform:scale(1);
    }

    100%{
    transform:scale(1.08);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:linear-gradient(90deg,rgba(14,18,24,.55),rgba(14,18,24,.38),rgba(14,18,24,.20));
}

.hero-center-content {
    position: relative;
    z-index: 2; 
    text-align: center;
    max-width: 760px; 
    padding: 0 24px;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-center-content::before{
content:"";
position:absolute;
width:500px;
height:500px;
background:radial-gradient(
circle,
rgba(127,156,138,.20),
transparent 70%
);
top:-120px;
left:50%;
transform:translateX(-50%);
filter:blur(70px);
z-index:-1;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline-white{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    backdrop-filter:blur(14px);
    color:#fff;
    font-size:.82rem;
    letter-spacing:2px;
    margin-bottom:18px;
}

.hero-title-white {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.10;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text-gradient-white {
    display:block;
    font-size: 2.5rem;
    margin-bottom: 28px;
    background: linear-gradient(90deg, #ffffff 0%, var(--bg-card) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc-white {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85); 
    max-width: 650px;
    margin-bottom:42px;
    margin: 0 auto 48px auto;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons-center {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top:15px;
}

.btn-primary-white {
    background: linear-gradient(135deg,#ffffff,#edf3ef);
    color:#1d1d1f;
    font-weight:700;
    padding:16px 28px;
    box-shadow:0 15px 40px rgba(0,0,0,.30);
    border-radius: 980px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-primary-white:hover {
    background-color: var(--bg-light);
    transform:
    translateY(-5px);
    box-shadow:0 20px 55px rgba(0,0,0,.35);
}

.btn-secondary-white {
    border:1px solid rgba(255,255,255,.25);
    background:rgba(255,255,255,.08);
    color:#fff;
    backdrop-filter:blur(20px);
    text-decoration: none;
    border-radius:999px;
    padding:16px 28px;
    font-size: 15px;
    font-weight: 700;
    transition:.35s;
}

.btn-secondary-white:hover {
    background:rgba(255,255,255,.16);
    transform:translateY(-5px);
}

.scroll-indicator{
    position: absolute;
    bottom:35px;
    left: 50%;
    margin-left: 7px;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.9);
    animation: fadeUpDown 2s ease-in-out infinite;
}

.scroll-mouse{
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255,255,255,.85);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel{
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 999px;
    animation: scrollWheel 1.6s infinite;
}

.scroll-text{
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255,255,255,.85);
}

@keyframes scrollWheel{
    0%{
        transform: translateY(0);
        opacity: 1;
    }

    60%{
        transform: translateY(12px);
        opacity: .2;
    }

    100%{
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeUpDown{
    0%,100%{
        transform: translate(-50%,0);
    }

    50%{
        transform: translate(-50%,-6px);
    }
}

/* HEADERS DAS SEÇÕES */
.section-header {
    margin-bottom: 60px;
    max-width: 600px;
}

.section-header.text-center {
    text-align: center;
    margin: 0 auto 60px auto;
}

.sub-title {
    color: var(--brand-green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-top: 12px;
}

/* BENTO GRID SECTION (Por que escolher) */
.bento-section {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Colunas idênticas */
    gap: 24px; /* Aumentamos o espaçamento para dar mais respiro à la Apple */
}

.bento-card {
    background-color: var(--white);
    border-radius: 24px; /* Cantos arredondados suavizados tipo Apple hardware */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    height:280px;   /* altura fixa */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    border: 1px solid rgba(98, 115, 141, 0.05);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(98, 115, 141, 0.08);
}

.bento-card.large {
    grid-column: span 2;
    background-color: var(--bg-card);
}

.bento-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* SOLUÇÕES INTEGRADAS */
.solutions-section {
    padding: 140px 0;
    background-color: var(--white);
}
.services-list-premium {
    margin-top: 60px;
    border-top: 1px solid rgba(98, 115, 141, 0.15);
}

.service-row-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Divide o espaço entre texto e imagem */
    padding: 64px 0;
    border-bottom: 1px solid rgba(98, 115, 141, 0.15);
    align-items: center;
    gap: 60px;
}

.service-row-item:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
}
.service-row-item:nth-child(even) .service-row-title {
    order: 2;
}
.service-row-item:nth-child(even) .service-row-visual {
    order: 1;
}

.service-row-title h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand-slate);
    letter-spacing: -0.015em;
    margin-bottom: 16px;
}

.service-row-title p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-row-visual {
    width: 100%;
    height: 350px;
    border-radius: 24px;
    overflow: hidden; /* Corta a imagem se ela passar das bordas ao crescer */
    box-shadow: 0 20px 40px rgba(98, 115, 141, 0.08);
}

.scroll-zoom-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomInScroll linear both;
    animation-timeline: view();
    animation-range: entry 10% exit 80%;
}

@keyframes zoomInScroll {
    from {
        transform: scale(1.3);
        filter: brightness(0.6) grayscale(0.3);
    }
    to {
        transform: scale(1);
        filter: brightness(1) grayscale(0);
    }
}

.solutions-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.solution-block {
    background-color: var(--bg-light);
    padding: 60px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

.solution-block.environmental-side {
    background-color: #f7f9f8; /* Tom sutilmente puxado para o verde de fundo */
}

.solution-tag {
    align-self: flex-start;
    background-color: rgba(98, 115, 141, 0.12);
    color: var(--brand-slate);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.solution-tag.green {
    background-color: rgba(127, 156, 138, 0.15);
    color: var(--brand-green);
}

.solution-block h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.solution-block p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.link-arrow {
    color: var(--brand-slate);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s ease;
}

.link-arrow:hover {
    transform: translateX(4px);
}

.link-arrow.green-arrow {
    color: var(--brand-green);
}

/* SEGMENTOS DE ATUAÇÃO */
.segments-section {
    padding: 120px 0;
    background-color: var(--bg-light)   ;
}

.segments-list {
    margin-top: 60px;
}

.segment-item {
    display: flex;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid rgba(98, 115, 141, 0.15);
}

.segment-number {
    font-size: 1.1rem;
    color: var(--brand-green);
    font-weight: 600;
    width: 80px;
}

.segment-item h4 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* NOSSAS ÁREAS DE ATUAÇÃO  */
.solutions-section {
    padding: 140px 0;
    background-color: var(--white);
}

.services-list-premium {
    margin-top: 60px;
    border-top: 1px solid rgba(98, 115, 141, 0.15);
}

.service-row-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    padding: 48px 0;
    border-bottom: 1px solid rgba(98, 115, 141, 0.15);
    align-items: center;
    gap: 40px;
}

.service-row-title h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-slate);
    letter-spacing: -0.015em;
}

.service-row-desc p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* SEÇÃO FALE CONOSCO */
.contact-section {
    padding: 140px 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 40px;
}

/* REDES SOCIAIS */
.social-links-container h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-slate);
    margin-bottom: 16px;
}

.social-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    background-color: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(98, 115, 141, 0.12);
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: var(--brand-slate);
    color: var(--white);
    transform: translateY(-2px);
}

/* FORMULÁRIO ESTILO APPLE */
.contact-form-block {
    background-color: var(--white);
    padding: 50px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(98, 115, 141, 0.05);
}

.apple-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px;
    background-color: var(--bg-light);
    border: 1px solid transparent;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--brand-slate);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(98, 115, 141, 0.1);
}

.form-submit {
    border: none;
    cursor: pointer;
    text-align: center;
    padding: 16px;
    font-size: 15px;
}

/* ==========================================================================
   RESPONSIVIDADE MASTER - TELA INICIAL (INDEX)
   ========================================================================== */

/* 1. TABLETS GRANDES E LAPTOPS PEQUENOS (Até 1200px) */
@media (max-width: 1200px) {
    .hero-title-white { font-size: 3.5rem; }
    .text-gradient-white { font-size: 2.2rem; }
    .section-header h2 { font-size: 2.5rem; }
}

/* 2. TABLETS (Até 992px) */
@media (max-width: 992px) {
    /* Hero */
    .hero-title-white { font-size: 3rem; }
    
    /* Bento Grid (Cai para 2 colunas no tablet) */
    .bento-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .bento-card.large { grid-column: span 2; } /* O card grande ocupa a linha toda */

    /* Serviços / Soluções (Desfaz o grid lateral) */
    .service-row-item, 
    .service-row-item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 0;
        text-align: center; /* Centraliza para equilibrar o design mobile */
    }
    
    /* Força o texto para cima e imagem para baixo sempre */
    .service-row-item .service-row-title,
    .service-row-item:nth-child(even) .service-row-title { order: 1; }
    
    .service-row-item .service-row-visual,
    .service-row-item:nth-child(even) .service-row-visual { order: 2; }
    
    .service-row-visual { height: 300px; }

    /* Contato */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .contact-info { text-align: center; }
    .social-badges { justify-content: center; }
}

/* 3. CELULARES E TELAS PEQUENAS (Até 768px) */
@media (max-width: 768px) {
    /* Ajustes Gerais de Seções */
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 2.2rem; }
    .bento-section, .solutions-section, .contact-section { padding: 80px 0; }

    /* Hero Totalmente Mobile */
    .hero-title-white { 
        font-size: 2.5rem; 
        line-height: 1.15; 
    }
    .text-gradient-white { 
        font-size: 1.8rem; 
        margin-bottom: 20px; 
    }
    .hero-desc-white { 
        font-size: 1.05rem; 
        margin-bottom: 32px; 
        padding: 0 10px;
    }
    
    /* Botões empilhados e largos */
    .hero-buttons-center { 
        flex-direction: column; 
        align-items: stretch; 
        gap: 16px; 
    }
    .btn-primary-white, .btn-secondary-white { 
        width: 100%; 
        text-align: center; 
    }

    /* Bento Grid (Cai para 1 coluna no celular) */
    .bento-grid { 
        grid-template-columns: 1fr; 
        gap: 16px; 
    }
    .bento-card.large { grid-column: span 1; }
    .bento-card { 
        min-height: auto; 
        padding: 32px 24px; 
    }
    .bento-card h3 { font-size: 1.4rem; }

    /* Serviços */
    .service-row-title h3 { font-size: 1.8rem; }
    .service-row-visual { height: 240px; } /* Imagem menor no celular */

    /* Formulário de Contato */
    .contact-info h2 { font-size: 2.2rem; }
    .contact-info p { font-size: 1.1rem; }
    .contact-form-block { 
        padding: 32px 24px; /* Reduz a caixa branca do formulário */
        border-radius: 20px;
    }
    .form-group input, .form-group textarea { padding: 14px; }
    
    /* Indicador de Scroll (Menor no celular) */
    .scroll-indicator { 
        bottom: 20px; 
        transform: translateX(-50%) scale(0.85); 
    }
}

/* 4. CELULARES MUITO PEQUENOS (iPhone SE, etc - Até 480px) */
@media (max-width: 480px) {
    .hero-title-white { font-size: 2.2rem; }
    .text-gradient-white { font-size: 1.5rem; }
    .section-header h2 { font-size: 1.8rem; }
    .bento-card h3 { font-size: 1.3rem; }
    .contact-info h2 { font-size: 1.8rem; }
}