.blue-band {
  position: relative;
  background: var(--blue);
  color: white;
  padding: 5rem 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 20vh;
  overflow: hidden;
}

.blue-band h3 {
  font-size: 2.2rem;
  font-weight: 700;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.blue-band p {
  margin-top: 1.8rem;
  opacity: 0.95;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.blue-band::before,
.blue-band::after {
  content: "";
  position: absolute;
  z-index: 1;
  opacity: 0.15;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.blue-band::before {
  width: 160px;
  height: 160px;
  top: -40px;
  left: -60px;
  border: 2px solid white;
  transform: rotate(15deg);
}

.blue-band::after {
  width: 220px;
  height: 100px;
  bottom: -50px;
  right: -80px;
  border: 2px solid white;
  transform: rotate(-10deg);
}

.blue-band .dots::before,
.blue-band .dots::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.458);
  border-radius: 50%;
}

.blue-band .dots::before { top: 30%; left: 10%; }
.blue-band .dots::after  { bottom: 25%; right: 15%; }

.blue-band .line {
  position: absolute;
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.464);
  transform: rotate(-25deg);
  z-index: 1;
}

.blue-band .line.one { top: 15%; right: 20%; }
.blue-band .line.two { bottom: 20%; left: 15%; }

@media (max-width: 768px) {
  .blue-band::before,
  .blue-band::after,
  .blue-band .line,
  .blue-band .dots::before,
  .blue-band .dots::after { display: none; }

  .blue-band h3 { font-size: 1.6rem; padding: 0 1rem; }
  .blue-band p  { font-size: 1rem; padding: 0 1rem; }
}

.segmentos {
  text-align: center;
  font-family: Arial, sans-serif;
  padding: 3rem;
  background-color: #ffffff;
}

.segmentos h2 {
  font-family: "Poppins",system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  font-weight: 700;
  font-size: 2rem;
  color: #000000ba;
}

.segmentos p {
  font-family: "Poppins",system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  font-size: 1rem;
  color: rgba(37, 37, 37, 0.595);
  margin-bottom: 40px;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 3rem;
  font-family: "Poppins",system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  font-weight: 700;
  flex-wrap: wrap;
  padding-bottom: 4rem;
}

.cardseg {
  width: 13.5rem;
  height: 13.5rem;
  border: 5px solid;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}

.cardseg .icon i {
  font-size: 4rem;
  margin-bottom: 10px;
  color: inherit;
}

.cardseg .title {
  font-weight: bold;
  font-size: 1.5rem;
}

#segmentos { scroll-margin-top: 10rem; }

.cardseg {
  border-width: 3px;
  border-style: solid;
  border-radius: 16px;
}

.blue   { border-color: #3D2C2C; color: #3D2C2C; }
.green  { border-color: #3D2C2C; color: #3D2C2C; }
.purple { border-color: #3D2C2C; color: #3D2C2C; }
.orange { border-color: #3D2C2C; color: #3D2C2C; }
.red    { border-color: #3D2C2C; color: #3D2C2C; }

.cardseg:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.blue-bandseg {
  position: relative;
  background: var(--blue);
  color: white;
  padding: 3rem 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 20vh;
  overflow: hidden;
}

.blue-bandseg h3 {
  font-size: 2rem;
  font-weight: 700;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.4;
  z-index: 2;
  position: relative;
}

.blue-bandseg::before,
.blue-bandseg::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.392);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.3s ease;
}
.blue-bandseg::before { top: -50px; left: -80px; }
.blue-bandseg::after  { bottom: -60px; right: -90px; }

.blue-bandseg .line {
  position: absolute;
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.479);
  transform: rotate(25deg);
  z-index: 1;
}
.blue-bandseg .line.one { top: 20%; left: 15%; }
.blue-bandseg .line.two { bottom: 25%; right: 10%; }

@media (max-width: 768px) {
  .blue-bandseg::before,
  .blue-bandseg::after,
  .blue-bandseg .line { display: none; }
  .blue-bandseg h3 { font-size: 1.5rem; padding: 0 1rem; }
}

.full-width {
  width: 100%;
  height: auto;
  display: block;
}

.feature-sectionseg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 5rem 10%;
  background: #ffffff;
  color: #333;
  flex-wrap: wrap;
}

.feature-section.reverse { flex-direction: row-reverse; }

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.feature-image.phone img {
  max-width: 100%;
  height: auto;
  transform: rotate(-12deg);
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

.feature-content {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
}

.feature-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111827;
  padding-bottom: 2rem;
}

.feature-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.2rem;
}

.feature-content ul {
  list-style-type: disc;
  padding-left: 1.2rem;
  margin-bottom: 1.8rem;
}

.feature-content li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 900px) {
  .feature-section {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
  }
  .feature-image.phone img { transform: none; width: 80%; }
  .feature-content { max-width: 100%; }
  .feature-content ul { list-style: none; padding: 0; }
}

.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
  margin: 4rem 0;
}

.feature-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 5rem 10%;
  background: #e2e6ed99;
  color: #8a8888;
  flex-wrap: wrap;
}

.feature-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.feature-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  color: #444;
}

.feature-image img { max-width: 100%; height: auto; }

@media (max-width: 900px) {
  .feature-section { flex-direction: column; text-align: center; padding: 3rem 1.5rem; }
  .feature-image { margin-top: 2rem; }
  .feature-content h3 { justify-content: center; }
}

.cta-section {
  position: relative;
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.cta-content { max-width: 700px; z-index: 2; position: relative; }
.cta-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1.2rem; }
.cta-content p  { font-size: 1.1rem; line-height: 1.6; opacity: 0.95; margin-bottom: 2rem; }

.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #0056b3 0%, #106bccb8 100%);
  color: #fff;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(18, 140, 126, 0.4);
  transition: all 0.3s ease;
}
.cta-button:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(18, 140, 126, 0.5); }

.cta-shape { position: absolute; opacity: 0.12; z-index: 1; }
.cta-shape.circle { border: 2px solid #fff; border-radius: 50%; }
.cta-shape.circle.one { width: 160px; height: 160px; top: -40px; left: -70px; }
.cta-shape.circle.two { width: 220px; height: 220px; bottom: -60px; right: -100px; }
.cta-shape.line { width: 120px; height: 2px; background: rgba(255,255,255,0.808); transform: rotate(30deg); }
.cta-shape.line.one { top: 20%; right: 15%; }
.cta-shape.line.two { bottom: 25%; left: 10%; }

@media (max-width: 768px) {
  .cta-shape { display: none; }
  .cta-content h2 { font-size: 1.7rem; }
  .cta-button { width: 90%; padding: 1rem; }
}

.white-band {
  position: relative;
  background: white;
  padding: 0.5rem 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════
   ANIMAÇÕES — versão corrigida
   
   PROBLEMA ORIGINAL:
   body { animation: fadeIn } usava transform:scale(0.96)
   no keyframe. Quando o body tem transform ativo, elementos
   position:fixed (navbar) perdem a âncora do viewport e
   "pulam" para a posição original durante a animação.

   SOLUÇÃO:
   - body usa @keyframes bodyFade  → apenas opacity, sem transform
   - cards e seções continuam usando fadeUp / fadeIn normalmente
   - .navbar recebe animation:none para garantia extra
══════════════════════════════════════════════════ */

/* Keyframe exclusivo do body — SEM transform */
@keyframes bodyFade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* Keyframes para elementos comuns (podem usar transform) */
@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0%   { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* Body: só opacity — nunca transform */
body { animation: bodyFade 0.8s ease; }

/* Navbar nunca anima junto com o body */
.navbar {
  animation: none !important;
  transform: none !important;
}

/* Banner de abertura */
.blue-band h3 { opacity: 0; animation: fadeUp 1s ease forwards 0.2s; }
.blue-band p  { opacity: 0; animation: fadeUp 1s ease forwards 0.5s; }

/* Cards de segmentos */
.cardseg {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  animation: fadeUp 0.9s ease-out forwards;
}
.cardseg:nth-child(1) { animation-delay: 0.2s; }
.cardseg:nth-child(2) { animation-delay: 0.4s; }
.cardseg:nth-child(3) { animation-delay: 0.6s; }
.cardseg:nth-child(4) { animation-delay: 0.8s; }
.cardseg:nth-child(5) { animation-delay: 1.0s; }

.cardseg .icon i {
  opacity: 0;
  transform: scale(0.85);
  animation: fadeIn 0.6s ease forwards;
}
.cards .cardseg:nth-child(1) .icon i { animation-delay: 0.5s; }
.cards .cardseg:nth-child(2) .icon i { animation-delay: 0.7s; }
.cards .cardseg:nth-child(3) .icon i { animation-delay: 0.9s; }
.cards .cardseg:nth-child(4) .icon i { animation-delay: 1.1s; }
.cards .cardseg:nth-child(5) .icon i { animation-delay: 1.3s; }

.cardseg .title {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards;
}
.cards .cardseg:nth-child(1) .title { animation-delay: 0.6s; }
.cards .cardseg:nth-child(2) .title { animation-delay: 0.8s; }
.cards .cardseg:nth-child(3) .title { animation-delay: 1.0s; }
.cards .cardseg:nth-child(4) .title { animation-delay: 1.2s; }
.cards .cardseg:nth-child(5) .title { animation-delay: 1.4s; }

.cardseg { transition: all 0.3s ease; }
.cardseg:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Seções de conteúdo */
.feature-section,
.feature-sectionseg,
.cta-section {
  opacity: 0;
  transform: translateY(60px);
  animation: fadeUp 1s ease forwards;
}
.feature-section    { animation-delay: 1.2s; }
.feature-sectionseg { animation-delay: 1.5s; }
.cta-section        { animation-delay: 1.8s; }

html { scroll-behavior: smooth; }

@media (max-width: 768px) {
  .cardseg,
  .feature-section,
  .feature-sectionseg,
  .cta-section {
    animation-delay: 0s !important;
  }
}

/* Cards do foods.css com cores específicas */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding-bottom: 3rem;
}

.cardseg {
  width: 13rem;
  height: 13rem;
  border-radius: 16px;
  background: #fff;
  border: 3px solid #ccc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #333;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.cardseg.orange { border-color: #ff6a00; }
.cardseg.blue   { border-color: #f0b400; }
.cardseg.green  { border-color: #00b09b; }
.cardseg.purple { border-color: #ff1493; }
.cardseg.red    { border-color: #d62828; }

.cardseg .icon i { font-size: 3rem; margin-bottom: 12px; }
.cardseg.orange .icon i { color: #ff6a00; }
.cardseg.blue   .icon i { color: #f0b400; }
.cardseg.green  .icon i { color: #00b09b; }
.cardseg.purple .icon i { color: #ff1493; }
.cardseg.red    .icon i { color: #d62828; }

.cardseg .title { font-size: 1.05rem; text-align: center; color: #222; }

.cardseg:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
  border-color: currentColor;
  filter: brightness(1.05);
}
