/* ======================================
   COMEAKI - DESIGN SYSTEM & CSS NA UNHA
   ====================================== */

:root {
  /* Cores Principais */
  --color-brand-bordo: #800000;
  --color-brand-bordo-dark: #4a0000;
  --color-brand-bordo-overlay: rgba(74, 0, 0, 0.95);
  --color-brand-accent: #ea580c;
  --color-brand-accent-hover: #c2410c;
  --color-brand-gold: #fbbf24;
  --color-brand-navy: #0f172a;
  --color-brand-muted: #64748b;

  /* Neutros e Fundo */
  --color-bg-main: #f8fafc;
  --color-surface: #ffffff;
  --color-border: #e2e8f0;
  
  /* Layout */
  --max-width-container: 1280px;
  --header-height: 96px;

  /* Fontes */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* Reset Básico */
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-main);
  color: var(--color-brand-navy);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 40px;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }

/* BARRA DE ROLAGEM BORDÔ (#800000) */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--color-brand-bordo);
  border-radius: 4px;
}

/* Glows sutis de fundo */
.glow-warm {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.05) 0%, rgba(248, 250, 252, 0) 70%);
  z-index: 0;
  pointer-events: none;
  top: -5%;
  right: -5%;
}
.glow-navy {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(128, 0, 0, 0.04) 0%, rgba(248, 250, 252, 0) 70%);
  z-index: 0;
  pointer-events: none;
  top: 30%;
  left: -10%;
}

/* Container Limitador */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ============================
   HEADER / NAVIGATION
   ============================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 1000;
    /* Fundo Bordô (#800000) translúcido com 90% de opacidade */
    background: rgba(128, 0, 0, 0.90); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%; 
  /* height: var(--header-height); */
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.logo-img {
  height: 4rem;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo-link:hover .logo-img {
  transform: scale(1.05);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #e7e5e4;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.nav-link:hover { color: var(--color-brand-gold); }

/* LINKS DO MENU DESKTOP */
.nav-desktop {
    display: flex;
    align-items: center;          /* Centraliza verticalmente os links entre si */
    gap: 2rem;                    /* Espaçamento horizontal entre os links */
}

/* GRUPO DE BOTÕES À DIREITA */
.header-actions {
    display: flex;
    align-items: center;          /* Centraliza verticalmente os botões (Entrar e Crie seu Cardápio) */
    gap: 1rem;                    /* Espaçamento entre os botões */
}

.btn-secondary-outline {
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

.btn-secondary-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-primary-accent {
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  background-color: var(--color-brand-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.btn-primary-accent:hover {
  background-color: var(--color-brand-accent-hover);
  transform: translateY(-2px);
}

.btn-hamburger {
  display: block;
  padding: 0.625rem;
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 1.5rem;
}

.mobile-menu {
  display: none;
  background-color: var(--color-brand-bordo-overlay);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
}

.mobile-menu.open { display: block; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: #f5f5f4;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(128, 0, 0, 0.4);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
}

.mobile-actions button { width: 100%; text-align: center; }

/* ====================================
   HERO SECTION
   ==================================== */

/* Ajustes de Encaixe para a Hero Section */

/* =====================================
   HERO SECTION - AJUSTES PARA TELA GRANDE (DESKTOP)
   ===================================== */
@media (min-width: 1024px) {
    .hero-section {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        min-height: calc(100vh - 72px); /* Mantém 100% da tela em monitores grandes */
        display: flex;
        align-items: center;
    }

    .hero-title {
        font-size: clamp(2rem, 3vw, 3.1rem) !important;
        line-height: 1.1;
        margin-bottom: 0.875rem;
    }

    .hero-description {
        font-size: 0.95rem !important;
        margin-bottom: 1.25rem;
    }

    .mockup-wrapper {
        transform: scale(0.88); /* Reduz levemente o celular para caber perfeitamente */
        transform-origin: center center;
    }

    .phone-case {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* ==========================================================
   HERO SECTION - AJUSTES PARA DISPOSITIVOS MÓVEIS (MOBILE)
   ========================================================== */
@media (max-width: 1023px) {
    .hero-section {
        padding-top: 2rem !important;
        padding-bottom: 3rem !important;
        height: auto !important; /* Libera a altura para rolar livremente no celular */
        min-height: initial !important;
    }

    .mockup-wrapper {
        transform: scale(1) !important; /* Mantém escala normal no mobile */
        margin-top: 2rem;
    }

    .phone-case {
        max-width: 100%;
        width: 100%;
    }
}

/* Estilo para telas de até 768px (Mobile/Tablet) */
@media (max-width: 768px) {
  /* Esconde os links no topo */
  .header-nav, 
  .nav-list {
    display: none; 
  }

  /* Garante que o botão hambúrguer fique visível */
  .mobile-menu-toggle {
    display: flex;
  }
  .header-container, .footer-container, .hero-section {
        padding-left: 1rem;
        padding-right: 1rem;
        overflow-x: hidden;
    }
    
    /* Evita que títulos longos esturem a largura da tela */
    .hero-title {
        font-size: 2rem !important;
        word-break: break-word;
    }

}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid #fecaca;
  background-color: #fef2f2;
  color: var(--color-brand-bordo);
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700; /* Use 700 para negrito ou 900 para um título bem marcante */
  font-size: 2.75rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin-bottom: 1.25rem;
}

.hero-title-gradient {
  background: linear-gradient(90deg, #800000 0%, #991b1b 50%, #ea580c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-brand-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Simulador de URL */
.url-simulator-box {
  background: var(--color-brand-navy);
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
}

.url-simulator-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-bg-main);
  margin-bottom: 0.5rem;
}

.url-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  padding: 0.375rem;
  border-radius: 0.75rem;
}

.url-prefix {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.url-input {
  background: transparent;
  border: none;
  font-weight: 700;
  color: var(--color-brand-navy);
  font-size: 0.875rem;
  padding: 0.5rem;
  outline: none;
  flex: 1;
}

.btn-reserve {
  background-color: var(--color-brand-bordo);
  color: #ffffff;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-reserve:hover { 
  background-color: #700000; 
}

.url-preview-text {
  font-size: 0.875rem;
  color: var(--color-brand-muted);
  margin-top: 0.5rem;
}

.url-preview-text span {
  color: var(--color-brand-gold);
  font-family: monospace;
  font-weight: 700;
}

/* Redes / Badges Hero */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.avatar-stack { 
  display: flex; 
  margin-right: -0.75rem; 
}
.avatar-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-left: -0.60rem;
}

/* ===============================
        Badge de Disponibilidade
   =============================== */

.status-badge {
  margin-top: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

/* Estado DISPONÍVEL (Verde) */
.status-badge.disponivel {
  background-color: #064e3b;
  color: #ffffff;
  border-left: 6px solid #10b981;
}

/* Estado INDISPONÍVEL (Vermelho) */
.status-badge.indisponivel {
  background-color: #7f1d1d;
  color: #ffffff;
  border-left: 6px solid #ef4444;
}

/* Botão Cadastrar dentro do Badge Verde */
.btn-cadastrar-badge {
  background-color: #10b981;
  color: #042f2e;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: background 0.2s;
}

.btn-cadastrar-badge:hover {
  background-color: #34d399;
}

/* Modal Estilizado de Cadastro para WhatsApp */
.modal-whatsapp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Caixa de conteúdo do modal */
.modal-whatsapp-content {
  background: #0f172a;
  color: #f9fafb;
  width: 100%;
  max-width: 500px;
  max-height: 90vh; /* O modal usará no máximo 90% da altura da tela */
  overflow-y: auto;  /* Ativa a barra de rolagem interna quando o formulário for grande */
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  border: 1px solid #1f2937;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Evita rolar a página principal ao abrir o modal */
body.no-scroll {
    overflow: hidden !important;
}

.btn-close-modal {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 1.75rem;
  cursor: pointer;
}

.modal-header-whats {
  text-align: center;
  margin-bottom: 1.25rem;
}

.whats-icon-header {
  font-size: 2.5rem;
  color: #25d366;
  margin-bottom: 0.5rem;
}

.modal-header-whats h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.modal-header-whats p {
  font-size: 0.85rem;
  color: #9ca3af;
}

.form-group-whats {
  margin-bottom: 1rem;
}

.form-group-whats label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #d1d5db;
}

.input-whats {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
}

.input-whats:focus {
  border-color: #10b981;
}

.input-whats.readonly {
  background-color: #111827;
  color: #10b981;
  font-weight: 700;
  border-color: #064e3b;
}

.btn-submit-whats {
  width: 100%;
  background-color: #25d366;
  color: #052e16;
  border: none;
  padding: 0.85rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  transition: background 0.2s;
}

.btn-submit-whats:hover {
  background-color: #22c55e;
}

/* ===================
      Celular Mockup 
   ==================*/
.mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.mockup-glow {
  position: absolute;
  inset: 0;
  background: rgba(128,0,0,0.1);
  filter: blur(40px);
  border-radius: 9999px;
}

.phone-case {
  position: relative;
  width: 320px;
  height: 590px;
  border-radius: 42px;
  border: 10px solid #0f172a;
  background-color: #0f172a;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overflow: hidden;
}

.phone-bar {
  height: 24px;
  background: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  font-size: 10px;
  color: #94a3b8;
}

.phone-screen {
  height: calc(100% - 24px);
  background: #f8fafc;
  overflow-y: auto;
}

.restaurant-header-img {
  position: relative;
  height: 160px;
  background: #1e293b;
}

.restaurant-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.restaurant-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.8), transparent);
}

.restaurant-info {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #ffffff;
}

.menu-categories {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1rem;
}

.cat-pill {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.cat-pill.active {
  background: var(--color-brand-bordo);
  color: #ffffff;
}

.cat-pill.inactive {
  background: #ffffff;
  color: #475569;
  border: 1px solid var(--color-border);
}

.product-card-mini {
  background: #ffffff;
  padding: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  display: flex;
  gap: 0.75rem;
  margin: 0 1rem 0.75rem 1rem;
}

.product-img {
  width: 64px;
  height: 64px;
  border-radius: 0.75rem;
  object-fit: cover;
}

/* ======================================================
   SEÇÕES GERAIS (COMO FUNCIONA, VANTAGENS, ARQUITETURA)
   ======================================================= */

.section-wrapper {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.section-title {
  font-family: 'Roboto', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  color: var(--color-brand-muted);
  font-size: 1.125rem;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem auto;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background-color: #fef2f2;
  color: var(--color-brand-bordo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.step-code-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-brand-bordo);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Tecnologia Box */
.tech-box {
  background-color: #0f172a;
  color: #ffffff;
  padding: 2rem;
  border-radius: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.tech-code-panel {
  background: #020617;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid #1e293b;
  font-family: monospace;
  font-size: 0.75rem;
}

/* ==============================
   MODAIS (LOGIN E CADASTRO)
   ============================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  max-width: 28rem;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #94a3b8;
  font-size: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-brand-navy);
  margin-bottom: 0.25rem;
}

.input-field-icon {
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.input-field-icon input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.875rem;
  margin-left: 0.75rem;
}

.capitalize-input {
    text-transform: capitalize;
}

/* ====================
   FOOTER
   ==================== */

.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(74, 0, 0, 0.4);
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: var(--color-brand-bordo);
  color: #ffffff;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Agrupamento da Logo + Texto no Rodapé */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem; /* Espaço entre a logo e o texto */
}

/* Ajuste das proporções da logo para alinhar com o texto */
.footer-logo {
  height: 2.5rem; /* Ajuste o tamanho se desejar maior ou menor */
  width: auto;
  object-fit: contain;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #d6d3d1;
  text-align: left;
}

.author-link { color: var(--color-brand-gold); font-weight: 700; }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.875rem; color: #d6d3d1; }
.footer-link:hover { color: var(--color-brand-gold); }

/* ============================
   RESPONSIVIDADE
   ============================ */

/* TELAS MENORES (Até 1023px: Mobile e Tablet) */
@media (max-width: 992px) {
  /* Esconde os links e botões desktop */
  .nav-desktop,
  .header-actions {
    display: none !important;
  }

  /* Exibe o botão hambúrguer */
  .btn-hamburger {
    display: block !important;
  }
}

/* TELAS GRANDES (A partir de 1024px: Desktops e Laptops) */
@media (min-width: 993px) {
  /* Exibe os links e botões de ação no topo */
  .nav-desktop,
  .header-actions {
    display: flex !important;
  }

  /* Esconde o botão hambúrguer */
  .btn-hamburger {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .nav-desktop, .header-actions { display: flex; }
  .btn-hamburger { display: none; }
  .hero-section { grid-template-columns: 7fr 5fr; padding-top: 2.5rem; padding-bottom: 5rem; }
  .hero-title { font-size: 4rem; }
  .url-input-wrapper { flex-direction: row; }
  .cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .tech-box { grid-template-columns: 8fr 4fr; }
  .footer-container { flex-direction: row; }
  .footer-copyright { text-align: left; }
}

/* Responsividade para telas menores */
@media (max-width: 1024px) {
  .footer-brand {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .footer-copyright {
    text-align: center;
  }
}

/* Ajustes específicos para telas de celular até 480px */
@media (max-width: 480px) {
    .modal-whatsapp-content {
        padding: 1.25rem 1rem; /* Reduz um pouco o espaçamento interno */
        border-radius: 0.75rem;
    }

    .modal-header-whats h3 {
        font-size: 1.125rem; /* Ajusta o título para não quebrar muitas linhas */
    }

    .btn-submit-whats {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}
/* =========================================================
   COMEAKI — ATUALIZAÇÃO VISUAL VERDE + ROXO
   Mantém as classes e funcionalidades existentes.
   ========================================================= */
:root {
  --color-brand-bordo: #228b22;
  --color-brand-bordo-dark: #166534;
  --color-brand-bordo-overlay: rgba(22, 101, 52, .96);
  --color-brand-accent: #6d28d9;
  --color-brand-accent-hover: #5b21b6;
  --color-brand-gold: #facc15;
  --color-bg-main: #f8fafc;
  --color-surface: #ffffff;
  --color-border: #e2e8f0;
}
body { padding-top: 0; background: #f8fafc; }
.site-header { background: rgba(22, 101, 52, .97) !important; box-shadow: 0 8px 26px rgba(15, 23, 42, .12); }
.nav-link:hover { color: #fde047 !important; }
.btn-primary-accent { background: #6d28d9; }
.btn-primary-accent:hover { background: #5b21b6; }
::-webkit-scrollbar-thumb { background: #228b22; }

/* Banner full-width, proporção aproximada de 1200 × 400 */
.comeaki-slider { position: relative; width: 100%; aspect-ratio: 3 / 1; min-height: 320px; max-height: 520px; overflow: hidden; background: #163b2a; isolation: isolate; }
.slider-track, .slider-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.slider-slide { display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .75s ease, visibility .75s ease; background-image: var(--slide-image); background-size: cover; background-position: center; }
.slider-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slider-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 35, 24, .92) 0%, rgba(18, 55, 35, .76) 45%, rgba(20, 35, 29, .20) 100%); }
.slider-content { position: relative; z-index: 2; width: min(1200px, 100%); margin: 0 auto; padding: 3.5rem 5.5rem; color: #fff; animation: sliderContentIn .65s ease both; }
.slider-eyebrow { display: inline-flex; gap: .55rem; align-items: center; padding: .45rem .85rem; border: 1px solid rgba(187, 247, 208, .45); border-radius: 999px; background: rgba(34, 139, 34, .24); color: #dcfce7; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.slider-content h2 { max-width: 720px; margin: 1.1rem 0 .75rem; font-size: clamp(2rem, 4.1vw, 3.7rem); line-height: 1.08; font-weight: 800; letter-spacing: -.04em; color: #fff; }
.slider-content h2 span { color: #bbf7d0; }
.slider-content p { max-width: 610px; margin: 0; color: rgba(255,255,255,.88); font-size: clamp(.95rem, 1.3vw, 1.12rem); line-height: 1.7; }
.slider-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.5rem; }
.slider-btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .8rem 1.15rem; border-radius: .8rem; font: inherit; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.slider-btn:hover { transform: translateY(-2px); }
.slider-btn-primary { background: #228b22; color: #fff; box-shadow: 0 10px 24px rgba(34,139,34,.28); }
.slider-btn-primary:hover { background: #166534; }
.slider-btn-ghost { border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); color: #fff; }
.slider-btn-ghost:hover { background: rgba(255,255,255,.17); }
.slider-arrow { position: absolute; z-index: 5; top: 50%; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(15,23,42,.32); color: #fff; transform: translateY(-50%); transition: background .2s ease; }
.slider-arrow:hover { background: rgba(34,139,34,.9); }
.slider-prev { left: 1rem; } .slider-next { right: 1rem; }
.slider-dots { position: absolute; z-index: 5; bottom: 1.1rem; left: 50%; display: flex; gap: .5rem; transform: translateX(-50%); }
.slider-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50px; background: rgba(255,255,255,.55); transition: width .25s ease, background .25s ease; }
.slider-dots button.is-active { width: 27px; background: #bbf7d0; }
@keyframes sliderContentIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Seções: ritmo visual mais leve e cartões consistentes */
.hero-section-modern { background: linear-gradient(135deg, #14532d 0%, #166534 43%, #3b0764 100%); border-radius: 0 0 2rem 2rem; }
.badge-modern-green { background: rgba(187,247,208,.12); color: #bbf7d0; border-color: rgba(187,247,208,.32); }
.btn-primary-gradient { background: linear-gradient(135deg, #228b22, #166534); box-shadow: 0 10px 22px rgba(34,139,34,.25); }
.btn-primary-gradient:hover { background: linear-gradient(135deg, #166534, #14532d); }
.nicho-card:hover, .nicho-card.active { background: rgba(34,139,34,.24); border-color: #86efac; }
.nicho-card i { color: #86efac; }
.card-teste-box { border-color: #dcfce7; box-shadow: 0 22px 55px rgba(22,101,52,.09); }
.step-card { transition: transform .25s ease, box-shadow .25s ease; }
.step-card:hover { transform: translateY(-5px); box-shadow: 0 18px 35px rgba(22,101,52,.11) !important; }
.section-wrapper { scroll-margin-top: 88px; }
#cardapio-teste { scroll-margin-top: 88px; }

/* ====================================
   FOOTER COM DEGRADÊ ELEGANTE (VERDE PARA ROXO)
   ==================================== */
/* ====================================
   FOOTER COM DEGRADÊ ELEGANTE (VERDE PARA ROXO)
   ==================================== */
footer.site-header,
footer.site-footer {
  background: linear-gradient(135deg, #166534 0%, #14532d 40%, #581c87 100%) !important;
}

.site-footer {
  position: relative !important;
  z-index: 10 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  background: linear-gradient(135deg, #166534 0%, #14532d 40%, #581c87 100%) !important;
  color: #ffffff !important;
}

.site-footer .footer-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
}

.site-footer .footer-copyright {
  color: #e2e8f0 !important;
}

.site-footer .footer-links a {
  color: #e2e8f0 !important;
  transition: color 0.2s ease;
}

.site-footer .footer-links a:hover {
  color: #facc15 !important;
}

@media (max-width: 900px) {
  .comeaki-slider { aspect-ratio: 2.2 / 1; min-height: 310px; }
  .slider-content { padding: 2.4rem 4.2rem; }
  .slider-content h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
}
@media (max-width: 600px) {
  .comeaki-slider { aspect-ratio: auto; min-height: 420px; max-height: none; }
  .slider-content { padding: 2.5rem 1.5rem 3.5rem; }
  .slider-content h2 { font-size: 2.1rem; }
  .slider-content p { font-size: .95rem; }
  .slider-eyebrow { font-size: .68rem; }
  .slider-actions { align-items: stretch; flex-direction: column; }
  .slider-btn { width: 100%; }
  .slider-arrow { width: 34px; height: 34px; }
  .slider-prev { left: .45rem; } .slider-next { right: .45rem; }
  .slider-content { padding-left: 2.5rem; padding-right: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .slider-slide, .slider-btn, .step-card { transition: none !important; }
  .slider-content { animation: none; }
}

/* Simulador com aparência de cardápio de loja real */
.mockup-cardapio-preview { position: relative; overflow: hidden; padding: 1.25rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 1.25rem; box-shadow: 0 12px 35px rgba(15,23,42,.06); }
.preview-categories { display: flex; gap: .55rem; overflow-x: auto; padding: .2rem .1rem 1rem; margin: .15rem 0 1rem; scrollbar-width: thin; }
.preview-category { flex: 0 0 auto; padding: .55rem .9rem; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; color: #475569; font-size: .78rem; font-weight: 800; }
.preview-category.active { border-color: #228b22; background: #228b22; color: #fff; }
.preview-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.preview-product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e5e7eb; border-radius: .9rem; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.preview-product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.preview-product-image { display: block; width: 100%; height: 145px; object-fit: cover; background: #f1f5f9; }
.preview-product-info { display: flex; flex: 1; flex-direction: column; padding: .85rem; }
.preview-product-info h5 { margin: 0 0 .35rem; color: #172033; font-size: .92rem; line-height: 1.35; font-weight: 800; }
.preview-product-info p { flex: 1; margin: 0 0 .8rem; color: #64748b; font-size: .76rem; line-height: 1.5; }
.preview-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.preview-product-bottom strong { color: #166534; font-size: .88rem; white-space: nowrap; }
.preview-order-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .65rem; border-radius: .55rem; background: #228b22; color: #fff; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.preview-order-btn.added { background: #166534; }
.preview-cartbar { position: sticky; bottom: .5rem; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1rem; padding: .8rem; border-radius: .9rem; background: #166534; color: #fff; box-shadow: 0 10px 28px rgba(22,101,52,.25); }
.preview-cartbar span { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; font-size: .8rem; font-weight: 700; }
.preview-cartbar span b { padding: .15rem .4rem; border-radius: 999px; background: rgba(255,255,255,.16); font-size: .68rem; }
.preview-cartbar strong { font-size: .9rem; white-space: nowrap; }
.preview-cartbar button { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem .8rem; border-radius: .65rem; background: #facc15; color: #1f2937; font-size: .76rem; font-weight: 900; white-space: nowrap; }
@media (max-width: 560px) {
  .preview-products { grid-template-columns: 1fr; }
  .preview-product-card { flex-direction: row; min-height: 130px; }
  .preview-product-image { width: 112px; min-width: 112px; height: auto; min-height: 130px; }
  .preview-product-info { padding: .7rem; }
  .preview-product-info h5 { font-size: .82rem; }
  .preview-product-info p { font-size: .7rem; }
  .preview-cartbar { flex-wrap: wrap; }
  .preview-cartbar span { flex: 1; }
}
