/* Page-level layout for the Triaseg landing page */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #fff; color: var(--fg); }

img { display: block; max-width: 100%; }

.container       { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-wide  { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow{ max-width: 880px;  margin: 0 auto; padding: 0 32px; }

.band            { padding: 96px 0; }
.band-tight      { padding: 72px 0; }
.band-dark       {
  background: var(--triaseg-900);
  color: var(--gray-0);
}
.band-soft       { background: var(--bg-subtle); }

/* ------------- Hero ------------- */
.hero {
  position: relative;
  min-height: 760px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: var(--triaseg-900);
}
.hero__photo {
  position: absolute; inset: 0;
  background-image: url("assets/hero.jpeg");
  background-size: cover;
  background-position: center 35%;
  z-index: -2;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(16, 57, 49, 0.88) 0%,
      rgba(16, 57, 49, 0.70) 35%,
      rgba(16, 57, 49, 0.15) 60%,
      rgba(16, 57, 49, 0.00) 100%
    ),
    linear-gradient(180deg,
      rgba(16, 57, 49, 0.40) 0%,
      rgba(16, 57, 49, 0.00) 30%,
      rgba(16, 57, 49, 0.00) 70%,
      rgba(16, 57, 49, 0.35) 100%
    );
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 80px 0 96px;
}
.hero__copy { max-width: 620px; }
.hero__copy .eyebrow { color: var(--triaseg-200); margin-bottom: 20px; display: inline-block; }
.hero h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: #fff;
}
.hero h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--triaseg-300);
}
.hero__sub {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__ctas {
  display: flex; flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.hero__mini {
  display: flex; flex-wrap: wrap;
  gap: 32px;
}
.hero__mini-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
}
.hero__mini-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--triaseg-300);
}

/* Floating credential badge floating top-right of hero */
.hero__badge {
  position: absolute;
  top: 64px;
  right: 48px;
  background: rgba(255,255,255,0.96);
  color: var(--fg);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 280px;
  z-index: 2;
}
.hero__badge img { width: 36px; height: 36px; }
.hero__badge-text { font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 1.3; }
.hero__badge-text small { font-family: var(--font-body); font-weight: 500; color: var(--fg-muted); font-size: 11px; display: block; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 2px; }

/* --------------- Section heading -------------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head--left { text-align: left; margin-left: 0; margin-right: 0; }
.section-head .eyebrow { margin-bottom: 16px; display: inline-block; }
.section-head h2 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.section-head__sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0;
}
.band-dark .section-head__sub { color: rgba(255,255,255,0.7); }
.band-dark .section-head h2 { color: #fff; }

/* --------- Diferencial cards (3up) ---------- */
.diferencial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.dcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.dcard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--triaseg-200);
}
.dcard__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--triaseg-50);
  color: var(--triaseg-600);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.dcard h3 {
  font-size: 20px; font-weight: 800;
  margin: 0 0 10px;
}
.dcard p {
  font-size: 15px; line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}

/* ---------- Como Funciona: numbered ladder ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}
.step { position: relative; padding-top: 8px; }
.step__num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: var(--triaseg-400);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  display: block;
}
.step__icon {
  position: absolute; top: 18px; right: 0;
  color: rgba(255,255,255,0.4);
}
.step h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}
.step p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 240px;
}
.steps::before {
  content: ''; position: absolute;
  top: 32px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(77,194,154,0.4) 10%, rgba(77,194,154,0.4) 90%, transparent 100%);
  z-index: 0;
}

/* ------------- Simulator card -------------- */
.simulator {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.sim-head {
  text-align: center;
  margin-bottom: 32px;
}
.sim-head h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
}
.sim-head p { color: var(--fg-muted); font-size: 15px; margin: 0; }

.sim-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
}
.sim-label { font-family: var(--font-display); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); }
.sim-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.sim-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: var(--triaseg-100);
  border-radius: 999px;
  outline: none; cursor: pointer;
  margin: 8px 0 28px;
}
.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--triaseg-500);
  border: 4px solid #fff;
  box-shadow: var(--shadow-brand);
  cursor: pointer;
}
.sim-slider::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--triaseg-500);
  border: 4px solid #fff;
  box-shadow: var(--shadow-brand);
  cursor: pointer;
}
.sim-ticks {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--fg-subtle);
  margin-top: -16px; margin-bottom: 32px;
}
.sim-result {
  background: var(--triaseg-50);
  border: 1px solid var(--triaseg-200);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.sim-result__main {
  display: flex; flex-direction: column;
}
.sim-result__label {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--triaseg-700);
  margin-bottom: 4px;
}
.sim-result__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 44px;
  color: var(--triaseg-700);
  letter-spacing: -0.02em;
  line-height: 1;
}
.sim-result__price small { font-size: 18px; font-weight: 700; color: var(--triaseg-600); margin-left: 4px; }
.sim-result__meta {
  font-family: var(--font-body); font-size: 13px; color: var(--fg-muted);
  display: flex; flex-direction: column; gap: 2px; text-align: right;
}
.sim-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.sim-foot__note {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--fg-muted);
}

/* --------- Atendimento split --------- */
.atend-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: stretch;
}
.atend-left {
  position: relative;
}
.atend-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 30% 20%, rgba(57,178,152,0.18) 0, transparent 60%),
    linear-gradient(180deg, var(--triaseg-50) 0%, var(--gray-100) 100%);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
}
.atend-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.atend-photo__chip {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: rgba(16, 57, 49, 0.92);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex; gap: 14px; align-items: center;
  backdrop-filter: blur(8px);
}
.atend-photo__chip-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--triaseg-500);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.atend-photo__chip-text { font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 1.3; }
.atend-photo__chip-text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 2px; letter-spacing: 0.04em; text-transform: uppercase; }

.atend-copy { display: flex; flex-direction: column; justify-content: center; max-width: 540px; }
.atend-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 12px 0 20px;
}
.atend-copy > p {
  font-size: 17px; color: var(--fg-muted); line-height: 1.6;
}
.atend-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 16px;
}
.atend-list li {
  display: flex; gap: 14px; align-items: flex-start;
}
.atend-list .tick {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--triaseg-500); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.atend-list strong { font-family: var(--font-display); font-weight: 700; font-size: 16px; display: block; margin-bottom: 2px; }
.atend-list span.body { font-size: 14px; color: var(--fg-muted); line-height: 1.55; }

/* ---------- FAQ -------------- */
.faq-list {
  border-top: 1px solid var(--border);
}

/* ---------- Closing CTA band ---------- */
.closing {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(77, 194, 154, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(34, 117, 101, 0.35) 0%, transparent 55%),
    var(--triaseg-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.closing::after {
  content: '';
  position: absolute; inset: 0;
  background: url('assets/logo.png') no-repeat right -80px center / 480px;
  opacity: 0.06;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.closing h2 {
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 560px;
  margin: 0 0 16px;
  color: #fff;
}
.closing p {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin: 0 0 24px;
  max-width: 520px;
  line-height: 1.55;
}
.closing__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.closing__copy { max-width: 560px; }
.closing__list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 12px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px;
  color: rgba(255,255,255,0.9);
}
.closing__list li {
  display: flex; align-items: center; gap: 12px;
}
.closing__alt {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.closing__alt a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 200ms;
}
.closing__alt a:hover { color: var(--triaseg-300); }
.closing__form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  color: var(--fg);
}

/* ---------- Footer ----------- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 200ms; }
.footer a:hover { color: var(--triaseg-300); }
.footer__brand img { height: 36px; filter: brightness(1.1); margin-bottom: 16px; }
.footer__brand small { display: block; font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.footer__contact { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.65); }
.footer__contact strong { color: #fff; font-weight: 600; }
.footer__bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ----- Floating WhatsApp ----- */
.fab-whats {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  z-index: 40;
  cursor: pointer;
  transition: transform 200ms var(--ease-out);
  border: none;
  text-decoration: none;
}
.fab-whats:hover { transform: translateY(-2px) scale(1.04); }

/* ----- Form (.field contract) ----- */
.field { display: grid; gap: 6px; }
.field > label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--fg);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--fg);
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 160ms, box-shadow 160ms;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--triaseg-500);
  box-shadow: var(--shadow-focus);
}
.field textarea { resize: vertical; min-height: 96px; }
.field__err {
  display: none;
  font-size: 12px;
  color: var(--danger);
  font-family: var(--font-body);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error .field__err { display: block; }
.field__count {
  text-align: right;
  font-size: 11px;
  color: var(--fg-subtle);
  font-family: var(--font-mono);
}

.form__error {
  background: #FDECEA;
  border: 1px solid var(--danger);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--danger);
  margin: 0;
}

/* Submit button — WhatsApp green */
button.lp-submit {
  margin-top: 8px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.32);
  transition: all 200ms var(--ease-out);
}
button.lp-submit:hover { transform: translateY(-1px); background: #1FB855; }
button.lp-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.lp-form__privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 12px;
  color: var(--fg-subtle);
  margin-top: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; padding: 64px 0; }
  .hero__badge { display: none; }
  .diferencial-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .atend-split { grid-template-columns: 1fr; gap: 48px; }
  .atend-photo { max-width: 100%; aspect-ratio: 4 / 5; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .simulator { padding: 32px 24px; }
  .sim-result__price { font-size: 36px; }
  .closing__split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .container, .container-wide, .container-narrow { padding: 0 20px; }
  .band { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
