/* =====================================================
   TurboMax Brand Identity
   Colors:  Primary  #40728B  |  Secondary  #43596D
   Fonts:   Elemental End (titles) | Lemon Milk (body)
   ===================================================== */

/* ---------- Custom Fonts ---------- */
@font-face {
  font-family: 'Elemental End';
  src: url('../fonts/Elemental End.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Elemental End';
  src: url('../fonts/Elemental End italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LEMONMILK-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LEMONMILK-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LEMONMILK-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LEMONMILK-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LEMONMILK-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LEMONMILK-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LEMONMILK-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LEMONMILK-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Global Body Font ---------- */
body,
p,
li,
td,
label,
input,
textarea,
select,
button,
.nav-item,
.navbar-nav .nav-link,
.modal-body,
.form-control,
.card-body {
  font-family: 'Lemon Milk', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Heading Font ---------- */
h1, h2, h3, h4, h5, h6,
.navbar-brand,
.title,
.card-title,
.modal-title,
.section-title,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Elemental End', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Brand Color Overrides ---------- */
/* These reinforce the colors set in now-ui-kit.css */
:root {
  --brand-primary:   #40728B;
  --brand-secondary: #43596D;
}

/* Primary buttons */
.btn-primary {
  background-color: #40728B;
  border-color: #40728B;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #43596D;
  border-color: #43596D;
}

/* Info buttons (secondary brand) */
.btn-info {
  background-color: #43596D;
  border-color: #43596D;
}
.btn-info:hover,
.btn-info:focus {
  background-color: #40728B;
  border-color: #40728B;
}

/* Links */
a:not(.btn):not(.nav-link) {
  color: #40728B;
}
a:not(.btn):not(.nav-link):hover {
  color: #43596D;
}

/* ==========================================================
   Floating Action Buttons
   ========================================================== */
.fab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  color: #40728B;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(64, 114, 139, 0.28);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
  margin-bottom: 10px;
}
.fab-btn:hover {
  background: #40728B;
  color: #ffffff !important;
  transform: translateX(-4px) scale(1.08);
  box-shadow: 0 6px 20px rgba(64, 114, 139, 0.42);
}
/* WhatsApp gets a green tint on hover */
.fab-btn:nth-child(2):hover {
  background: #25D366;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38);
}

/* ==========================================================
   Plan Cards
   ========================================================== */
.planos-section {
  padding: 20px 0 90px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Top decorative line (thin vertical line above title, like in the reference) */
.planos-section::before {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  background: #43596D;
  margin: 0 auto 28px;
}

/* ---- Scattered decorative circles ---- */
.planos-section .deco-tl,
.planos-section .deco-tr,
.planos-section .deco-bl,
.planos-section .deco-br,
.planos-section .deco-bc,
.planos-section .deco-ml,
.planos-section .deco-mr {
  position: absolute;
  border-radius: 50%;
  background: #43596D;
  z-index: 0;
  pointer-events: none;
}
/* Top-left large */
.planos-section .deco-tl  { top: -30px;   left: -30px;  width: 100px; height: 100px; }
/* Top-right very large */
.planos-section .deco-tr  { top: -42px;   right: -42px; width: 136px; height: 136px; }
/* Bottom-left medium */
.planos-section .deco-bl  { bottom: -28px; left: -28px;  width: 88px;  height: 88px;  }
/* Bottom-right small */
.planos-section .deco-br  { bottom: -16px; right: -16px; width: 58px;  height: 58px;  }
/* Bottom-center tiny dot */
.planos-section .deco-bc  { bottom: 14px;  left: 50%; transform: translateX(-50%); width: 14px; height: 14px; }
/* Mid-left floating circle */
.planos-section .deco-ml  { top: 42%;   left: -20px; width: 54px; height: 54px; opacity: 0.5; }
/* Mid-right floating circle */
.planos-section .deco-mr  { top: 35%;   right: -20px; width: 40px; height: 40px; opacity: 0.5; }

/* ---- Section header ---- */
.planos-section .planos-title {
  font-family: 'Elemental End', 'Montserrat', sans-serif;
  font-size: 2.4rem;
  color: #43596D;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.planos-section .planos-subtitle {
  font-family: 'Lemon Milk', 'Montserrat', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 0.88rem;
  color: #40728B;
  margin-bottom: 56px;
}

/* ---- Cards row ---- */
.planos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  position: relative;
  z-index: 1;
  padding: 24px 0 32px;
}

/* Card wrapper */
.plan-card-wrap {
  flex: 1;
  max-width: 320px;
  min-width: 230px;
  position: relative;
}

/* ---- Per-card scattered circles ---- */
.plan-card-wrap .card-deco {
  position: absolute;
  border-radius: 50%;
  z-index: 5;
  pointer-events: none;
}

/* Left card circles: one protruding left, one mid-right */
.plan-card-wrap.left  .card-deco.a {
  background: #43596D;
  top: 18%;  left: -22px;
  width: 44px; height: 44px;
}
.plan-card-wrap.left  .card-deco.b {
  background: #43596D;
  bottom: 18%; right: -18px;
  width: 32px; height: 32px;
}

/* Center card circles: top and bottom center (dark on light bg via plan bg)*/
.plan-card-wrap.center .card-deco.a {
  background: #40728B;
  top: -20px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px;
}
.plan-card-wrap.center .card-deco.b {
  background: #40728B;
  bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px;
}

/* Right card circles: one protruding right, one mid-left */
.plan-card-wrap.right .card-deco.a {
  background: #43596D;
  top: 18%;  right: -22px;
  width: 44px; height: 44px;
}
.plan-card-wrap.right .card-deco.b {
  background: #43596D;
  bottom: 18%; left: -18px;
  width: 32px; height: 32px;
}

/* ---- Card base ---- */
.plan-card {
  border-radius: 42px;
  padding: 40px 26px 34px;
  text-align: center;
  color: #43596D;
  background: #b8dff0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(64, 114, 139, 0.18);
}

/* ---- Featured (center) card ---- */
.plan-card.featured {
  background: #43596D;
  color: #ffffff;
  min-height: 440px;
  box-shadow: 0 16px 48px rgba(67, 89, 109, 0.38);
  z-index: 2;
  border-radius: 46px;
}
.plan-card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(67, 89, 109, 0.45);
}

/* ---- Plan name ---- */
.plan-card .plan-name {
  font-family: 'Lemon Milk', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 4px;
}

/* ---- Plan price ---- */
.plan-card .plan-price {
  font-family: 'Lemon Milk', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.plan-card.featured .plan-price {
  font-size: 2rem;
}

/* ---- Divider between price and features ---- */
.plan-card .plan-divider {
  width: 48px;
  height: 2px;
  background: currentColor;
  opacity: 0.25;
  border-radius: 2px;
  margin-bottom: 16px;
}

/* ---- Features list ---- */
.plan-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-family: 'Lemon Milk', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 2.1;
  flex: 1;
}

/* ---- Contratar button ---- */
.plan-card .btn-contratar {
  font-family: 'Lemon Milk', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 25px;
  padding: 10px 36px;
  border: none;
  cursor: pointer;
  background: #40728B;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
  margin-top: auto;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-card.featured .btn-contratar {
  background: #b8dff0;
  color: #43596D;
}
.plan-card .btn-contratar:hover {
  opacity: 0.88;
  transform: scale(1.04);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .planos-row {
    gap: 16px;
  }
  .plan-card-wrap {
    max-width: 280px;
  }
}
@media (max-width: 768px) {
  .planos-row {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .plan-card-wrap {
    max-width: 90%;
    width: 100%;
  }
  .plan-card.featured {
    order: -1;
  }
  .plan-card-wrap .card-deco { display: none; }
  .planos-section .planos-title { font-size: 1.8rem; }
  .planos-section .deco-ml,
  .planos-section .deco-mr { display: none; }
}
