/* malves.pt – página inicial */

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: #fff;
}

.hero-inner {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}

.hero-text {
  flex: 1 1 440px;
  min-width: 0;
}

.hero .eyebrow {
  color: var(--orange);
}

.hero h1 {
  margin: 18px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 24px 0 0;
  font-size: 19px;
  color: var(--on-dark);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-points {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 15px;
  color: var(--on-dark);
}

.hero-visual {
  flex: 1 1 420px;
  min-width: 0;
  position: relative;
  height: 440px;
  max-width: 520px;
  width: 100%;
}

.mock-window {
  position: absolute;
  top: 0;
  left: 0;
  right: 36px;
  height: 330px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.mock-bar {
  height: 40px;
  background: #eef2f7;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.mock-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c3ccda;
}

.mock-url {
  margin-left: 12px;
  flex: 1;
  height: 24px;
  border-radius: 12px;
  background: #fff;
  color: var(--text-2);
  font-size: 12px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.mock-body {
  padding: 24px;
}

.mock-line {
  height: 10px;
  border-radius: 5px;
  background: var(--line);
  margin-top: 8px;
}

.mock-line.title {
  height: 16px;
  width: 46%;
  border-radius: 8px;
  background: var(--navy);
  margin-top: 0;
}

.mock-line.w78 {
  width: 78%;
  margin-top: 14px;
}

.mock-line.w64 {
  width: 64%;
}

.mock-cta {
  height: 36px;
  width: 120px;
  border-radius: 8px;
  background: var(--accent);
  margin-top: 18px;
}

.mock-tiles {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.mock-tiles span {
  flex: 1;
  height: 72px;
  border-radius: 10px;
  background: var(--bg-soft);
}

.mock-card {
  position: absolute;
  box-sizing: border-box;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.mock-card.status {
  left: 16px;
  bottom: 0;
  width: 230px;
  background: var(--navy-2);
  border: 1px solid var(--navy-line);
}

.mock-card.ticket {
  right: 0;
  bottom: 36px;
  width: 200px;
  background: #fff;
  color: var(--text);
}

.mock-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--on-dark);
}

.mock-card .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.mock-card-value {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  margin-top: 6px;
}

.mock-card-sub {
  font-size: 13px;
  margin-top: 4px;
  color: var(--on-dark);
}

.mock-card.ticket .mock-card-sub {
  color: var(--text-2);
}

.mock-card-strong {
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- Serviços ---------- */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}

.service {
  flex: 1 1 250px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  background: #fff;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(36, 86, 245, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service h3 {
  margin: 20px 0 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
}

.service p {
  margin: 10px 0 0;
  color: var(--text-2);
}

.tags {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--bg-soft);
  font-size: 14px;
}

/* ---------- Pacotes ---------- */
.plans {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}

.plan {
  flex: 1 1 300px;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.plan.featured {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 24px 50px rgba(11, 31, 58, 0.25);
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
}

.plan-desc {
  margin: 8px 0 0;
  color: var(--text-2);
}

.plan.featured .plan-desc,
.plan.featured .per,
.plan.featured .price-note {
  color: var(--on-dark);
}

.badge {
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--orange);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.price {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
}

.per {
  color: var(--text-2);
}

.price-note {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 2px;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check {
  color: var(--accent);
  flex: none;
  margin-top: 3px;
}

.plan.featured .check {
  color: var(--orange);
}

.plan-cta {
  min-height: 50px;
  font-size: 16px;
}

/* ---------- Como trabalhamos ---------- */
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 28px;
}

.steps li {
  flex: 1 1 220px;
  min-width: 0;
}

.step-num {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.steps h3 {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
}

.steps p {
  margin: 8px 0 0;
  color: var(--text-2);
}

/* ---------- Portefólio ---------- */
.portfolio {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
}

.work {
  flex: 1 1 300px;
  min-width: 0;
  margin: 0;
}

.work-shot {
  height: 220px;
  border-radius: 18px;
  background: var(--line);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.work figcaption {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.work figcaption strong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
}

.work figcaption span {
  color: var(--text-2);
  font-size: 15px;
}

/* ---------- Contacto ---------- */
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}

.contact-info {
  flex: 1 1 360px;
  min-width: 0;
}

.contact-list {
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list dt {
  font-size: 14px;
  color: var(--text-2);
}

.contact-list dd {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
}

.contact-list a {
  display: inline-block;
  padding: 8px 0;
}

.contact-form {
  flex: 1 1 440px;
  min-width: 0;
  background: var(--bg-soft);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-weight: 600;
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  border: 1px solid #b8c2d2;
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
  width: 100%;
}

.field input,
.field select {
  height: 48px;
}

.field textarea {
  padding: 12px 14px;
  resize: vertical;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--text-2);
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: none;
}

.contact-form .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-note {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}

@media (max-width: 720px) {
  .hero-inner {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-visual {
    display: none;
  }

  .contact-form {
    padding: 24px;
  }
}

/* ---------- Estados do formulário ---------- */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success,
.form-error {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.form-success {
  background: #e6f9f4;
  border: 1px solid #1f9e84;
  color: #0b4f41;
}

.form-error {
  background: #fdecec;
  border: 1px solid #c0392b;
  color: #7a1f16;
}

.field .error {
  font-size: 14px;
  font-weight: 600;
  color: #b3261e;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b3261e;
  border-width: 2px;
}

/* Contacto sobre fundo claro: o cartão do formulário passa a branco */
.section.soft .contact-form {
  background: #fff;
  border: 1px solid var(--line);
}

.call-cost {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
}
