/* ==========================================================================
   LEMARTH TREINAMENTOS - MODERN DESIGN SYSTEM
   ========================================================================== */

:root {
  --brand-primary: #006336;
  --brand-primary-dark: #044727;
  --brand-primary-deep: #042b19;
  --brand-accent: #10b981;
  --brand-accent-hover: #059669;
  --brand-mint: #ecfdf5;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   BASE & TYPOGRAPHY
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-800);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  background: #ffffff;
  overflow-x: hidden;
  margin: 0;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--slate-900);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  font-size: 1rem;
  line-height: 1.7;
}

a {
  transition: var(--transition);
}

a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
}

button:focus {
  outline: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--slate-100);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-accent));
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary-dark);
}

/* ==========================================================================
   UTILITY SURFACES & TYPOGRAPHY HELPERS
   ========================================================================== */
.section {
  padding: 80px 0;
}

.bg-light-surface {
  background-color: var(--slate-50);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-primary);
  background: var(--brand-mint);
  padding: 6px 14px;
  border-radius: 999px;
}

.section-eyebrow-light {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(167, 243, 208, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}

.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--slate-900);
}

.section-heading-light {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #ffffff;
}

.text-emerald-light {
  color: #6ee7b7 !important;
}

.modern-prose {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--slate-600) !important;
}

.modern-prose p {
  margin-bottom: 1rem;
  color: var(--slate-600);
}

.modern-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.modern-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.modern-image-frame:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-modern-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #ffffff !important;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  box-shadow: 0 8px 20px rgba(0, 99, 54, 0.24);
  transition: var(--transition);
}

.btn-modern-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 99, 54, 0.32);
  color: #ffffff !important;
}

.btn-modern-outline {
  background: transparent;
  color: var(--brand-primary) !important;
  border: 2px solid var(--brand-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 26px;
  transition: var(--transition);
}

.btn-modern-outline:hover {
  background: var(--brand-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-modern-light {
  background: #ffffff;
  color: var(--brand-primary-dark) !important;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.btn-modern-light:hover {
  background: var(--brand-mint);
  color: var(--brand-primary-deep) !important;
  transform: translateY(-2px);
}

.modern-back-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-600);
  padding: 8px 16px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.modern-back-link:hover {
  color: var(--brand-primary);
  transform: translateX(-3px);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
a.icon-fixed.whats {
  position: fixed;
  right: 22px;
  bottom: 24px;
  top: auto;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
  transition: var(--transition);
  overflow: hidden;
  padding: 0;
}

a.icon-fixed.whats i {
  font-size: 1.75rem;
  position: static;
  margin: 0;
  width: auto !important;
  color: #ffffff !important;
}

a.icon-fixed.whats .btn-title {
  display: none;
  font-size: 0.92rem;
  font-weight: 700;
  margin-left: 10px;
  white-space: nowrap;
  color: #ffffff !important;
}

a.icon-fixed.whats:hover {
  width: 152px;
  padding: 0 20px;
  background: #1ebe5b;
  transform: translateY(-3px);
}

a.icon-fixed.whats:hover .btn-title {
  display: inline-block;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.desk {
  display: block;
  width: 100%;
}

.topbar-modern {
  background: var(--brand-primary-deep);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-social-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.topbar-social-link:hover {
  color: #ffffff;
  background: var(--brand-accent);
}

.phone {
  margin-bottom: 0;
  line-height: 36px;
  font-size: 0.85rem;
  font-weight: 500;
}

.topbar-phone-item i {
  color: var(--brand-accent);
}

.hero-position {
  color: #fff;
  position: relative;
  z-index: 99;
}

.modern-navbar-wrap {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--transition);
}

.modern-navbar-wrap.is-scrolled {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.navbar-expand-lg .navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700) !important;
  padding: 8px 16px;
  margin: 4px 2px;
  border-radius: var(--radius-sm);
  text-transform: none;
  line-height: 1.5;
  transition: var(--transition);
}

.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-link.active-nav {
  color: var(--brand-primary) !important;
  background: var(--brand-mint);
}

.navbar-expand-lg .navbar-nav .nav-cta-btn {
  background: var(--brand-primary);
  color: #ffffff !important;
  border-radius: 999px;
  padding: 9px 22px !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 99, 54, 0.22);
}

.navbar-expand-lg .navbar-nav .nav-cta-btn:hover,
.navbar-expand-lg .navbar-nav .nav-cta-btn.active-nav {
  background: var(--brand-primary-dark);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.modern-toggler {
  border: 1px solid var(--slate-200) !important;
  background: var(--slate-50) !important;
  color: var(--slate-800) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm) !important;
}

/* ==========================================================================
   HERO CAROUSEL (HOME) & PAGE HERO (INNER PAGES)
   ========================================================================== */
.modern-hero-slider {
  position: relative;
  background: var(--slate-900);
}

.hero-slide-wrapper {
  position: relative;
  height: clamp(380px, 74vh, 720px);
  overflow: hidden;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.35) 100%);
  pointer-events: none;
}

.modern-indicators [data-bs-target] {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.45);
  border: none;
  margin: 0 5px;
  transition: var(--transition);
}

.modern-indicators .active {
  width: 44px;
  background-color: var(--brand-accent);
}

.modern-carousel-ctrl {
  width: 6%;
  opacity: 0.85;
}

.modern-ctrl-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 1rem;
  transition: var(--transition);
}

.modern-carousel-ctrl:hover .modern-ctrl-circle {
  background: var(--brand-primary);
  transform: scale(1.08);
}

/* Inner Page Hero */
#mini-hero-area.modern-page-hero {
  background: radial-gradient(circle at top right, #059669 0%, #006336 45%, #042b19 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.modern-hero-inner {
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a7f3d0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
}

.modern-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
}

.modern-page-subtitle {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   PILLARS STRIP (HOME)
   ========================================================================== */
.modern-pillars-section {
  padding: 56px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--slate-100);
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.4);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-mint);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
  background: var(--brand-primary);
  color: #ffffff;
}

.pillar-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.94rem;
  color: var(--slate-600);
  margin-bottom: 16px;
}

.pillar-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-primary);
}

/* ==========================================================================
   TRAINING CARDS & FEATURED VIDEO SECTION
   ========================================================================== */
.modern-training-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.modern-training-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.45);
}

.modern-training-card--glass {
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.modern-training-card--glass:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(110, 231, 183, 0.5);
}

.modern-training-card__img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--slate-100);
}

.modern-training-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.modern-training-card:hover .modern-training-card__img-wrap img {
  transform: scale(1.06);
}

.modern-training-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: rgba(0, 99, 54, 0.9);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 999px;
}

.modern-training-card__body {
  padding: 22px 24px;
}

.modern-training-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 16px;
  line-height: 1.4;
}

.modern-training-card__footer {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.modern-featured-section {
  position: relative;
  overflow: hidden;
  background: var(--brand-primary-deep);
  color: #ffffff;
}

.featured-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.featured-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 43, 25, 0.9) 0%, rgba(15, 23, 42, 0.86) 100%);
  z-index: 1;
}

/* ==========================================================================
   FEATURE CARDS, DETAIL VIEW & MODAL
   ========================================================================== */
.modern-feature-card,
.modern-detail-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.feature-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--brand-mint);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.feature-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
}

.modern-modal-content {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modern-modal-header {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #ffffff;
  border-bottom: none;
  padding: 20px 28px;
}

.modern-modal-header .modal-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

.modern-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.modern-input {
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  padding: 10px 14px;
  font-size: 0.95rem;
  color: var(--slate-800);
  transition: var(--transition);
}

.modern-input:focus {
  background: #ffffff;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

/* ==========================================================================
   CTA BAND & CONTACT PAGE
   ========================================================================== */
.modern-cta-band {
  padding: 64px 0;
  background: #ffffff;
}

.modern-cta-box {
  background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary) 100%);
  border-radius: var(--radius-lg);
  padding: 42px 44px;
  box-shadow: var(--shadow-lg);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-mint);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-right: 16px;
  flex-shrink: 0;
}

.contact-info-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
}

.contact-info-text strong {
  font-size: 0.98rem;
  color: var(--slate-900);
}

.modern-whatsapp-cta-card {
  background: linear-gradient(145deg, #065f46 0%, #042b19 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.whatsapp-badge-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(37, 211, 102, 0.2);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
}

.bg-map-modern {
  background: var(--brand-primary-deep);
  border-top: 4px solid var(--brand-accent);
}

/* ==========================================================================
   MODERN FOOTER
   ========================================================================== */
.modern-footer {
  background: linear-gradient(180deg, var(--brand-primary-dark) 0%, var(--brand-primary-deep) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 28px;
}

.footer-tagline {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-nav-list li {
  margin-bottom: 10px;
}

.footer-nav-list li a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.footer-nav-list li a:hover {
  color: #6ee7b7;
  padding-left: 4px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  font-size: 1rem;
}

.footer-social-btn:hover {
  background: var(--brand-accent);
  transform: translateY(-2px);
}

.footer-contact-row {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 8px;
}

.footer-contact-row i {
  color: #6ee7b7;
}

.modern-footer .copyright {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.modern-footer .copyright p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
}

.modern-footer .copyright p a {
  color: #6ee7b7;
  font-weight: 600;
}

/* ==========================================================================
   LEGACY COMPATIBILITY CLASSES (sobre.php / 404.php / search.php)
   ========================================================================== */
.cutter {
  width: 100%;
  height: 214px;
  object-fit: cover;
  object-position: center center;
}

.default-img-cutter {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center center;
  margin: 0 0 30px 0;
  transition: all 0.4s ease;
}

.img-cutter {
  width: 100%;
  height: 255px;
  object-fit: cover;
  object-position: center center;
  margin: 0 0 30px 0;
  transition: all 0.4s ease;
}

.about-us-section {
  background: url(../images/about-us.png) no-repeat center center fixed;
  background-size: cover;
  color: #fff !important;
}

svg.error-404 {
  color: var(--slate-800) !important;
  font-size: 16em;
}

#livesearch {
  display: none;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media screen and (max-width: 768px) {
  .desk {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .modern-feature-card,
  .modern-detail-card,
  .modern-cta-box,
  .modern-whatsapp-cta-card {
    padding: 24px;
  }

  .hero-slide-wrapper {
    height: 360px;
  }
}