/* ============================================
   MARIA EXPRESS – MATINHOS
   ============================================ */

:root {
  --rosa:        #e8006e;
  --rosa-escuro: #c4005d;
  --rosa-claro:  #fce8f3;
  --azul:        #0057a8;
  --azul-escuro: #003f7f;
  --azul-claro:  #e8f0fb;
  --azul-bg-dif: #29b6f6;
  --amarelo:     #ffd200;
  --branco:      #ffffff;
  --cinza-bg:    #f2f2f2;
  --cinza-texto: #666666;
  --texto:       #222222;
  --sombra:      0 4px 24px rgba(0,0,0,0.10);
  --sombra-md:   0 8px 32px rgba(0,0,0,0.14);
  --radius:      14px;
  --radius-sm:   8px;
  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Nunito', sans-serif; color: var(--texto); background: var(--branco); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; }

.section-title { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 900; color: var(--azul); margin-bottom: 10px; }
.section-title span { color: var(--rosa); }
.section-sub { font-size: 1rem; color: var(--cinza-texto); margin-bottom: 50px; }

/* BOTÕES */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 800; cursor: pointer; border: none; position: relative; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); text-decoration: none; white-space: nowrap; }
.btn::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0); transition: background var(--transition); border-radius: inherit; }
.btn:hover::after { background: rgba(255,255,255,0.15); }
.btn:active { transform: scale(0.97) !important; }
.btn-rosa { background: linear-gradient(135deg, var(--rosa) 0%, #ff3d9a 100%); color: var(--branco); box-shadow: 0 4px 18px rgba(232,0,110,0.40); }
.btn-rosa:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 28px rgba(232,0,110,0.50); }
.btn-azul { background: linear-gradient(135deg, var(--azul) 0%, #0080ff 100%); color: var(--branco); box-shadow: 0 4px 18px rgba(0,87,168,0.35); }
.btn-azul:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 28px rgba(0,87,168,0.45); }
.btn-outline-branco { background: transparent; color: var(--branco); border: 2px solid rgba(255,255,255,0.8); }
.btn-outline-branco:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-lg { padding: 17px 42px; font-size: 1.1rem; }

/* HEADER */
#header { position: sticky; top: 0; z-index: 1000; background: var(--azul); box-shadow: 0 2px 16px rgba(0,0,0,0.20); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 6px; align-items: center; }
.nav-links a { font-weight: 700; font-size: 0.95rem; color: rgba(255,255,255,0.90); padding: 8px 14px; border-radius: 50px; transition: background var(--transition), color var(--transition); }
.nav-links a:hover { background: rgba(255,255,255,0.15); color: var(--branco); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--branco); border-radius: 2px; transition: var(--transition); }

/* HERO */
#hero { position: relative; overflow: hidden; }
.hero-banner { position: relative; }
.hero-banner img { width: 100%; height: auto; display: block; }
.hero-banner .banner-mobile { display: none; }
.hero-banner .banner-desktop { display: block; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-start; padding: 0 6%; background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 60%, transparent 100%); }
.hero-text { color: var(--branco); max-width: 540px; }
.hero-text h1 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 900; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); line-height: 1.15; }
.hero-text p { font-size: clamp(0.9rem, 1.5vw, 1.1rem); margin-bottom: 28px; opacity: 0.93; text-shadow: 0 1px 6px rgba(0,0,0,0.2); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════
   COMO FUNCIONA
   fundo: ROSA
   título seção: azul escuro
   cards: BRANCOS, 318x323px em 1920px
   ícone: amarelo, acima do título
   título card: ROSA
   texto card: cinza escuro
   ══════════════════════════════════════ */
#como-funciona {
  background: var(--cinza-bg);
  padding: 70px 5% 80px;
  text-align: center;
}
#como-funciona .cf-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 900;
  color: #0057a8;
  margin-bottom: 48px;
  line-height: 1.25;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 318px);
  gap: 20px;
  max-width: 1352px;
  margin: 0 auto;
  justify-content: center;
}
.step-card {
  background: rgb(222, 0, 132);
  border-radius: 16px;
  padding: 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 318px;
  min-height: 323px;
  box-sizing: border-box;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.step-card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(0,0,0,0.25); }

/* ícone + título lado a lado */
.step-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.step-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.step-card h3 {
  font-size: 25px;
  font-weight: 800;
  color: var(--amarelo);
  line-height: 1.2;
  margin: 0;
}
.step-card p {
  font-size: 0.95rem;
  color: var(--branco);
  line-height: 1.3;
}

/* ══════════════════════════════════════
   DIFERENCIAIS
   fundo: azul claro #29b6f6
   esq: título branco + mascote
   dir: 3 linhas (foto arredondada + texto)
   ══════════════════════════════════════ */
#diferenciais {
  background: var(--azul-bg-dif);
  padding: 60px 5%;
  overflow: hidden;
}
.dif-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 48px;
  align-items: center;
}
.dif-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.dif-left h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--branco);
  line-height: 1.2;
  margin-bottom: 24px;
}
.dif-mascote {
  width: 180px;
  height: auto;
}
.dif-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dif-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  overflow: hidden;
}
.dif-row-img {
  flex-shrink: 0;
  width: 210px;
  height: 130px;
  object-fit: cover;
  display: block;
}
.dif-row-text {
  padding: 14px 20px;
  flex: 1;
}
.dif-row-text h3 {
  font-size: 0.97rem;
  font-weight: 900;
  color: var(--branco);
  margin-bottom: 5px;
  line-height: 1.3;
}
.dif-row-text p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
}

/* LOCALIZAÇÃO */
#localizacao { padding: 80px 5%; text-align: center; background: var(--branco); }
.loc-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1000px; margin: 0 auto; align-items: center; text-align: left; }
.loc-map iframe { width: 100%; height: 360px; border: none; border-radius: var(--radius); box-shadow: var(--sombra); }
.loc-info h3 { font-size: 1.3rem; font-weight: 900; color: var(--azul); margin-bottom: 24px; }
.loc-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.loc-item-icon { width: 42px; height: 42px; background: var(--rosa-claro); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.loc-item-text p { font-size: 0.92rem; color: var(--cinza-texto); line-height: 1.5; }
.loc-item-text strong { color: var(--texto); font-weight: 800; }

/* PREÇOS */
#precos { padding: 80px 5%; background: var(--cinza-bg); text-align: center; }
.precos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto 32px; }
.preco-card { background: var(--branco); border-radius: var(--radius); padding: 36px 24px 32px; box-shadow: var(--sombra); position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; border: 2px solid transparent; transition: transform var(--transition), box-shadow var(--transition); }
.preco-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-md); }
.preco-card--destaque { border-color: var(--rosa); box-shadow: 0 8px 32px rgba(232,0,110,0.15); }
.preco-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--rosa), #ff3d9a); color: white; font-size: 0.78rem; font-weight: 800; padding: 5px 18px; border-radius: 50px; white-space: nowrap; box-shadow: 0 4px 12px rgba(232,0,110,0.35); }
.preco-icon { font-size: 2.6rem; margin-bottom: 14px; }
.preco-card h3 { font-size: 1rem; font-weight: 800; color: var(--azul); margin-bottom: 14px; }
.preco-valor { font-size: 1rem; font-weight: 700; color: var(--cinza-texto); margin-bottom: 12px; line-height: 1; }
.preco-valor span { font-size: 2.6rem; font-weight: 900; color: var(--rosa); }
.preco-card p { font-size: 0.86rem; color: var(--cinza-texto); line-height: 1.55; }
.precos-obs { font-size: 0.9rem; color: var(--cinza-texto); line-height: 1.7; max-width: 600px; margin: 0 auto; background: var(--azul-claro); border-radius: var(--radius); padding: 16px 24px; }

/* GALERIA */
#galeria { padding: 80px 5%; text-align: center; background: var(--branco); }
.galeria-intro { max-width: 700px; margin: 0 auto 50px; }
.galeria-intro p { font-size: 0.97rem; color: var(--cinza-texto); line-height: 1.6; }
.galeria-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; max-width: 1200px; margin: 0 auto; }
.galeria-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 1/1; cursor: zoom-in; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.galeria-item:hover img { transform: scale(1.08); }
.galeria-item .overlay { position: absolute; inset: 0; background: rgba(232,0,110,0); transition: all 0.3s; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: white; opacity: 0; }
.galeria-item:hover .overlay { background: rgba(232,0,110,0.25); opacity: 1; }

/* LIGHTBOX */
#lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; }
#lightbox.active { display: flex; }
#lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius-sm); box-shadow: 0 0 80px rgba(0,0,0,0.5); }
#lightbox-close { position: absolute; top: 20px; right: 28px; font-size: 2.2rem; color: white; cursor: pointer; background: none; border: none; opacity: 0.8; }
#lightbox-close:hover { opacity: 1; }
#lightbox-prev, #lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.5rem; color: white; cursor: pointer; background: rgba(255,255,255,0.1); border: none; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
#lightbox-prev { left: 20px; } #lightbox-next { right: 20px; }
#lightbox-prev:hover, #lightbox-next:hover { background: rgba(255,255,255,0.25); }

/* APP */
#app { background: linear-gradient(135deg, var(--azul) 0%, #0080ff 100%); padding: 80px 5%; text-align: center; color: var(--branco); position: relative; overflow: hidden; }
#app::before { content: ''; position: absolute; top: -80px; right: -80px; width: 350px; height: 350px; background: rgba(255,255,255,0.06); border-radius: 50%; }
#app::after { content: ''; position: absolute; bottom: -100px; left: -60px; width: 280px; height: 280px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.app-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; max-width: 900px; margin: 0 auto; text-align: left; }
.app-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; margin-bottom: 12px; }
.app-text p { font-size: 1rem; opacity: 0.9; margin-bottom: 28px; line-height: 1.6; }
.app-btns { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-store-img { display: inline-block; transition: transform var(--transition), box-shadow var(--transition); border-radius: 10px; overflow: hidden; }
.btn-store-img img { height: 46px; width: auto; display: block; }
.btn-store-img:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.app-image img { height: 220px; width: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); }

/* FAQ */
#faq { padding: 80px 5%; background: var(--cinza-bg); }
.faq-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.faq-list { text-align: left; margin-top: 40px; }
.faq-item { background: var(--branco); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1.5px solid transparent; transition: border-color var(--transition), box-shadow var(--transition); }
.faq-item.open { border-color: var(--rosa); box-shadow: 0 4px 18px rgba(232,0,110,0.12); }
.faq-question { width: 100%; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: none; cursor: pointer; font-family: 'Nunito', sans-serif; font-size: 0.97rem; font-weight: 700; color: var(--azul); text-align: left; transition: color var(--transition); }
.faq-item.open .faq-question { color: var(--rosa); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--azul-claro); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; font-weight: 900; color: var(--azul); transition: background var(--transition), color var(--transition), transform var(--transition); }
.faq-item.open .faq-icon { background: var(--rosa); color: white; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 0.92rem; color: var(--cinza-texto); line-height: 1.65; }

/* INSTAGRAM */
#instagram { padding: 70px 5%; text-align: center; background: var(--branco); }
.insta-card { display: inline-flex; align-items: center; gap: 20px; background: linear-gradient(135deg, #f9e8f3, #e8f0fb); border-radius: 20px; padding: 30px 40px; box-shadow: var(--sombra); text-decoration: none; transition: transform var(--transition), box-shadow var(--transition); max-width: 500px; width: 100%; }
.insta-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-md); }
.insta-icon { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; }
.insta-info { text-align: left; }
.insta-info strong { display: block; font-size: 1rem; font-weight: 900; color: var(--rosa); margin-bottom: 4px; }
.insta-info span { font-size: 0.88rem; color: var(--cinza-texto); }

/* CTA */
#cta-duvida { background: linear-gradient(135deg, var(--rosa) 0%, #ff3d9a 100%); padding: 60px 5%; text-align: center; color: var(--branco); }
#cta-duvida h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 900; margin-bottom: 10px; }
#cta-duvida p { opacity: 0.9; font-size: 1rem; margin-bottom: 28px; }

/* FOOTER */
footer { background: var(--azul-escuro); color: rgba(255,255,255,0.85); padding: 48px 5% 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto 36px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; opacity: 0.75; }
.footer-col h4 { font-size: 0.95rem; font-weight: 900; color: var(--branco); margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--rosa); border-radius: 2px; }
.footer-col p, .footer-col a { font-size: 0.87rem; opacity: 0.75; line-height: 1.7; display: block; color: inherit; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: center; max-width: 1000px; margin: 0 auto; font-size: 0.82rem; opacity: 0.6; }

/* COOKIE */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(34,34,34,0.97); color: white; padding: 16px 5%; display: flex; align-items: center; justify-content: center; gap: 20px; z-index: 9000; flex-wrap: wrap; font-size: 0.88rem; transform: translateY(100%); transition: transform 0.4s ease; }
#cookie-banner.show { transform: translateY(0); }
#cookie-banner a { color: var(--rosa); font-weight: 700; }
#cookie-ok { background: var(--rosa); color: white; border: none; padding: 9px 22px; border-radius: 50px; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 0.88rem; cursor: pointer; }

/* WHATSAPP */
#whats-float { position: fixed; bottom: 28px; right: 28px; z-index: 8000; width: 60px; height: 60px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,0.55); transition: transform var(--transition); text-decoration: none; }
#whats-float:hover { transform: scale(1.12) rotate(-5deg); }
#whats-float svg { width: 30px; height: 30px; fill: white; }

/* MOBILE MENU */
#mobile-menu { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 999; }
#mobile-menu.open { display: block; }
.mobile-menu-panel { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: white; padding: 80px 28px 28px; display: flex; flex-direction: column; gap: 6px; transform: translateX(100%); transition: transform 0.3s ease; }
#mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-panel a { font-weight: 700; font-size: 1.05rem; color: var(--azul); padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.mobile-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--cinza-texto); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 318px)); }
  .step-card { width: 100%; min-height: auto; }
  .dif-wrapper { grid-template-columns: 1fr; }
  .dif-left { flex-direction: row; align-items: center; gap: 24px; }
  .dif-left h2 { margin-bottom: 0; }
  .dif-mascote { width: 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-inner { grid-template-columns: 1fr; text-align: center; }
  .app-btns { justify-content: center; }
  .app-image { display: none; }
  .precos-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .preco-card--destaque { order: -1; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .hero-banner .banner-desktop { display: none; }
  .hero-banner .banner-mobile { display: block; }
  .hero-overlay { position: static; background: linear-gradient(180deg, var(--azul-escuro), var(--azul)); padding: 36px 6% 42px; }
  .hero-text { color: white; max-width: 100%; }
  .loc-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .insta-card { flex-direction: column; text-align: center; padding: 24px; }
  .insta-info { text-align: center; }
  #whats-float { bottom: 18px; right: 18px; width: 54px; height: 54px; }
  .dif-row-img { width: 130px; height: 100px; }
  .steps-grid { grid-template-columns: 1fr; }
  .dif-left { flex-direction: column; align-items: flex-start; }
}
