/* --------------------------------------------------
  RESET & BASE
-------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; 
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #222; 
    background: #fff; 
    overflow-x: hidden; 
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit; 
}

.container {
    width: 90%;
    max-width: 1250px; 
    margin: 0 auto;
}

/* --------------------------------------------------
  TYPOGRAPHY
-------------------------------------------------- */

.heading-xxl {
    font-size: 48px;
    font-weight: 800; 
    line-height: 1.2;
}

.heading-xl {
    font-size: 36px;
    font-weight: 700;
}

.heading-lg {
    font-size: 30px; 
    font-weight: 700;
    margin-bottom: 15px;
}

.heading-md {
    font-size: 22px;
    font-weight: 600; 
}

.heading-sm {
    font-size: 18px;
    font-weight: 600;
}

.text-xl {
    font-size: 20px;
    margin-top: 10px;
    opacity: .9; 
}

.text-md {
    font-size: 18px; 
    line-height: 1.6;
    opacity: .8; 
    text-align: left !important; /* FORÇAR ALINHAMENTO À ESQUERDA PARA CONTEÚDO */
}

.text-sm {
    font-size: 15px; 
    line-height: 1.6;
    opacity: .8; 
}

.text-gray {
    color: #777;
}

.max-width-800 {
    max-width: 800px;
    margin: auto;
}

.text-center { /* CLASSE MANTIDA APENAS PARA HERO, CTA E RODAPÉ */
    text-align: center !important;
}

/* --------------------------------------------------
  HEADER
-------------------------------------------------- */

.header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0; 
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: #222;
    text-decoration: none;
    transition: .2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #e0a100; 
}

/* MOBILE MENU ICON */

.menu-icon {
    display: none; /* OCULTO POR PADRÃO NO DESKTOP */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-icon .bar {
    width: 28px;
    height: 3px;
    background: #000;
    border-radius: 4px;
}

/* MOBILE NAV */
.mobile-nav-menu {
    display: none; /* OCULTO POR PADRÃO */
    flex-direction: column;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
    gap: 15px;
    position: absolute;
    width: 100%;
    top: 97px; /* ALTURA DO HEADER */
    z-index: 15;
}

.mobile-nav-menu .nav-link {
    font-size: 18px;
    font-weight: 600;
}


/* --------------------------------------------------
  HERO SECTIONS
-------------------------------------------------- */

.hero-section,
.hero-small {
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center; /* MANTIDO ALINHAMENTO CENTRAL NO HERO */
}

.hero-small {
    height: 45vh;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.55);
    top: 0;
}

.hero-content {
    position: relative;
    color: #fff;
    padding: 20px;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-buttons { 
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --------------------------------------------------
  BUTTONS
-------------------------------------------------- */

.button {
    padding: 12px 28px;
    border-radius: 8px; 
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.button-primary {
    align-self: center;
    align-items: center;
    margin-top: 10px;
    background: #222; 
    color: white;
    border-radius: 8px;
}

.button-primary:hover {
    background: #444; 
}

.button-outline {
    border: 2px solid white;
    color: white;
}

.button-dark {
    margin-left: 20px;
    background: #000; 
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: .2s;
}

.mt-20 {
    margin-top: 20px;
}

/* --------------------------------------------------
  HOME – SERVICES PREVIEW
-------------------------------------------------- */

.solutions-section {
    padding: 70px 0;
    text-align: center;
}

.solutions-grid { /* Usado em index.html */
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
    margin-top: 40px;
}

.solution-card { 
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    border: 1px solid #eee;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
    transition: 0.3s;
}

 
.solution-icon {
  width: 56px;
  height: 56px;
  background: #f6c500;
  border-radius: 50%;
  padding: 12px;
  color: #111; /* controla a cor do ícone */
}



/* --------------------------------------------------
  HOME – QUEM SOMOS LIST
-------------------------------------------------- */

.about-preview-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-list {
    margin-top: 20px;
    list-style: none;
    text-align: left; /* Alinhamento da lista à esquerda */
}

.about-list li { 
    display: flex;
    align-items: flex-start; 
    gap: 14px;
    margin: 16px 0;
    font-size: 16px;
}

.about-dot { 
    width: 14px;
    height: 14px;
    background: #e0a100;
    border-radius: 50%;
    margin-right: 0;
    margin-top: 4px;
    flex-shrink: 0;
}

/* --------------------------------------------------
  CTA AMARELO
-------------------------------------------------- */

.cta-yellow-section {
    padding: 60px 0;
    text-align: center;
    background: #f6c500;
}

.cta-yellow-content {
    background: #f6c500;
    padding: 50px 20px;
    border-radius: 14px;
    text-align: center;
    margin: 60px auto;
}

.cta-yellow-section h2 {
    color: #222;
}

.cta-yellow-section p {
    color: #444;
}

.cta-yellow-content h2 {
    margin-bottom: 10px;
}

/* --------------------------------------------------
  BLOG GRID 
-------------------------------------------------- */

.blog-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 34px;
}

.blog-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    padding-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
}

.blog-card img {
    width: 100%;
    height: 250px; /* PADRONIZAÇÃO DE IMAGENS DO CARD */
    object-fit: cover;
}

.blog-title {
    padding: 14px 18px;
    font-size: 20px;
    font-weight: 700;
}

.blog-text {
    padding: 0 18px 14px 18px;
    font-size: 15px;
    opacity: .8;
    text-align: left;
}

/* --------------------------------------------------
  BLOG ARTICLE (POST PAGE)
-------------------------------------------------- */

.blog-article {
    max-width: 800px;
    margin: auto;
    text-align: left;
}

.blog-article img.article-img {
    border-radius: 12px;
    margin: 25px auto;
    width: 100%;
    max-height: 400px; /* PADRONIZAÇÃO DE IMAGENS DENTRO DO POST */
    object-fit: cover;
}

.article-list {
    margin-left: 25px;
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.article-list li {
    margin: 6px 0;
    text-align: left;
}

/* --------------------------------------------------
  SERVICES PAGE
-------------------------------------------------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 32px;
    margin-top: 60px;
}

.service-card { /* Usado em service.html */
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
}

.service-card img {
    width: 100%;
    height: 180px; /* PADRONIZAÇÃO DE IMAGENS DO CARD DE SERVIÇO */
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 15px;
}


/* --------------------------------------------------
  CLIENTES PAGE (NOVO)
-------------------------------------------------- */
.logo-carousel-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

@keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-250px * 4)) }
}

.logo-carousel-track {
    display: flex;
    gap: 40px;
    justify-content: space-around;
    align-items: center;
    white-space: nowrap;
    animation: scroll 30s linear infinite; /* ATIVANDO O CARROSSEL NO CSS */
    width: calc(250px * 8); /* 8 LOGOS, 250px cada */
}

.logo-carousel-track img {
    height: 50px; 
    width: 250px;
    object-fit: contain;
    opacity: 0.8;
}

.brasil-map-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 70px;
    /* A imagem de mapa deve ser um SVG ou imagem com áreas interativas */
}

.state-dot {
    position: absolute;
    width: 25px;
    height: 25px;
    background: #f6c500; /* Cor em destaque */
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
    box-shadow: 0 0 8px rgba(246, 197, 0, 0.7);
    transform: translate(-50%, -50%); /* Centraliza o ponto */
}

.state-dot:hover {
    opacity: 1;
    box-shadow: 0 0 12px #f6c500;
}
.state-tooltip {
    visibility: hidden;
    background-color: #222;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 10;
    bottom: 150%; 
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    font-size: 14px;
    white-space: normal;
}
.state-dot:hover .state-tooltip {
    visibility: visible;
}


/* --------------------------------------------------
  ABOUT PAGE
-------------------------------------------------- */

.about-mvv-section {
    background: #f9f9f9;
    padding: 70px 0;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 4px solid #f6c500;
    text-align: left;
}

.mvv-card h3 {
    margin-bottom: 10px;
    color: #e0a100;
}

.about-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 50px 0;
    text-align: left;
}

.about-full.reverse {
    grid-template-columns: 1fr 1fr;
}

.about-full-image img {
    width: 100%;
    border-radius: 14px;
}


/* --------------------------------------------------
  CONTACT PAGE
-------------------------------------------------- */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 70px auto;
    max-width: 1000px;
    padding: 0 20px; /* AJUSTE PARA O BUG DE ROLAGEM */
}

.contact-info-box {
    background: #fff;
    padding: 32px;
    border-radius: 14px;
    border: 1px solid #eee;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 14px 0;
}

.contact-icon {
    width: 26px;
    opacity: .85;
}

.contact-form-box {
    background: #f6c500;
    padding: 32px;
    border-radius: 14px;
}

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.form-group textarea {
    min-height: 120px;
    resize: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group.full {
    grid-column: 1 / 3;
}

.form-message {
    margin-top: 12px;
    font-weight: 600;
}


/* --------------------------------------------------
  FOOTER
-------------------------------------------------- */

.footer {
    background: #111;
    color: #eee;
    padding: 70px 0 35px 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
}

.footer-column a {
    color: #eee; 
    text-decoration: none;
    display: block;
    margin: 6px 0;
    opacity: .85;
    transition: .2s;
}

.footer-column a:hover {
    opacity: 1;
    color: #ffd648; 
}

.copyright {
    margin-top: 40px;
    color: #eee; 
    opacity: .6;
}

/* --------------------------------------------------
  RESPONSIVIDADE 
-------------------------------------------------- */

@media (max-width: 992px) { 

    .solutions-grid,
    .services-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid,
    .about-full,
    .about-full.reverse { 
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-full-image {
        order: -1; /* Move a imagem para cima em telas pequenas */
    }

    .about-list {
        text-align: center;
    }
    .about-list li {
        justify-content: center;
    }
    
    .footer-grid { 
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-wrapper { 
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}



@media (max-width: 768px) { 

    .menu-icon {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    /* O mobile-nav-menu é controlado pelo JS, mas a regra aqui garante que ele pode aparecer */
    
    .solutions-grid,
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .heading-xxl {
        font-size: 32px; 
    }

    .hero-section,
    .hero-small {
        padding: 0;
        height: 50vh; 
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: 1 / 2;
    }
}



















:root{
    --bg: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --card: #ffffff;
    --border: #e6e9ef;
    --soft: #f6f8fb;

    --fill: #e9edf3;
    --stroke: #9aa6b6;

    --hoverFill: #cfeaf6;
    --hoverStroke: #0b7aa5;

    --activeFill: #0b7aa5;
    --activeStroke: #075a7a;
  }

  *{ box-sizing: border-box; }
  body{
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
  }

  .wrap{
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 16px 48px;
  }

  h1{
    font-size: 20px;
    margin: 0 0 8px;
  }

  .lead{
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
  }

  .map-wrap{
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 22px;
    align-items: start;
  }

  /* SVG */
  #br-map{
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
    user-select: none;
  }

  #br-map .state{ cursor: pointer; }
  #br-map .state .shape{
    fill: var(--fill);
    stroke: var(--stroke);
    stroke-width: 1.4;
    transition: fill .2s ease, stroke .2s ease, opacity .2s ease;
    cursor: pointer;
  }

  /* Esconde labels do SVG */
  #br-map .label_state,
  #br-map .label_icon_state{
    display: none;
  }

  /* Se existirem circles */
  #br-map .icon_state{
    fill: var(--activeFill);
    opacity: .95;
  }

  /* Hover */
  #br-map .state:hover .shape{
    fill: var(--hoverFill);
    stroke: var(--hoverStroke);
  }

  /* Estado ativo */
  #br-map .state.is-active .shape{
    fill: var(--activeFill);
    stroke: var(--activeStroke);
  }

  /* Estados sem dados */
  #br-map .state.is-disabled{
    pointer-events: none; /* ignora clique */
  }
  #br-map .state.is-disabled .shape{
    opacity: .35;
    cursor: default;
  }

  /* Painel */
  .map-panel{
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    background: var(--card);
    box-shadow: 0 12px 40px rgba(0,0,0,.06);
    position: sticky;
    top: 16px;
  }

  .map-panel-title{
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 6px;
    letter-spacing: .2px;
  }

  .map-panel-sub{
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
  }

  .map-panel-list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
  }

  .map-panel-list li{
    font-size: 14px;
    background: var(--soft);
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 10px 12px;
  }

  .hint{
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
  }

  @media (max-width: 900px){
    .map-wrap{ grid-template-columns: 1fr; }
    .map-panel{ position: relative; top: 0; }

  }

