/* Idiomas Mobile ao lado do menu sanduíche */
.lang-mobile-menu-header {
  display: none;
  position: relative;
}
@media (max-width: 900px) {
  .lang-mobile-menu-header { display: flex !important; align-items: center; position: relative; }
  .lang-inline { display: none !important; }
}
@media (min-width: 901px) {
  .lang-mobile-menu-header { display: none !important; }
}
/* Idiomas Mobile fixo no topo */
.lang-mobile-menu-top {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: var(--bg2);
  padding: 8px 0 0 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
@media (max-width: 900px) {
  .lang-mobile-menu-top { display: block !important; }
}
@media (min-width: 901px) {
  .lang-mobile-menu-top { display: none !important; }
}
@media (max-width: 900px) {
  .mobile-menu .lang-menu { display: none !important; }
  .mobile-menu .lang-mobile-menu { display: block !important; }
}
@media (min-width: 901px) {
  .mobile-menu .lang-mobile-menu { display: none !important; }
}
/* Centraliza o texto do botão fixo no mobile */
.sticky-cta .wa-sticky-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
}
@media (max-width: 980px) {
  .mobile-menu { display: none; }
  .mobile-menu[open] { display: block !important; }
}
/* --- RESPONSIVIDADE APRIMORADA --- */
@media (max-width: 600px) {
  .hero-bg-video video {
    width: 100vw !important;
    height: 60vw !important;
    min-width: 100vw !important;
    min-height: 60vw !important;
    max-width: 100vw !important;
    max-height: 60vw !important;
    object-fit: cover !important;
    position: absolute !important;
    left: 0;
    top: 0;
    z-index: 0;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .hero-inner, .footer-inner, .cards, .gallery, .grid-2, .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .main-nav, .footer-inner {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }
  .site-header, .site-footer {
    padding: 18px 0 !important;
  }
  .hero-card, .card {
    padding: 12px !important;
  }
  .sticky-cta {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 8px 6px !important;
  }
  .wa-float {
    width: 48px; height: 48px;
    bottom: 12px; right: 12px;
  }
}
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,31,63,0.55) 0%,rgba(0,31,63,0.25) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
section#rfq h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.trustbar-inner {
  text-align: center;
}
section#servicos h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
section#agro-food h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
section#faq h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
section#galeria h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
/* Logo arredondado */
.brand img {
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1/1;
  width: 34px;
  height: 34px;
}
.site-footer .brand img {
  width: 28px;
  height: 28px;
}
/* Importa a fonte profissional 'Poppins' */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --bg: #001f3f; /* Azul Marinho Principal - Fundo Principal */
  --bg2: #001429; /* Azul Meia-Noite - Fundo Secundário */
  --text: #F0F8FF; /* Branco Gelo - Texto mais suave */
  --text-dark: #001f3f; /* Azul para texto em fundos claros */
  --brand: #B8860B; /* Dourado Queimado */
  --brand-light: #daa520; /* Dourado mais claro para gradientes/hovers */

  /* Efeito de vidro para cards */
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  
  --r: 16px; /* Raio de borda um pouco maior */
  --transition-speed: 0.3s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* Adiciona rolagem suave */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', 'Segoe UI', 'Roboto', Arial, sans-serif; /* Nova fonte */
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted {
  color: #a9c1d9; /* Tom de azul acinzentado, mais suave que dourado */
}

.small {
  font-size: .9rem;
}

a {
  color: var(--brand-light);
  transition: color var(--transition-speed);
}
a:hover {
  color: var(--brand);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.3; }

/* --- Botões --- */
.btn {
  display: inline-block;
  border: 2px solid var(--brand);
  padding: 12px 28px;
  border-radius: 12px;
  color: var(--brand);
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  text-align: center;
}
.btn:hover, .btn:focus {
  background: var(--brand);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 18px rgba(0,0,0,.2);
}

.btn-cta {
  background: linear-gradient(95deg, var(--brand-light), var(--brand));
  color: var(--text-dark);
  border: 0;
}
.btn-cta:hover {
  color: #000;
}

.btn-ghost {
  border-color: var(--card-border);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--card-border);
  color: #fff;
}
.btn-full {
  width: 100%;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(0, 31, 63, 0.8); /* Fundo azul com transparência */
  /* Removido blur para menu hamburger */
  border-bottom: 1px solid var(--card-border);
  z-index: 20;
  padding: 8px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.header-actions { display: flex; gap: 8px; align-items: center; }

/* --- Idiomas e Hamburger --- */
.lang-inline button,.lang-menu button{background:transparent;border:1px solid var(--card-border);color:var(--text);padding:6px 8px;border-radius:8px;cursor:pointer}
.lang-inline button[aria-pressed="true"],.lang-menu button[aria-pressed="true"]{background:linear-gradient(95deg,var(--brand-light),var(--brand));color:var(--text-dark);border:0}
.hamburger{display:none;position:relative;width:38px;height:34px;border:1px solid var(--card-border);border-radius:8px;background:transparent;cursor:pointer}
.hamburger span{position:absolute;left:7px;right:7px;height:2px;background:var(--text);border-radius:2px;transition:transform .25s ease,top .25s ease,opacity .2s}
.hamburger span:nth-child(1){top:9px}
.hamburger span:nth-child(2){top:16px}
.hamburger span:nth-child(3){top:23px}
.hamburger[aria-expanded="true"] span:nth-child(1){top:16px;transform:rotate(45deg)}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0}
.hamburger[aria-expanded="true"] span:nth-child(3){top:16px;transform:rotate(-45deg)}

/* --- Mobile menu --- */
.mobile-menu{position:fixed;inset:0;z-index:100}
.mm-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .2s}
.mm-inner{position:absolute;top:0;right:-320px;width:300px;height:100%;background:var(--bg2);border-left:1px solid var(--card-border);padding:16px;transition:right .25s;overflow:auto}
.mobile-menu[open] .mm-inner{right:0}
.mobile-menu[open] .mm-backdrop{opacity:1;pointer-events:auto}
.mobile-menu nav{display:flex;flex-direction:column;gap:12px}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.mobile-menu nav a {
  color: var(--text-dark);
  text-decoration: none;
  border: 1px solid var(--brand-light);
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  font-weight: 600;
  text-align: center;
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}
/* --- Seções e Cards --- */
.section { padding: 64px 0; border-top: 1px solid var(--card-border); }
.section.alt { background: var(--bg2); }
.cards { display: grid; gap: 24px; }
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  padding: 24px;
  transition: all var(--transition-speed) ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- Hero Section --- */
.hero { padding: 64px 0; border-bottom: 1px solid var(--card-border); }
.hero-inner { display: grid; gap: 48px; align-items: center; }
.hero-copy .trust { padding-left: 0; list-style: none; font-size: 0.9rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* --- Formulário Melhorado --- */
.hero-card { padding: 24px; }
label { display: block; margin: 16px 0 8px; font-weight: 600; font-size: 0.9rem; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: rgba(0,0,0,0.2);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
input::placeholder, textarea::placeholder { color: #a9c1d9; opacity: 1; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a9c1d9' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
label.checkbox { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 400; margin-top: 16px; }
label.checkbox input { width: auto; }
.form-note { font-size: 0.8rem; opacity: 0.8; margin-top: 16px; text-align: center; }

/* --- Outras seções --- */
.bullet { padding-left: 18px; } .bullet li { margin: 6px 0; }
.steps { list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 16px; }
.trustbar { border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); padding: 20px 0; background: var(--bg2); }
.t-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 14px; }
.g-item { border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; display: block; }
.g-item img { width: 100%; height: 220px; object-fit: cover; transition: transform var(--transition-speed) ease; }
.g-item:hover img { transform: scale(1.05); }
.faq details { border: 1px solid var(--card-border); border-radius: 12px; padding: 16px; margin-bottom: 8px; }
.faq summary { font-weight: 600; cursor: pointer; }
.site-footer { border-top: 1px solid var(--card-border); padding: 48px 0; background: var(--bg2); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wa-float { position: fixed; bottom: 20px; right: 20px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 80; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

/* --- RESPONSIVIDADE --- */
/* Grid Padrão (Mobile First) */
.grid-2, .grid-3, .gallery, .trustbar-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.hero-inner { grid-template-columns: 1fr; }

/* Tablet (e.g., 768px e acima) */
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop (e.g., 1024px e acima) */
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .trustbar-inner { grid-template-columns: repeat(4, 1fr); }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}

/* Ocultar/Mostrar menu principal */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
}
@media (min-width: 981px) {
  .hamburger { display: none; }
}

/* Sticky CTA no Mobile */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex; gap: 10px; justify-content: space-between;
  padding: 10px 12px;
  background: rgba(0, 20, 41, 0.9);
  /* Removido blur do sticky CTA */
  border-top: 1px solid var(--card-border);
  z-index: 80;
}
@media (min-width: 641px) {
  .sticky-cta { display: none; }
}