@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

@font-face {
  font-family: 'Gotham Condensed';
  src: url('fonts/GothamCond-Book.woff2') format('woff2'),
       url('fonts/GothamCond-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham Condensed';
  src: url('fonts/GothamCond-Medium.woff2') format('woff2'),
       url('fonts/GothamCond-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham Condensed';
  src: url('fonts/GothamCond-Bold.woff2') format('woff2'),
       url('fonts/GothamCond-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham Condensed';
  src: url('fonts/GothamCond-Black.woff2') format('woff2'),
       url('fonts/GothamCond-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #10131a;
  color: #fff;
  line-height: 1.6;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Animações globais */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Cabeçalho Moderno Menor com Animação */
header {
  background: #232021;
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  min-height: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  border-radius: 0;
  box-shadow: none;
  transition: background 0.3s;
}
.container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  padding: 0;
}
.logo {
  margin-left: 0;
  margin-right: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 56px;
}
.logo, .logo-sonic, .logo-flex {
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  color: #00b4fc;
  background: none;
  margin-left: 0;
  margin-right: 0;
  user-select: none;
  display: flex;
  align-items: center;
}
.logo-sonic {
  font-weight: 700;
  color: #00b4fc;
  letter-spacing: 0.01em !important;
}
.logo-flex {
  font-weight: 400;
  margin-left: 1px;
  color: #fff;
}
.menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 36px;
  height: 56px;
}
.menu a {
  display: flex;
  align-items: center;
  height: 56px;
  position: relative;
  text-transform: uppercase;
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.18em;
  font-size: 15px;
  font-weight: 400;
  color: #bfc0c0;
  background: none;
  padding: 0 2px;
  transition: color 0.2s;
  text-decoration: none;
  border: none;
  box-shadow: none;
  overflow: hidden;
}
.menu a::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #00b4fc;
  transition: width 0.3s cubic-bezier(.77,0,.18,1);
}
.menu a:hover, .menu a:focus {
  color: #00b4fc;
  background: none;
}
.menu a:hover::after, .menu a:focus::after {
  width: 100%;
}
@media (max-width: 900px) {
  header {
    padding: 0 12px;
  }
  .logo, .logo-sonic, .logo-flex {
    font-size: 18px;
  }
  .menu {
    gap: 18px;
  }
  .menu a {
    font-size: 13px;
  }
}

/* Hero com animação de entrada */
.hero {
  min-height: 85vh;
  width: 100vw;
  max-width: 100vw;
  border-radius: 0;
  background: url('images/sonicflex.png') center center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 64px 20px 0 20px;
  animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
  box-shadow: 0 8px 32px rgba(0,180,252,0.10);
  margin-top: 0;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16, 19, 26, 0.7);
  z-index: 1;
}
.hero > * {
  position: relative;
  z-index: 2;
}
.hero-content {
  width: 100%;
  max-width: 600px;
  animation: fadeIn 1.2s cubic-bezier(.77,0,.18,1) 0.5s both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.13);
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.92;
}

.btn {
  background: linear-gradient(90deg, #222c36 0%, #00b4fc 100%);
  color: #fff;
  padding: 14px 32px;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 2px 12px rgba(0,180,252,0.10);
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s, filter 0.2s;
  cursor: pointer;
  animation: scaleIn 0.8s cubic-bezier(.77,0,.18,1) 0.7s both;
}
.btn:hover {
  background: linear-gradient(90deg, #00b4fc 0%, #222c36 100%);
  color: #fff;
  transform: scale(1.07) translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,180,252,0.18);
  filter: brightness(1.08) drop-shadow(0 2px 12px #00b4fc44);
}

/* Seções modernas */
section {
  padding: 64px 20px;
  max-width: 900px;
  margin: 0 auto 48px auto;
  background: #181c25;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,180,252,0.07);
  transition: box-shadow 0.3s;
  color: #fff;
  opacity: 0;
  animation: fadeInUp 1.1s cubic-bezier(.77,0,.18,1) 0.3s both;
  animation-delay: 0.3s;
}
section:hover {
  box-shadow: 0 8px 32px rgba(0,180,252,0.13);
}

section h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 36px;
  color: #00b4fc;
  letter-spacing: 0.5px;
}

/* Formulário moderno */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(0,172,238,0.04);
  padding: 32px 24px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,172,238,0.04);
}

form input,
form textarea,
form select {
  padding: 14px;
  border: 1.5px solid #b3e0f7;
  border-radius: 8px;
  font-size: 16px;
  background: #fafdff;
  transition: border 0.3s, box-shadow 0.3s;
  box-shadow: 0 1px 4px rgba(0,172,238,0.04);
}
form input:focus,
form textarea:focus,
form select:focus {
  border: 1.5px solid #00acee;
  outline: none;
  box-shadow: 0 2px 12px rgba(0,172,238,0.10);
}

form button {
  background: linear-gradient(90deg, #00acee 0%, #007bff 100%);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s, filter 0.2s;
  box-shadow: 0 2px 8px rgba(0,172,238,0.08);
  animation: scaleIn 0.8s cubic-bezier(.77,0,.18,1) 0.7s both;
}
form button:hover {
  background: linear-gradient(90deg, #007bff 0%, #00acee 100%);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,172,238,0.13);
  filter: brightness(1.08) drop-shadow(0 2px 12px #00b4fc44);
}

/* Resultado da calculadora */
#resultado {
  margin-top: 20px;
  text-align: center;
  font-weight: 600;
  color: #00b4fc;
  font-size: 20px;
  background: #fafdff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,172,238,0.04);
  animation: fadeInResult 0.7s;
}
@keyframes fadeInResult {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Remover espaço entre header e hero */
header + .hero {
  margin-top: 0;
}

.contato-frete-container {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto 48px auto;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1.1s cubic-bezier(.77,0,.18,1) 0.3s both;
  animation-delay: 0.3s;
}
.contato-frete-container section {
  flex: 1 1 400px;
  min-width: 340px;
  max-width: 480px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}
.contato-frete-container form {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (max-width: 900px) {
  .contato-frete-container {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .contato-frete-container section {
    max-width: 100%;
  }
}

.checkbox-group {
  display: flex;
  gap: 16px;
  margin: 8px 0 0 0;
  flex-wrap: wrap;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #fff;
  gap: 4px;
  background: rgba(0,180,252,0.06);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.checkbox-group label:hover {
  background: rgba(0,180,252,0.15);
}

.input-erro {
  border: 2px solid #ff4d4f !important;
  background: #fff0f0 !important;
  color: #ff4d4f !important;
}

.etapas-processo {
  width: 100%;
  background: none;
  padding: 48px 0 32px 0;
  margin: 0 auto 48px auto;
}
.etapas-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
}
.etapa {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 360px;
  max-width: 480px;
  flex: 1 1 360px;
  background: #dedfe0;
  border-radius: 32px;
  box-shadow: none;
  padding: 40px 24px 32px 24px;
  margin: 0 24px;
  transition: none;
}
.etapa-icone {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 18px;
}
.etapa-titulo, .etapa-desc, .etapa-destaque {
  text-align: center;
  width: 100%;
}
.etapa:first-child { margin-left: 0; }
.etapa:last-child { margin-right: 0; }
.etapa-icone img {
  width: 80px;
  height: 80px;
  margin-bottom: 0;
  display: block;
  object-fit: contain;
  aspect-ratio: 1/1;
}
.etapa-titulo {
  font-family: 'Barlow', 'Montserrat', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #444;
  margin-bottom: 18px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.etapa-entrega {
  color: #ff6f3c;
}
.etapa-desc {
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 0;
  margin-top: 8px;
}
.etapa-destaque {
  font-weight: bold;
  color: #111;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  text-transform: uppercase;
}
.etapa-seta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-width: 60px;
  max-width: 60px;
  height: auto;
}
.etapa-seta svg polygon {
  fill: #fff;
}
.etapa-seta svg {
  display: block;
  margin: auto;
  width: 40px;
  height: 40px;
  animation: setaDesliza 2.2s infinite linear;
  z-index: 0;
}
@keyframes setaDesliza {
  0% {
    opacity: 1;
    transform: translateX(-50px);
  }
  50% {
    opacity: 1;
    transform: translateX(10px);
  }
  60% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 0;
    transform: translateX(60px);
  }
}
.etapa-seta:nth-child(3) svg {
  animation-delay: 1.1s !important;
}
@media (max-width: 1200px) {
  .etapas-container {
    gap: 0;
    flex-wrap: wrap;
  }
  .etapa, .etapa-seta {
    min-width: 220px;
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .etapas-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .etapa-seta {
    transform: rotate(90deg);
    margin: 16px 0;
    min-width: 40px;
    max-width: 40px;
  }
  .etapa {
    margin: 0 0 24px 0;
  }
  .hero {
    background-image: url('images/sonicflexmobile.png') !important;
    background-size: cover !important;
  }
}

.section-divider {
  width: 100%;
  max-width: 1200px;
  height: 0;
  border: none;
  border-top: 2px solid #e0e3e8;
  margin: 48px auto 32px auto;
  background: none;
}

.servicos-flex-mapa-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px auto;
  padding: 32px 0 32px 0;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1.1s cubic-bezier(.77,0,.18,1) 0.3s both;
  animation-delay: 0.3s;
}
.mapa-flex-img {
  width: 600px;
  max-width: 98vw;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  background: #dedfe0;
}
.servicos-flex-texto {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 0 48px;
  max-width: 520px;
  min-width: 280px;
  color: #222c36;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.servicos-flex-texto h2 {
  color: #00b4fc;
  font-size: 2rem;
  font-family: 'Barlow', 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 18px;
}
.servicos-flex-texto p {
  font-size: 1.13rem;
  color: #fff;
  line-height: 1.6;
}
@media (min-width: 1101px) {
  .servicos-flex-mapa-container {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 48px;
  }
  .mapa-flex-img {
    max-width: 600px;
    width: 100%;
    height: auto;
  }
  .servicos-flex-texto {
    max-width: 520px;
    min-width: 280px;
    padding: 0 0 0 48px;
  }
}
@media (max-width: 1100px) {
  .servicos-flex-mapa-container {
    flex-direction: column;
    gap: 32px;
    padding: 24px 0;
  }
  .mapa-flex-img {
    width: 98vw;
    max-width: 98vw;
  }
  .servicos-flex-texto {
    max-width: 98vw;
    padding: 24px 0 0 0;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 32px;
  }
}

.hero-subtitle {
  font-family: 'Gotham Condensed', 'Inter', 'Montserrat', Arial, sans-serif;
  font-style: italic;
  font-size: 2rem;
  color: #fff;
  margin: 40px auto 0 auto;
  max-width: 600px;
  text-align: center;
  letter-spacing: 0.08em;
  font-weight: 400;
  animation: fadeInUp 1.1s cubic-bezier(.77,0,.18,1) 0.5s both;
}
.hero-btn {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  background: #0074b8;
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.25s, transform 0.18s, box-shadow 0.25s;
  animation: fadeIn 1.2s cubic-bezier(.77,0,.18,1) 0.5s both;
}
.hero-btn:hover, .hero-btn:focus {
  background: #005a8c;
  color: #fff;
  transform: translateX(-50%) scale(1.07) translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,116,184,0.18), 0 0 16px #00b4fc44;
}
@media (max-width: 900px) {
  .hero-btn {
    bottom: 24px;
    padding: 8px 16px;
    font-size: 0.95rem;
  }
}

h1, h2, h3, .etapa-titulo, .servicos-flex-texto h2 {
  color: #00b4fc !important;
  font-style: italic;
  text-shadow: 0 0 10px #00b4fc88, 0 0 2px #00b4fc66;
}

/* Ícone maior só para a etapa de entrega */
.etapa:last-child .etapa-icone img {
  width: 100px;
  height: 100px;
}

.rastreio-section {
  background: #101113;
  padding: 64px 20px 32px 20px;
  max-width: 100vw;
  border-radius: 0;
  box-shadow: none;
  margin: 0 auto 48px auto;
  text-align: center;
}
.rastreio-section h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 48px;
  letter-spacing: 0.01em;
  text-shadow: none;
}
.rastreio-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px 64px;
  margin-bottom: 48px;
}
.rastreio-logo {
  height: 80px;
  width: auto;
  max-width: 256px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  background: none;
  display: block;
  animation: flutuarLogo 3.5s ease-in-out infinite alternate;
}
@keyframes flutuarLogo {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.rastreio-destaque {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: #181c25;
  border-radius: 18px;
  padding: 32px 48px;
  margin: 0 auto 48px auto;
  width: fit-content;
  min-width: 0;
  max-width: none;
  box-shadow: 0 4px 24px rgba(0,180,252,0.07);
  flex-direction: row !important;
}
.rastreio-destaque-texto {
  font-family: 'Gotham Condensed', 'Inter', 'Montserrat', Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 400;
  font-size: 2.8rem !important;
  white-space: nowrap;
  display: block;
  align-items: center;
  justify-content: center;
  text-align: left;
}
.rastreio-destaque-icone {
  max-width: 320px !important;
  max-height: 220px !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
}
@media (max-width: 900px) {
  .rastreio-section h2 {
    font-size: 1.5rem;
  }
  .rastreio-destaque {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    gap: 12px;
    max-width: 98vw;
  }
  .rastreio-destaque-texto {
    white-space: normal;
    margin-bottom: 0;
    margin-top: 0;
  }
  .rastreio-destaque-icone {
    margin-top: 8px;
    max-width: 260px !important;
    max-height: 180px !important;
  }
  .rastreio-logo, .rastreio-destaque-icone {
    height: 40px;
    max-width: 120px;
  }
}

.rastreio-logos-linha {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-bottom: 40px;
  flex-wrap: nowrap;
}
.rastreio-logos-linha:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .rastreio-logos-linha {
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }
}

.rastreio-titulo {
  color: var(--shadow-white) !important;
  text-shadow: 0 0 4px #ff000044, 0 0 1px #ff000022;
  font-style: italic;
}
@media (max-width: 900px) {
  .rastreio-titulo {
    font-size: 1.5rem;
  }
}

:root {
  --shadow-black: #101113;
  --shadow-white: #fff;
}

.rastreio-section {
  background: var(--shadow-black);
  color: var(--shadow-white);
}
.rastreio-titulo {
  color: var(--shadow-white) !important;
  text-shadow: 0 0 16px #ff0000, 0 0 2px #ff0000;
  font-style: italic;
}
.rastreio-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 50px;
  justify-items: center;
  align-items: center;
  padding: 40px 0;
}
.rastreio-logo {
  max-width: 70%;
  height: auto;
  max-height: 56px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out;
  animation: floatAndFade 5s ease-in-out infinite alternate;
}
@keyframes floatAndFade {
  0% {
    transform: translateY(0px) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-12px) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.9;
  }
}
@media (max-width: 900px) {
  .rastreio-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 20px 0;
  }
}

.rastreio-logo[alt="Nuvemshop"] {
  max-width: 240px !important;
  max-height: 170px !important;
}
.rastreio-logo[alt="TinyERP"] {
  max-width: 240px !important;
  max-height: 170px !important;
}
.rastreio-logo[alt="Mercado Livre"] {
  max-width: 120px !important;
  max-height: 90px !important;
}

.rastreio-destaque-icone[alt="LogManager"]:hover {
  transform: scale(1.15) translateY(-6px);
  box-shadow: none;
}
.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9999;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 24px #00b4fc33;
  border-radius: 50%;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 8px 32px #00b4fc66, 0 0 16px #fff3;
}

.footer-sonic {
  background: #181c25;
  color: #fff;
  padding: 32px 0 18px 0;
  margin-top: 48px;
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-logo .logo {
  font-size: 2rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #00b4fc;
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.footer-logo .logo-flex {
  color: #fff;
  font-weight: 400;
  margin-left: 1px;
}
.footer-info {
  text-align: center;
  line-height: 1.7;
}
.footer-copy {
  color: #bfc0c0;
  font-size: 0.95rem;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .footer-logo .logo {
    font-size: 1.2rem;
  }
  .footer-sonic {
    font-size: 0.95rem;
    padding: 24px 0 10px 0;
  }
}

.menu-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  z-index: 1002;
}
.menu-hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #00b4fc;
  border-radius: 2px;
  transition: 0.3s;
}
.menu-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 80vw;
  max-width: 320px;
  height: 100vh;
  background: #181c25;
  box-shadow: -2px 0 24px #0008;
  z-index: 1001;
  padding: 64px 24px 24px 24px;
  gap: 32px;
  align-items: flex-start;
  font-size: 1.2rem;
  transition: transform 0.3s;
  transform: translateX(100%);
}
.menu-mobile.aberto {
  display: flex;
  transform: translateX(0);
}
.menu-mobile a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid #222c36;
  transition: color 0.2s;
}
.menu-mobile a:last-child {
  border-bottom: none;
}
.menu-mobile a:hover {
  color: #00b4fc;
}
@media (max-width: 900px) {
  .menu {
    display: none !important;
  }
  .menu-hamburger {
    display: flex;
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 24px 4vw 0 4vw;
    min-height: 60vh;
  }
  .hero-content {
    max-width: 98vw;
  }
  .footer-sonic {
    font-size: 0.9rem;
    padding: 18px 0 8px 0;
  }
  .footer-logo .logo {
    font-size: 1rem;
  }
  .footer-info {
    font-size: 0.95rem;
  }
  .rastreio-destaque-texto {
    font-size: 1.2rem !important;
  }
  .rastreio-destaque-icone {
    max-width: 120px !important;
    max-height: 80px !important;
  }
}

.menu-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.35);
  z-index: 1000;
}
@media (max-width: 900px) {
  .rastreio-destaque {
    max-width: 98vw;
    box-sizing: border-box;
    overflow-x: auto;
  }
}

.footer-social {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.footer-insta svg {
  display: inline-block;
  vertical-align: middle;
  border-radius: 8px;
  box-shadow: 0 2px 8px #00b4fc22;
  transition: transform 0.2s, box-shadow 0.2s;
}
.footer-insta:hover svg {
  transform: scale(1.13) rotate(-6deg);
  box-shadow: 0 4px 16px #00b4fc55;
}

section, .contato-frete-container, .servicos-flex-mapa-container, .rastreio-section, .footer-sonic {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1);
}
section.visible, .contato-frete-container.visible, .servicos-flex-mapa-container.visible, .rastreio-section.visible, .footer-sonic.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Estilo para o seletor de idioma */
.lang-switcher {
  display: flex;
  gap: 8px;
  margin-left: 32px;
  align-items: center;
}
.lang-switcher button {
  background: #10131a;
  color: #00b4fc;
  border: 1.5px solid #00b4fc;
  border-radius: 6px;
  padding: 6px 16px;
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  outline: none;
}
.lang-switcher button:hover, .lang-switcher button:focus {
  background: #00b4fc;
  color: #fff;
  border-color: #00b4fc;
}
@media (max-width: 900px) {
  .lang-switcher {
    margin-left: 0;
    margin-top: 8px;
    justify-content: flex-end;
  }
  .lang-switcher button {
    padding: 6px 10px;
    font-size: 0.95rem;
  }
}
/* Ajuste para alinhar à direita no container do cabeçalho */
header .container {
  align-items: center;
}
.menu {
  flex: 1 1 auto;
}
.lang-switcher {
  margin-left: auto;
}

/* Logo mais à esquerda no cabeçalho */
header .container {
  justify-content: flex-start;
}
/* Logo totalmente à esquerda */
.logo {
  margin-left: 0 !important;
  margin-right: 32px;
}
header {
  padding-left: 0 !important;
}
.container {
  padding-left: 0 !important;
}
@media (max-width: 900px) {
  header {
    padding-left: 0 !important;
  }
  .container {
    padding-left: 0 !important;
  }
}
.menu {
  margin-left: 0;
}
.lang-switcher {
  margin-left: auto;
}

/* Espaçamento entre títulos das seções */
h2, .etapa-titulo, .servicos-flex-texto h2, .rastreio-titulo {
  margin-top: 40px;
  margin-bottom: 18px;
}
h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  h2, .etapa-titulo, .servicos-flex-texto h2, .rastreio-titulo {
    margin-top: 28px;
    margin-bottom: 12px;
  }
  h3 {
    margin-top: 18px;
    margin-bottom: 8px;
  }
}

h2, .etapa-titulo, .servicos-flex-texto h2, .rastreio-titulo {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
