/* Syrafin — componentes reutilizáveis */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-title); font-weight: 700; font-size: 15px;
  padding: 15px 28px; border: none; border-radius: var(--radius-pill);
  text-align: center; cursor: pointer; white-space: normal;
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: scale(1.08); }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); color: var(--white); }
.btn--green { background: var(--success); color: var(--white); }
.btn--green:hover { background: var(--success-dark); color: var(--white); }
.btn--header { font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 12px 22px; white-space: nowrap; }
.btn--block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: 0.75; transform: none; }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px;
}
.card--accent { border-right: 3px solid var(--primary); }
.card--primary { background: var(--primary); border: none; box-shadow: var(--shadow-card); }
.card--primary .card__title, .card--primary .card__text { color: var(--white); }
.card--primary .card__text { color: var(--text-light); }
.card--glass { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); padding: 30px 26px; }
.card--glass .card__title { color: var(--white); }
.card--glass .card__text { color: #B9CCD3; }
.card--green { background: var(--success); border: none; box-shadow: var(--shadow-green); padding: 30px 26px; }
.card--green .card__title, .card--green .card__text, .card--green .card__step { color: var(--deep); }
.card__icon { margin-bottom: 18px; display: block; }
.card__title { font-family: var(--font-title); font-weight: 600; font-size: 18px; color: var(--text-strong); margin: 0 0 10px; }
.card__text { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.card__step { font-family: var(--font-title); font-weight: 800; font-size: 28px; color: var(--success); margin-bottom: 14px; }
.card--step .card__title { font-size: 17px; margin-bottom: 8px; }
.card--step .card__text { font-size: 14.5px; }

.value-card { background: var(--success); border-radius: var(--radius); padding: 26px 24px; }
.value-card__title { font-family: var(--font-title); font-weight: 600; font-size: 15.5px; color: var(--white); margin: 0 0 6px; }
.value-card__text { font-size: 14.5px; line-height: 1.6; color: #EAFBF0; margin: 0; }

.solution-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.solution-card__media {
  width: 100%; height: 170px; background-size: cover; background-position: center;
  background-color: #EEF2F5;
}
.solution-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.solution-card__body h3 { font-weight: 600; font-size: 18px; margin: 0 0 8px; }
.solution-card__body p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 0; }

.testimonial {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 18px;
}
.testimonial__head { display: flex; flex-direction: column; gap: 10px; }
.testimonial__person { display: flex; align-items: center; gap: 14px; }
.testimonial__photo {
  width: 64px; height: 64px; border-radius: var(--radius-pill); background-size: cover;
  background-position: center; background-color: #EEF2F5; flex-shrink: 0;
}
.testimonial__name { font-family: var(--font-title); font-weight: 600; font-size: 16px; color: var(--text-strong); margin: 0; }
.testimonial__stars { display: flex; gap: 3px; }
.testimonial__quote { font-size: 15.5px; line-height: 1.7; color: var(--text); margin: 0; }

.social-link {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill); background: rgba(255,255,255,0.08); color: var(--success);
  transition: background 0.25s ease, color 0.25s ease;
}
.social-link:hover { background: var(--success); color: var(--deep); }
.social-link--sm { width: 32px; height: 32px; background: rgba(255,255,255,0.06); }
.social-link--sm:hover { color: var(--deep-darker); }

.form-card {
  flex: 1 1 420px; min-width: 300px; background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; margin-top: -180px; box-shadow: var(--shadow-form);
}
.form-card__title { font-weight: 700; font-size: 19px; margin: 0 0 8px; }
.form-card__lead { font-size: 14.5px; color: var(--text-muted); margin: 0 0 24px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #D8DDE3; border-radius: var(--radius-sm);
  font-size: 14.5px; font-family: var(--font-body); background: var(--white); color: var(--text);
}
.form textarea { resize: vertical; line-height: 1.6; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(31,94,122,0.35); outline-offset: 1px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.form__consent { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.6; color: var(--text-muted); cursor: pointer; }
.form__consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.form__hint { font-size: 12.5px; color: #8A94A0; margin: 8px 0 0; }
.form__honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.alert { border-radius: 12px; padding: 16px 18px; font-size: 15px; line-height: 1.6; }
.alert--success { background: #DCFCE7; border: 1px solid #A7F3C4; color: #166534; }
.alert--success strong { display: block; font-family: var(--font-title); font-size: 17px; color: #15803D; margin-bottom: 6px; }
.alert--error { background: #FEF2F2; border: 1px solid #FCA5A5; color: #B42318; }
.is-hidden { display: none !important; }

.spinner {
  width: 15px; height: 15px; border: 2px solid rgba(255,255,255,0.35);
  border-top-color: var(--white); border-radius: var(--radius-pill);
  display: inline-block; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.wave { position: absolute; left: 0; width: 100%; height: 70px; display: block; }
.wave--top { top: -1px; }
.wave--bottom { bottom: -1px; }

.legal-page { max-width: 860px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--space-inline); }
.legal-page h1 { font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 12px; }
.legal-page h2 { font-weight: 700; font-size: clamp(18px, 2.2vw, 22px); margin: 36px 0 12px; }
.legal-page p, .legal-page li { font-size: 16px; line-height: 1.75; color: var(--text-muted); }
.legal-page ul { padding-left: 22px; }

/* Faixa de título das páginas internas (includes/header.php) */
.page-hero { background: var(--primary); padding: clamp(36px, 5vw, 60px) var(--space-inline); }
.page-hero__inner { max-width: var(--max-width); margin: 0 auto; }
.page-hero__inner--narrow { max-width: 860px; }
.page-hero__title {
  font-weight: 800; font-size: clamp(26px, 4vw, 42px); line-height: 1.15;
  color: var(--white); margin: 0 0 12px;
}
.page-hero__lead {
  font-size: clamp(14px, 1.8vw, 17px); line-height: 1.6; color: #C9DBE2;
  margin: 0; max-width: 620px;
}

/* Rodapé compacto */
.site-footer--simples { padding: clamp(32px, 5vw, 48px) var(--space-inline); }
.site-footer__inline { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-bottom: 18px; }
.site-footer__copy { font-size: 13.5px; color: #6E848C; margin: 0; }

/* Página 404 */
.erro-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.erro-404__inner { max-width: 620px; }
.erro-404__title { font-weight: 800; font-size: clamp(30px, 6vw, 46px); color: var(--white); margin: 0 0 16px; }
.erro-404__lead { font-size: 16.5px; line-height: 1.65; color: var(--text-light); margin: 0 0 32px; }
