/* AgriFusion Exports — estilo compartilhado */

:root {
  --teal: #0e93a3;
  --teal-dark: #0a6b78;
  --teal-light: #4fc6d4;
  --navy: #1a3a5c;
  --navy-dark: #0f2438;
  --green: #5aad3f;
  --green-dark: #3f7a2c;
  --off-white: #f5f8f8;
  --gray-text: #4a5a63;
  --border: #e1e8ea;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-text);
  line-height: 1.7;
  font-size: 16px;
  background: var(--white);
}

img { max-width: 100%; display: block; }

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

a { color: inherit; }

h1, h2, h3, h4 { color: var(--navy-dark); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { max-width: 680px; }

section { padding: 72px 0; }
.section-alt { background: var(--off-white); }

.eyebrow {
  display: inline-block;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.divider {
  width: 56px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  margin: 14px 0 28px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── BOTÕES ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-whats {
  background: #25d366;
  color: var(--white);
}
.btn-whats:hover { background: #1ebe5b; transform: translateY(-2px); }

/* ── HEADER / NAV ── */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text strong { color: var(--navy-dark); font-size: 1.05rem; font-weight: 800; }
.nav-logo-text span { color: var(--teal-dark); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.5px; }

nav.nav-links { display: flex; align-items: center; gap: 32px; }
nav.nav-links a {
  text-decoration: none;
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
nav.nav-links a:hover, nav.nav-links a.active { color: var(--teal-dark); border-color: var(--teal); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.9rem; }

/* ── SELETOR DE IDIOMA ── */
.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-switch button {
  border: none;
  background: var(--white);
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 8px 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-switch button + button { border-left: 1px solid var(--border); }
.lang-switch button:hover { background: var(--off-white); }
.lang-switch button.active { background: var(--teal); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy-dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.25s;
}

@media (max-width: 860px) {
  nav.nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    display: none;
  }
  nav.nav-links.open { display: flex; }
  nav.nav-links a { width: 100%; padding: 10px 0; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-right { gap: 8px; }
  .lang-switch button { padding: 6px 8px; font-size: 0.72rem; }
}

/* ── HERO ── */
.hero {
  position: relative;
  color: var(--white);
  padding: 96px 0 90px;
  text-align: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,36,56,0.92) 0%, rgba(26,58,92,0.86) 55%, rgba(14,147,163,0.72) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); }
.hero .tagline {
  color: var(--teal-light);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  margin: 18px auto 8px;
}
.hero p.lead {
  color: #dcecee;
  font-size: 1.1rem;
  margin: 18px auto 34px;
  max-width: 620px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.page-hero {
  position: relative;
  background:
    linear-gradient(160deg, rgba(15,36,56,0.93) 0%, rgba(26,58,92,0.90) 100%),
    url('../img/port-banner.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: #cfe3e6; margin: 12px auto 0; }

/* ── BANNER DE EXPORTAÇÃO ── */
.export-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, rgba(15,36,56,0.80) 0%, rgba(14,147,163,0.55) 100%), url('../img/export-ship.jpg') center/cover no-repeat;
  color: var(--white);
}
.export-banner .container { max-width: 560px; }
.export-banner h2 { color: var(--white); }
.export-banner p { color: #dcecee; }
.export-banner--fleet {
  background: linear-gradient(160deg, rgba(15,36,56,0.82) 0%, rgba(10,107,120,0.55) 100%), url('../img/export-fleet.jpg') center/cover no-repeat;
}

/* ── INTRO COM IMAGEM (home) ── */
.intro-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 780px) {
  .intro-split { grid-template-columns: 1fr 1fr; }
}
.intro-split img { border-radius: 16px; }

/* ── GRIDS DE CARDS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,36,56,0.09); }
.card .icon-box {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: var(--white);
}
.card h3 { color: var(--navy-dark); margin-bottom: 8px; }
.card p { font-size: 0.94rem; margin: 0; max-width: 100%; color: var(--gray-text); }

.commodity-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
}
.commodity-card img { width: 100%; height: 150px; object-fit: cover; }
.commodity-card .body { padding: 18px; }
.commodity-card h3 { font-size: 1rem; color: var(--navy-dark); }

/* ── SOBRE / VALORES ── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 780px) {
  .about-inner { grid-template-columns: 1fr 1fr; }
}
.about-inner img { border-radius: 16px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.value-item {
  background: var(--off-white);
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 22px 20px;
}
.value-item h3 { font-size: 1rem; margin-bottom: 6px; }
.value-item p { font-size: 0.9rem; margin: 0; max-width: 100%; }

/* ── TIMELINE (COMO FUNCIONA) ── */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 36px; position: relative; }
.steps::before {
  content: ''; position: absolute; left: 23px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--green));
}
.step { display: flex; gap: 22px; padding-bottom: 34px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; flex-shrink: 0; position: relative; z-index: 1;
}
.step-body h3 { margin-bottom: 4px; }
.step-body p { font-size: 0.94rem; margin: 0; max-width: 100%; }

/* ── CTA FINAL ── */
.cta-final {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--teal-dark) 100%);
  color: var(--white);
  text-align: center;
}
.cta-final h2 { color: var(--white); }
.cta-final p { color: #d7ecee; margin-left: auto; margin-right: auto; }
.cta-final .hero-actions { margin-top: 28px; }

/* ── CONTATO ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-info-item .icon-box {
  width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-info-item h3 { font-size: 0.98rem; margin-bottom: 2px; }
.contact-info-item p { margin: 0; font-size: 0.94rem; }
.contact-info-item a { text-decoration: none; color: var(--teal-dark); font-weight: 600; }

form.contact-form {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.86rem; font-weight: 700; color: var(--navy-dark); }
.form-row input, .form-row textarea, .form-row select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--gray-text);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--teal);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: #7a8a92; }
#form-status { font-size: 0.9rem; font-weight: 600; }

/* ── FOOTER ── */
footer.site-footer {
  background: var(--navy-dark);
  color: #b9cdd4;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { text-decoration: none; color: #b9cdd4; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--teal-light); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo img { height: 38px; }
.footer-logo strong { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #7f95a0;
}

/* ── WHATSAPP FLUTUANTE ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25d366;
  color: #fff;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
