/* ═══════════════════════════════════════════════════════════
   MARIASHINE — style.css
   Uma marca do Grupo Inforshine
   Cores baseadas no logo oficial MariaShine (flor-de-lis)
   Baseado na estrutura UIkit 3.6.19
   ═══════════════════════════════════════════════════════════ */

/* PALETA MARIASHINE (extraida do logo flor-de-lis)
   --ms-green:   #5B9A3C   (verde principal — flor-de-lis)
   --ms-blue:    #2E86AB   (azul — flor-de-lis)
   --ms-gold:    #D4A843   (dourado — texto MARIASHINE)
   --ms-teal:    #3A9E8F   (verde-azulado — gradiente)
   --ms-dark:    #333333   (texto)

   Cores herdadas do Grupo Inforshine:
   --infor-orange: #E8732A
*/
:root {
  --ms-green: #5B9A3C;
  --ms-blue: #2E86AB;
  --ms-gold: #D4A843;
  --ms-teal: #3A9E8F;
  --ms-dark: #333333;
  --infor-orange: #E8732A;
}

/* ───────────────────────────────────────────────────────────
   TIPOGRAFIA GLOBAL
   ─────────────────────────────────────────────────────────── */
body {
  font-family: 'Montserrat', Tahoma, sans-serif !important;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ms-dark) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .var {
  font-family: 'Varela Round', sans-serif;
  font-weight: bold;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

h1 { letter-spacing: -0.03em; }
h2 { letter-spacing: -0.02em; }
h3, h4 { letter-spacing: -0.01em; }

p {
  margin-bottom: 1.2em;
}

/* ───────────────────────────────────────────────────────────
   NAVBAR
   ─────────────────────────────────────────────────────────── */
.uk-navbar-item, .uk-navbar-nav > li > a, .uk-navbar-toggle, .uk-navbar-dropdown-nav {
  font-size: 1.15rem !important;
  font-family: 'Montserrat', Tahoma, sans-serif !important;
  text-decoration: none;
}
.uk-navbar-nav > li > a {
  color: var(--ms-dark);
  padding: 0 10px;
  text-transform: none;
  transition: color 0.3s ease;
}
.uk-navbar-dropdown { width: 300px !important; }
.uk-nav-sub a {
  padding: 5px 0 !important;
  transition: color 0.3s ease;
}

/* ───────────────────────────────────────────────────────────
   LAYOUT
   ─────────────────────────────────────────────────────────── */
.uk-container { max-width: 1100px; }
.uk-container-xsmall { max-width: 660px; }
.uk-container-small { max-width: 900px; }
.uk-section-muted { background: #F4F9F3; }
.uk-section { padding-top: 3%; padding-bottom: 3%; }

/* ───────────────────────────────────────────────────────────
   COR PRIMARIA MARIASHINE (verde)
   ─────────────────────────────────────────────────────────── */
.uk-text-primary { color: var(--ms-green) !important; }
.uk-section-primary {
  background: linear-gradient(135deg, var(--ms-green), var(--ms-teal), var(--ms-blue)) !important;
}

/* ───────────────────────────────────────────────────────────
   HERO SECTION
   ─────────────────────────────────────────────────────────── */
.uk-section-primary h1,
.uk-section-primary .uk-heading-small {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.uk-section-primary .uk-heading-small {
  font-size: 2.4rem;
  line-height: 1.2;
}
.uk-section-primary p {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* ───────────────────────────────────────────────────────────
   CARDS
   ─────────────────────────────────────────────────────────── */
.uk-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.uk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.uk-card-body { padding: 6%; }
.uk-card-media-top {
  padding: 6%;
  overflow: hidden;
}
.uk-card-media-top img {
  border-radius: 8px 8px 0 0;
  transition: transform 0.4s ease;
}
.uk-card-media-top:hover img {
  transform: scale(1.03);
}
.uk-card-default .uk-card-header { border-bottom: none !important; }
.uk-card-default {
  border-radius: 10px;
  overflow: hidden;
}
.uk-grid-column-small > *, .uk-grid-small > * { padding-left: 2rem; }

/* ───────────────────────────────────────────────────────────
   TESTIMONIAL CARDS
   ─────────────────────────────────────────────────────────── */
.uk-card-default blockquote,
.testimonial-card {
  border-left: 4px solid var(--ms-green);
  padding-left: 1.2em;
  font-style: italic;
  color: #555;
  line-height: 1.8;
}
.testimonial-card .uk-card-body {
  border-left: 4px solid var(--ms-green);
}
.testimonial-card p {
  font-style: italic;
  color: #555;
}

/* ───────────────────────────────────────────────────────────
   ICONES
   ─────────────────────────────────────────────────────────── */
.uk-icon-button {
  box-sizing: border-box;
  width: 86px;
  height: 86px;
  border-radius: 6px;
  background: #F4F9F3;
  transition: background 0.3s ease, transform 0.3s ease;
}
.uk-icon-button:hover {
  background: #e8f5e3;
  transform: scale(1.05);
}
.icon-como {
  margin-top: -27%;
  margin-bottom: 6%;
  border: solid 6px #f5f5f5;
  background: #ffffff;
  transition: transform 0.3s ease;
}
/* Cards "Como Funciona" precisam de overflow visible para o ícone numerado */
.m-t-como .uk-card {
  overflow: visible;
}

/* ───────────────────────────────────────────────────────────
   SECCAO COMO FUNCIONA
   ─────────────────────────────────────────────────────────── */
.h3-como { margin-top: 10px; margin-bottom: 10px; }
.m-t-como { margin-top: 12%; }

/* ───────────────────────────────────────────────────────────
   DIVISORES DECORATIVOS (centrados com margin auto)
   ─────────────────────────────────────────────────────────── */
.div-cinz-center {
  border-bottom: 3px solid #f5f5f5;
  width: 10%;
  margin: 0 auto 1.5rem auto;
}
.div-blu-center {
  border-bottom: 3px solid var(--ms-green);
  width: 10%;
  margin: 0 auto 1.5rem auto;
}

/* ───────────────────────────────────────────────────────────
   UTILITARIOS
   ─────────────────────────────────────────────────────────── */
.uk-margin-bottom { margin-bottom: 10px !important; }
.lkns { color: var(--ms-dark) !important; }
.bora15 { border-radius: 15px !important; }
.bo6 { border: 6px solid #F4F9F3 !important; }
.bo6w { border: 6px solid #ffffff !important; }
.uk-accordion-title::before { display: none !important; }

/* ───────────────────────────────────────────────────────────
   LINKS
   ─────────────────────────────────────────────────────────── */
.uk-link, a {
  color: var(--ms-dark) !important;
  transition: color 0.3s ease;
}
a:hover {
  text-decoration: none !important;
  color: var(--ms-green) !important;
}

/* ───────────────────────────────────────────────────────────
   TEXTO BRANCO (fundos escuros)
   ─────────────────────────────────────────────────────────── */
.wi { color: #ffffff !important; }

/* ───────────────────────────────────────────────────────────
   MENU MOBILE
   ─────────────────────────────────────────────────────────── */
.link-menu-mobile { color: #eeeeee !important; }

/* ───────────────────────────────────────────────────────────
   BUTTONS
   ─────────────────────────────────────────────────────────── */
.uk-button {
  font-size: 1rem;
  text-transform: none;
  padding: 12px 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* BOTAO CTA MARIASHINE (gradiente verde-azul) */
.uk-button-danger {
  background: linear-gradient(135deg, var(--ms-green), var(--ms-teal));
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(91, 154, 60, 0.3);
}
.uk-button-danger:hover {
  background: linear-gradient(135deg, #4A8732, #2F8A7C);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(91, 154, 60, 0.4);
  transform: translateY(-2px);
}

/* BOTAO DEFAULT COM BORDA VERDE */
.uk-button-default {
  border: 2px solid var(--ms-green);
  color: var(--ms-green) !important;
  background: transparent;
}
.uk-button-default:hover {
  background-color: var(--ms-green);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(91, 154, 60, 0.3);
}

/* ───────────────────────────────────────────────────────────
   HEADER
   ─────────────────────────────────────────────────────────── */
header.uk-box-shadow-small {
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--ms-green), var(--ms-teal), var(--ms-blue)) 1;
}

/* ───────────────────────────────────────────────────────────
   NAVBAR LOGO
   ─────────────────────────────────────────────────────────── */
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.navbar-logo img { height: 50px; width: auto; }
.navbar-brand-text { line-height: 1.2; }
.navbar-brand-sub {
  font-size: 0.65rem;
  color: #999;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

/* ───────────────────────────────────────────────────────────
   BADGE LOCALIDADE SEDE
   ─────────────────────────────────────────────────────────── */
.sede-badge {
  display: inline-block;
  background: var(--ms-green);
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 4px;
  vertical-align: middle;
  transition: background 0.3s ease;
}
.sede-badge:hover {
  background: #4A8732;
}

/* ───────────────────────────────────────────────────────────
   FORMS (contact / quote)
   ─────────────────────────────────────────────────────────── */
.uk-input,
.uk-textarea,
.uk-select {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 14px;
  font-family: 'Montserrat', Tahoma, sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}
.uk-input:focus,
.uk-textarea:focus,
.uk-select:focus {
  border-color: var(--ms-green);
  box-shadow: 0 0 0 3px rgba(91, 154, 60, 0.15);
  outline: none;
}
.uk-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ───────────────────────────────────────────────────────────
   FOOTER MARIASHINE
   ─────────────────────────────────────────────────────────── */
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 8px;
}
.footer-brand img { height: 40px; width: auto; opacity: 0.85; }
.footer-contacts {
  font-size: 0.85rem;
  line-height: 1.7;
}
.footer-contacts a {
  color: #ccc !important;
  transition: color 0.3s ease;
}
.footer-contacts a:hover {
  color: #fff !important;
}
.footer-powered {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.65rem;
  color: #666;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-powered img {
  display: block;
  height: auto;
  width: 180px;
  margin: 10px auto 0 auto;
  opacity: 0.95;
  transition: opacity 0.3s ease;
  filter: brightness(1.3);
}
.footer-powered img:hover {
  opacity: 1;
  filter: brightness(1.5);
}
.footer-copyright {
  font-size: 0.75rem;
  color: #888;
  margin-top: 10px;
}

/* ───────────────────────────────────────────────────────────
   SCROLL / FADE-IN ANIMATIONS
   ─────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.uk-scrollspy-inview {
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ───────────────────────────────────────────────────────────
   SIMULADOR IFRAME
   ─────────────────────────────────────────────────────────── */
iframe[title*="Simulador"] {
  width: 100%;
  min-height: 820px;
  border: none;
  border-radius: 15px;
}
@media (max-width: 639px) {
  iframe[title*="Simulador"] {
    min-height: 900px;
  }
}

/* ───────────────────────────────────────────────────────────
   SELECTION
   ─────────────────────────────────────────────────────────── */
::selection {
  background: rgba(91, 154, 60, 0.2);
  color: var(--ms-dark);
}

/* ───────────────────────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────────────────────── */
@media (max-width: 959px) {
  .uk-section { padding-top: 6%; padding-bottom: 6%; }
  .m-t-como { margin-top: 4%; }
  .icon-como { margin-top: 0; }

  .uk-card:hover {
    transform: translateY(-2px);
  }

  .uk-section-primary .uk-heading-small {
    font-size: 1.8rem;
  }
}

@media (max-width: 639px) {
  body { font-size: 1rem; }
  .uk-heading-small { font-size: 1.2rem; }
  .navbar-logo img { height: 36px; }
  .navbar-brand-sub { display: none; }

  .uk-section-primary .uk-heading-small {
    font-size: 1.4rem;
  }

  .uk-card-body { padding: 8%; }

  .uk-button {
    padding: 10px 22px;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
  }

  .uk-grid > * {
    margin-bottom: 1.5rem;
  }

  .div-cinz-center,
  .div-blu-center {
    width: 20%;
  }

  .footer-contacts {
    font-size: 0.8rem;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 8px;
  }

  .uk-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ───────────────────────────────────────────────────────────
   PRINT
   ─────────────────────────────────────────────────────────── */
@media print {
  .uk-section-primary {
    background: #5B9A3C !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .uk-card:hover {
    transform: none;
    box-shadow: none;
  }
}
