:root {
    --color-primary: #0A2E4E;
    --color-primary-dark: #051d33;
    --color-secondary: #3B3B3B;
    --color-accent: #C0A062;
    --color-accent-hover: #d4b57a;
    --color-background: #FFFFFF;
    --color-background-alt: #F7F8FA;
    --color-white: #FFFFFF;
    --color-whatsapp: #25D366;
    
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --fs-h1: clamp(2.2rem, 5vw + 1rem, 3.5rem);
    --fs-h2: clamp(2rem, 4vw + 1rem, 2.75rem);
    --section-padding: clamp(4rem, 10vw, 6rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-secondary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--color-primary);
    font-weight: 600;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: 1.25rem; }

p {
    line-height: 1.7;
    color: #555;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding) 0;
}
.section__title {
    text-align: center;
    margin-bottom: 4rem;
}
.section__pre-title {
    font-family: var(--font-title);
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER / NAVBAR --- */
.header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 1000; 
    padding: 1.5rem 0; 
    transition: all 0.4s ease; 
    background-color: transparent; 
}

/* Estado Scrollado: Fundo Azul Escuro */
.header.scrolled { 
    background-color: var(--color-primary); /* Azul da marca */
    box-shadow: 0 2px 10px rgba(0,0,0,0.15); 
    padding: 1rem 0; 
}

/* Estilo da Logo e Links (SEMPRE BRANCO) */
.header .nav__logo-img { 
    filter: brightness(0) invert(1); /* Torna a logo branca */
    height: 40px; 
    transition: filter 0.3s ease; 
}

.header .nav__logo-text { 
    font-family: var(--font-title); 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: #fff; /* Texto da logo branco */
    transition: color 0.3s ease; 
}

/* Menu Links */
.nav__menu { display: flex; gap: 2.5rem; list-style: none; }
.nav__link { 
    text-decoration: none; 
    font-weight: 500; 
    position: relative; 
    transition: color 0.3s ease; 
    color: #fff; /* Texto dos links branco */
}

.nav__link::after { 
    content: ''; 
    position: absolute; 
    bottom: -5px; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background-color: var(--color-accent); 
    transition: width 0.3s ease; 
}
.nav__link:hover::after { width: 100%; }

/* Hover nos links */
.nav__link:hover { color: var(--color-accent); }

/* Ajustes gerais do Nav */
.nav { display: flex; justify-content: space-between; align-items: center; }
.nav__logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }


/* --- HERO --- */
.hero { 
    min-height: 100vh;
    background-image: url('https://i.ibb.co/pjxyC2Mf/fs-bg.png');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

/* 
   MASCARA DEGRADÊ: 
   Escuro na ESQUERDA (0.95) para garantir a leitura do texto.
   Transparente na DIREITA (0.1) para mostrar o caminhão/imagem.
*/
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 46, 78, 0.95) 0%, rgba(10, 46, 78, 0.7) 40%, rgba(10, 46, 78, 0.1) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start; /* Alinhamento à Esquerda */
}

.hero__content { 
    max-width: 650px;
    color: #fff; 
    text-align: left; /* Texto à Esquerda */
}

.hero__pre-title { 
    font-family: var(--font-body); 
    color: var(--color-accent); 
    font-weight: 600; 
    margin-bottom: 1rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.hero__headline { 
    line-height: 1.2; 
    margin-bottom: 1.5rem; 
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero__description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    margin-right: auto;
}

.hero__actions { 
    display: flex; 
    justify-content: flex-start; /* Botões à Esquerda */
    flex-wrap: wrap; 
    gap: 1rem; 
}

.btn { 
    padding: 0.9rem 2.5rem; 
    border-radius: 8px; 
    text-decoration: none; 
    font-family: var(--font-title); 
    font-weight: 600; 
    font-size: 1rem; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.75rem; 
    transition: all 0.3s ease; 
    border: 2px solid transparent; 
    cursor: pointer;
}

.btn--primary { background-color: var(--color-primary); color: var(--color-white); }
.btn--primary:hover { background-color: var(--color-primary-dark); transform: translateY(-3px); }

.btn--accent {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}
.btn--accent:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(192, 160, 98, 0.4);
}

.btn--outline-light {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.btn--outline-light:hover {
    background-color: #fff;
    color: var(--color-primary);
    border-color: #fff;
    transform: translateY(-3px);
}

.btn--large { padding: 1.2rem 3rem; font-size: 1.1rem; }

.servicos { background-color: var(--color-background-alt); }
.servicos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; 
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.service-card__image {
    height: 200px;
    overflow: hidden;
}
.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-card:hover .service-card__image img {
    transform: scale(1.05);
}
.service-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}
.service-card__content h3 {
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}
.service-card__content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.service-card__cta {
    margin-top: auto; 
    color: var(--color-primary);
    font-weight: 600;
    font-family: var(--font-title);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, gap 0.3s ease;
}
.service-card__cta:hover {
    color: var(--color-accent);
    gap: 0.75rem;
}

.diferenciais__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.diferencial-pillar {
    text-align: center;
    padding: 1rem;
}
.diferencial-pillar__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--color-background-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.diferencial-pillar__icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
}
.diferencial-pillar:hover .diferencial-pillar__icon {
    background-color: var(--color-accent);
    transform: scale(1.1);
}
.diferencial-pillar:hover .diferencial-pillar__icon svg {
    color: var(--color-white);
}

.atuacao { background-color: var(--color-background-alt); }
.atuacao__container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.atuacao__text h2 { margin-bottom: 1rem; }
.atuacao__text p { margin-bottom: 2rem; }
.atuacao__map { border-radius: 12px; overflow: hidden; height: 450px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.atuacao__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.9) contrast(0.9); }

.atuacao__emphasis {
    color: var(--color-primary);
    background-color: var(--color-white);
    padding: 1.25rem;
    border-left: 5px solid var(--color-accent);
    margin: 2rem 0;
    border-radius: 8px;
    line-height: 1.5;
    font-size: 1.05rem;
}

.depoimentos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.depoimento-card { padding: 2.5rem; background-color: var(--color-background-alt); border-radius: 12px; position: relative; border: 1px solid #e5e7eb; display: flex; flex-direction: column; }
.depoimento-card::before { content: '“'; position: absolute; top: 1rem; left: 1.5rem; font-size: 6rem; color: var(--color-primary); opacity: 0.05; line-height: 1; font-family: serif; z-index: 1; }
.depoimento-card p { font-size: 1.1rem; font-style: italic; margin-bottom: 1.5rem; flex-grow: 1; position: relative; z-index: 2; }
.depoimento-card__author { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid #eee; position: relative; z-index: 2; }
.depoimento-card h4 { margin-bottom: 0.25rem; }
.depoimento-card span { color: #777; font-size: 0.9rem; }

.sobre { background-color: var(--color-background-alt); }
.sobre__container { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; align-items: center; }
.sobre__image img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.sobre__text h2 { margin-bottom: 1rem; }

.faq__container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ddd; padding: 1.5rem 0; }
.faq-item summary { font-size: 1.2rem; font-weight: 600; font-family: var(--font-title); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--color-primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--color-accent); }
.faq-item p { margin-top: 1rem; }

.cta { background-color: var(--color-primary); text-align: center; }
.cta__title, .cta__subheadline { color: var(--color-white); max-width: 600px; margin-left: auto; margin-right: auto; }
.cta__subheadline { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.cta .btn--primary { background-color: var(--color-accent); color: var(--color-primary); }
.cta .btn--primary:hover { background-color: #d4b57a; }

.footer { background-color: var(--color-primary-dark); color: var(--color-white); padding: 4rem 0 2rem 0; }
.footer__layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-bottom: 0.5rem; }
.footer__logo-img { height: 40px; filter: brightness(0) invert(1); } 
.footer__logo-text { font-family: var(--font-title); font-size: 1.5rem; font-weight: 700; color: var(--color-white); }
.footer__tagline { color: rgba(255,255,255,0.7); }
.footer__col h4 { color: var(--color-accent); margin-bottom: 1rem; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 0.75rem; }
.footer__col a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s ease; }
.footer__col a:hover { color: var(--color-white); }
.footer__bottom { text-align: center; margin-top: 2rem; font-size: 0.9rem; color: rgba(255,255,255,0.6); }

.whatsapp-float { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background-color: var(--color-whatsapp); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.2); animation: pulse 2s infinite; transition: transform 0.3s ease; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.whatsapp-float:hover { transform: scale(1.1); animation: none; }
.whatsapp-float svg { width: 32px; height: 32px; color: var(--color-white); }

@media (max-width: 992px) {
    .nav__menu { display: none; }
    
    .hero {
        background-position: center; 
    }
    .hero::before {
        background: rgba(10, 46, 78, 0.85); 
    }

    .hero__content {
        text-align: center;
        margin: 0 auto;
    }
    .hero__actions {
        justify-content: center;
    }

    .atuacao__container, .sobre__container { grid-template-columns: 1fr; }
    .atuacao__map { grid-row: 1; }
    .diferenciais__grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero { padding-top: 7rem; }
    .hero__headline { font-size: 2.2rem; }
}