/* =========================================================
   CEZÁRIOS TREINAMENTOS — Landing Page
   Mobile-first responsive CSS
   ========================================================= */

:root {
  --green-900: #0f3d2e;   /* verde profundo da logo */
  --green-800: #14543e;
  --green-700: #1a6e51;
  --green-600: #22875f;
  --green-500: #2e9d6c;
  --green-100: #e6f4ee;
  --gold:      #f4a300;   /* dourado/laranja da águia */
  --white:     #ffffff;
  --off-white: #fafafa;
  --gray-50:   #f5f7f6;
  --gray-100:  #eef0ee;
  --gray-300:  #c9d1cd;
  --gray-500:  #6f7a76;
  --gray-700:  #3a423f;
  --gray-900:  #131715;
  --shadow-sm: 0 2px 6px rgba(15,61,46,0.06);
  --shadow-md: 0 8px 24px rgba(15,61,46,0.12);
  --shadow-lg: 0 18px 48px rgba(15,61,46,0.18);
  --radius:    14px;
  --radius-sm: 8px;
  --maxw:      1180px;
  --maxw-narrow: 820px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--gray-900); }
h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); font-weight: 800; letter-spacing: -.3px; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); padding: 0 20px; margin: 0 auto; }
.container-narrow { max-width: var(--maxw-narrow); }
.hl { color: var(--green-700); }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--gray-900);
  box-shadow: 0 4px 14px rgba(244,163,0,0.35);
}
.btn-primary:hover { background: #ffb828; transform: translateY(-1px); color: var(--gray-900); }
.btn-header {
  background: var(--gold);
  color: var(--gray-900);
  padding: 10px 16px;
  font-size: .95rem;
  border-radius: 8px;
}
.btn-header:hover { background: #ffb828; color: var(--gray-900); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}
.logo-link { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { max-height: 44px; width: auto; }
.logo-fallback { display: none; align-items: center; gap: 10px; }
.logo-fallback-text { display: flex; flex-direction: column; line-height: 1; }
.logo-fallback-text strong { font-size: 1.05rem; color: var(--green-900); letter-spacing: 1px; }
.logo-fallback-text small { font-size: .68rem; color: var(--green-700); letter-spacing: .8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 0%, rgba(244,163,0,0.10), transparent 50%),
    linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 100%);
  color: var(--white);
  padding: 36px 0 56px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.hero h1 { color: var(--white); }
.hero h1 .hl { color: var(--gold); }
.hero h1 strong { color: var(--white); }
.hero .lead { color: rgba(255,255,255,0.92); font-size: 1.05rem; }
.badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 14px;
  backdrop-filter: blur(2px);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
  margin: 18px auto 18px;
}
/* Variante vertical para YouTube Shorts (9:16) */
.video-wrapper--short {
  max-width: 340px;
  aspect-ratio: 9 / 16;
}
.video-wrapper iframe,
.video-wrapper video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border: 0;
  border-radius: var(--radius);
  background: #000;
  object-fit: cover;
}

.hero-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-top: 14px;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  color: rgba(255,255,255,0.95);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--gray-900);
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Form card */
.hero-form {
  background: var(--white);
  color: var(--gray-900);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--gold);
}
.hero-form h2 { font-size: 1.4rem; margin-bottom: 4px; }
.hero-form .hl { color: var(--green-700); }
.form-sub { font-size: .92rem; color: var(--gray-500); margin-bottom: 14px; }
.kommo-form-host { min-height: 280px; }
.form-disclaimer {
  font-size: .8rem;
  color: var(--gray-500);
  margin: 14px 0 0;
  text-align: center;
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}
.section-head p { color: var(--gray-500); font-size: 1.05rem; }

/* ---------- How it works ---------- */
.section-how { background: var(--gray-50); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: steps;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--green-700);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(15,61,46,0.18);
}
.step h3 { color: var(--green-900); }
.step p { color: var(--gray-700); margin: 0; }
.how-cta { text-align: center; margin-top: 36px; }

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.benefit {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.benefit:hover { transform: translateY(-3px); border-color: var(--green-100); box-shadow: var(--shadow-md); }
.benefit-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  background: var(--green-100);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.benefit h3 { color: var(--green-900); }
.benefit p { color: var(--gray-700); margin: 0; }

/* ---------- Areas ---------- */
.section-areas { background: var(--green-100); }
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.area-chip {
  background: var(--white);
  color: var(--green-900);
  padding: 10px 18px;
  border-radius: 99px;
  font-weight: 600;
  font-size: .92rem;
  border: 1px solid rgba(15,61,46,0.08);
  box-shadow: var(--shadow-sm);
}

/* ---------- Testimonials ---------- */
.section-testimonials { background: var(--white); }
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.testimonial {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.testimonial .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 8px; }
.testimonial p { color: var(--gray-700); font-style: italic; }
.testimonial footer { display: flex; flex-direction: column; }
.testimonial footer strong { color: var(--green-900); }
.testimonial footer span { font-size: .85rem; color: var(--gray-500); }

/* ---------- FAQ ---------- */
.section-faq { background: var(--gray-50); }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 4px 18px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease;
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--green-100);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green-900);
  padding: 16px 28px 16px 0;
  position: relative;
  list-style: none;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--green-700);
  color: var(--white);
}
.faq-item p {
  padding: 0 0 16px;
  color: var(--gray-700);
  margin: 0;
}

/* ---------- CTA Final ---------- */
.section-cta {
  background:
    linear-gradient(180deg, var(--green-800) 0%, var(--green-900) 100%);
  color: var(--white);
  text-align: center;
}
.section-cta h2 { color: var(--white); }
.section-cta .hl { color: var(--gold); }
.section-cta p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.78);
  padding: 44px 0 0;
  font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
}
.footer-brand p { color: rgba(255,255,255,0.7); }
.footer-logo { max-height: 56px; margin-bottom: 12px; background: var(--white); padding: 6px 10px; border-radius: 8px; }
.footer-block h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: .3px;
}
.footer-block ul li { margin-bottom: 8px; }
.footer-block a { color: rgba(255,255,255,0.85); }
.footer-block a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 20px;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp floating ---------- */
.wa-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #25D366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  border-radius: 99px;
  box-shadow: 0 8px 22px rgba(37,211,102,0.45);
  font-weight: 700;
  z-index: 95;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37,211,102,0.55); }
.wa-float-text { display: none; }

/* ---------- Responsive: Tablet ---------- */
@media (min-width: 720px) {
  .hero { padding: 56px 0 72px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
  .hero-checks { grid-template-columns: repeat(2, 1fr); }
  .wa-float-text { display: inline; }
}

/* ---------- Responsive: Desktop ---------- */
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: start;
  }
  .hero-text .video-wrapper { margin: 22px 0 22px; }
  .hero-form {
    position: sticky;
    top: 84px;
    padding: 28px;
  }
  .hero-form h2 { font-size: 1.55rem; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 80px 0; }
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   FORMULÁRIO CUSTOMIZADO (lead-form)
   ========================================================= */
.lead-form { display: grid; gap: 14px; }
.lead-form fieldset { margin: 0; padding: 0; border: 0; }
.lead-form .field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; }
.lead-form .field > label,
.lead-form fieldset > legend {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: .2px;
  padding: 0;
  margin-bottom: 6px;
}
.lead-form .req { color: #c0392b; font-weight: 700; }

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  background: var(--white);
  color: var(--gray-900);
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
  -webkit-appearance: none;
}
.lead-form input::placeholder { color: #a5aeaa; }
.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(46,157,108,0.18);
}
.lead-form .field.has-error input,
.lead-form .field.has-error select {
  border-color: #c0392b;
}
.lead-form .field.has-error input:focus,
.lead-form .field.has-error select:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.15);
}
.lead-form .error-msg {
  font-size: .82rem;
  color: #c0392b;
  line-height: 1.3;
  display: none;
}
.lead-form .field.has-error .error-msg { display: block; }

/* Select com chevron customizado */
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.lead-form select { padding-right: 40px; cursor: pointer; }

/* Radio customizado */
.lead-form .radio-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.lead-form .radio-group-inline { grid-template-columns: 1fr 1fr; }
.lead-form .radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
  position: relative;
}
.lead-form .radio:hover { border-color: var(--green-500); }
.lead-form .radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lead-form .radio-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .15s ease;
  position: relative;
}
.lead-form .radio-mark::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-700);
  transform: scale(0);
  transition: transform .15s ease;
}
.lead-form .radio input[type="radio"]:checked ~ .radio-mark { border-color: var(--green-700); }
.lead-form .radio input[type="radio"]:checked ~ .radio-mark::after { transform: scale(1); }
.lead-form .radio:has(input[type="radio"]:checked) {
  border-color: var(--green-700);
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 600;
}
.lead-form .radio input[type="radio"]:focus-visible ~ .radio-mark {
  box-shadow: 0 0 0 3px rgba(46,157,108,0.25);
}

/* Submit com spinner */
.form-submit {
  width: 100%;
  position: relative;
  margin-top: 6px;
}
.form-submit .btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(0,0,0,0.18);
  border-top-color: var(--gray-900);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
.form-submit[data-loading="true"] { pointer-events: none; opacity: .85; }
.form-submit[data-loading="true"] .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Status do envio */
.form-status {
  margin-top: 4px;
  font-size: .92rem;
  padding: 12px 14px;
  border-radius: 10px;
  display: none;
  line-height: 1.4;
}
.form-status[data-state="success"] {
  display: block;
  background: var(--green-100);
  color: var(--green-900);
  border: 1px solid var(--green-500);
}
.form-status[data-state="error"] {
  display: block;
  background: #fdecea;
  color: #922d22;
  border: 1px solid #e0a59c;
}

/* intl-tel-input overrides para combinar com o site */
.iti { width: 100% !important; display: block !important; }
.iti__tel-input { width: 100% !important; }
.iti--separate-dial-code .iti__country-container { background: var(--gray-50); border-radius: 9px 0 0 9px; }
.iti__country-list {
  font-family: inherit;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  max-height: 220px;
}
.iti__selected-flag { padding: 0 10px 0 12px; border-radius: 9px 0 0 9px; }
.iti__selected-flag:focus { outline: none; }
