/* =========================================================
   LANDING – SISTEMA DE DELIVERY PRÓPRIO / CARDÁPIO DIGITAL
   Visual: Food Tech Clean (Azul tom sobre tom)
   ========================================================= */

/* Paleta base */
:root {
  --dl-midnight: #020617;      /* Azul marinho profundo (fundo) */
  --dl-deep: #02101f;          /* Azul ainda mais escuro para seções */
  --dl-royal: #0b3b7a;         /* Azul royal */
  --dl-azure: #1e90ff;         /* Azul app / Dodger Blue */
  --dl-ice: #7dd3fc;           /* Azul claro / detalhes */
  --dl-soft: #38bdf8;          /* Azul suave / acentos */

  --dl-text-white: #f9fafb;
  --dl-text-light: #e5e7eb;
  --dl-text-muted: #9ca3af;

  --dl-border-soft: rgba(148, 163, 184, 0.35);
  --dl-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.96);

  --dl-radius-lg: 26px;
  --dl-radius-md: 18px;
  --dl-radius-sm: 12px;

  --dl-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========= LAYOUT GLOBAL ========= */

.delivery-page {
  background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.18), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.15), transparent 55%),
              linear-gradient(180deg, var(--dl-midnight), var(--dl-deep));
  color: var(--dl-text-light);
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

.delivery-page section {
  padding: 90px 0;
  position: relative;
}

.delivery-page .section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dl-text-white);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.delivery-page .section-description,
.delivery-page .section-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dl-text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ========= 1. HERO SECTION ========= */

#hero-delivery.hero-section {
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.22), transparent 55%),
    linear-gradient(135deg, #020617, #031326);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
}

#hero-delivery .row {
  display: flex;
  align-items: center;
}

/* Coluna de texto */

.hero-content {
  position: relative;
  z-index: 2;
  padding-right: 32px;
}

.hero-title {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  color: var(--dl-text-white);
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--dl-text-muted);
  line-height: 1.8;
  max-width: 520px;
}

/* Botão principal */

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0.04em;
  color: #02101f;
  background-image: linear-gradient(135deg, var(--dl-azure), var(--dl-soft));
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.75);
  text-decoration: none;
  transition: var(--dl-transition);
}

.btn-cta i {
  font-size: 18px;
}

.btn-cta:hover,
.btn-cta:focus {
  color: #020617;
  background-image: linear-gradient(135deg, var(--dl-soft), var(--dl-ice));
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(56, 189, 248, 0.8);
  text-decoration: none;
}

/* Coluna visual – mockups / carrossel */

.hero-visual {
  position: relative;
  z-index: 2;
}

#carousel-delivery-hero {
  border-radius: var(--dl-radius-lg);
  overflow: hidden;
  box-shadow: var(--dl-shadow-soft);
  border: 1px solid rgba(37, 99, 235, 0.55);
  background: radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
              linear-gradient(135deg, #020617, #04152b);
}

#carousel-delivery-hero .carousel-inner {
  border-radius: var(--dl-radius-lg);
}

#carousel-delivery-hero .item img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

#carousel-delivery-hero .carousel-indicators {
  bottom: 14px;
}

#carousel-delivery-hero .carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin: 0 4px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(15, 23, 42, 0.7);
}

#carousel-delivery-hero .carousel-indicators .active {
  background: var(--dl-soft);
  border-color: var(--dl-soft);
}

/* ========= 2. PROBLEMA SECTION ========= */

.problema-section {
  background: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.22), transparent 50%),
              linear-gradient(180deg, #020b1e, #020617);
}

.problem-cards-row {
  margin-top: 40px;
}

.problema-card {
  background: radial-gradient(circle at 0% 0%, rgba(248, 113, 113, 0.06), rgba(15, 23, 42, 0.98));
  border-radius: var(--dl-radius-md);
  padding: 28px 22px;
  border: 1px solid rgba(248, 250, 252, 0.06);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  text-align: left;
  height: 100%;
  transition: var(--dl-transition);
}

.problema-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 250, 252, 0.18);
}

.problema-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.18), rgba(56, 189, 248, 0.1));
  color: var(--dl-ice);
  font-size: 24px;
}

.problema-card h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dl-text-white);
  margin-bottom: 8px;
}

.problema-card p {
  font-size: 14px;
  color: var(--dl-text-muted);
  line-height: 1.7;
}

/* ========= 3. FUNCIONALIDADES SECTION ========= */

.funcionalidades-section {
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.16), transparent 55%),
              linear-gradient(180deg, #020617, #031326);
}

.feature-cards-row {
  margin-top: 40px;
}

.feature-card {
  background: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.18), rgba(15, 23, 42, 0.98));
  border-radius: var(--dl-radius-md);
  padding: 26px 22px 24px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  height: 100%;
  text-align: left;
  transition: var(--dl-transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 22px 55px rgba(8, 47, 73, 0.96);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.26), rgba(15, 23, 42, 0.98));
  color: var(--dl-text-white);
  font-size: 22px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dl-text-white);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--dl-text-muted);
  line-height: 1.6;
}

/* ========= 4. DATA / BANCO DE DADOS ========= */

.data-section {
  background: linear-gradient(135deg, #020b1f, #020617);
}

.data-section .feature-list {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}

.data-section .feature-list li {
  font-size: 14px;
  color: var(--dl-text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.data-section .feature-list i {
  color: var(--dl-soft);
  margin-top: 2px;
}

.data-visual {
  border-radius: var(--dl-radius-lg);
  overflow: hidden;
  box-shadow: var(--dl-shadow-soft);
  border: 1px solid rgba(37, 99, 235, 0.5);
}

/* ========= 5. GESTÃO / PAINEL ========= */

.gestao-section {
  background: radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
              linear-gradient(180deg, #020617, #020b1e);
}

.dashboard-preview {
  position: relative;
  border-radius: var(--dl-radius-lg);
  overflow: hidden;
  box-shadow: var(--dl-shadow-soft);
  border: 1px solid rgba(37, 99, 235, 0.6);
}

.dashboard-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.gestao-section .feature-list {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}

.gestao-section .feature-list li {
  font-size: 14px;
  color: var(--dl-text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.gestao-section .feature-list i {
  color: var(--dl-soft);
  margin-top: 2px;
}

/* ========= 6. CTA FINAL + FORM ========= */

.cta-final-section {
  background: linear-gradient(135deg, #031326, #020617);
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}

.cta-final-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.25), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(37, 99, 235, 0.35), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
}

.cta-final-section .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--dl-text-white);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta-subtitle {
  font-size: 16px;
  color: var(--dl-text-light);
  max-width: 620px;
  margin: 0 auto 32px;
}

/* Formulário */

.form-orcamento {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.form-orcamento .form-control {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--dl-text-white);
  font-size: 14px;
  padding: 13px 20px;
  height: auto;
  box-shadow: none;
  transition: var(--dl-transition);
}

.form-orcamento textarea.form-control {
  border-radius: var(--dl-radius-md);
  min-height: 120px;
  resize: vertical;
}

.form-orcamento .form-control::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.form-orcamento .form-control:focus {
  border-color: var(--dl-soft);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.96);
  outline: none;
}

/* Botão do formulário (reaproveita .btn-theme) */

.cta-final-section .btn-theme {
  border-radius: 999px;
  border: none;
  background-image: linear-gradient(135deg, var(--dl-azure), var(--dl-soft));
  color: #020617;
  font-weight: 700;
  padding: 14px 24px;
  margin-top: 10px;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.85);
  transition: var(--dl-transition);
}

.cta-final-section .btn-theme i {
  margin-right: 6px;
}

.cta-final-section .btn-theme:hover {
  background-image: linear-gradient(135deg, var(--dl-soft), var(--dl-ice));
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(56, 189, 248, 0.9);
}

/* Mensagens do formulário */

#sendmessage-delivery,
#errormessage-delivery {
  display: none;
  margin-bottom: 10px;
}

.validation {
  font-size: 12px;
  color: #fecaca;
  margin-top: 4px;
}

/* ========= RESPONSIVO ========= */

@media (max-width: 991px) {
  #hero-delivery.hero-section {
    min-height: auto;
    padding: 110px 0 80px;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .form-orcamento {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .delivery-page section {
    padding: 70px 0;
  }

  .hero-title {
    font-size: 26px;
  }

  .cta-title {
    font-size: 24px;
  }

  #carousel-delivery-hero .item img {
    max-height: 380px;
  }

  .problema-card,
  .feature-card {
    margin-bottom: 20px;
  }
}
