/* CARDOSO & CARDOSO — one page */

:root {
  --color-bg: #ffffff;
  --color-bg-muted: #f2f2f2;
  --color-text: #000000;
  --color-text-soft: #4a4a4a;
  --color-border: #e0e0e0;
  --color-placeholder: #9a9a9a;
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  --space-section: clamp(3rem, 8vw, 6rem);
  --space-inline: clamp(1.5rem, 5vw, 3rem);
  --radius: 10px;
  --max-content: 42rem;
  --header-h: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#contato,
#sobre,
#topo {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem var(--space-inline);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__brand {
  font-weight: 800;
  font-size: clamp(0.7rem, 2.5vw, 0.85rem);
  letter-spacing: 0.06em;
  text-decoration: none;
}

.site-header__brand:hover {
  text-decoration: none;
  opacity: 0.75;
}

.site-header__nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header__nav a:hover {
  text-decoration: none;
  opacity: 0.6;
}

/* Hero */
.hero {
  padding: clamp(2rem, 6vw, 4rem) var(--space-inline) var(--space-section);
}

.hero__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.hero__brand {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__brand-line {
  display: block;
}

.hero__tagline {
  margin: 0.75rem 0 0;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 500;
  color: var(--color-text-soft);
}

.hero__rule {
  margin: clamp(1.5rem, 4vw, 2.25rem) 0;
  border: none;
  border-top: 1px solid var(--color-border);
}

.hero__headline {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.35rem, 4.2vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: clamp(1rem, 3vw, 1.5rem) 0 0;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 400;
  color: var(--color-text-soft);
  max-width: 38em;
}

/* Form section */
.form-section {
  padding: var(--space-section) var(--space-inline);
  background: var(--color-bg);
}

.form-section__inner {
  max-width: min(100%, 28rem);
  margin: 0 auto;
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.contact-form__title {
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.field {
  margin-bottom: 1.25rem;
}

.field__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.field__input {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field__input::placeholder {
  color: var(--color-placeholder);
}

.field__input:hover {
  border-color: #c8c8c8;
}

.field__input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.field__input--textarea {
  min-height: 8rem;
  resize: vertical;
}

.field__error {
  display: block;
  min-height: 1.25rem;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #b00020;
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: #000;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.contact-form__submit:hover {
  background: #222;
}

.contact-form__submit:active {
  transform: scale(0.99);
}

.contact-form__submit:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.contact-form__feedback {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.5em;
}

.contact-form__feedback.is-success {
  color: #1b5e20;
}

.contact-form__feedback.is-error {
  color: #b00020;
}

/* About band */
.about-band {
  padding: var(--space-section) var(--space-inline) calc(var(--space-section) * 0.85);
  background: var(--color-bg-muted);
}

.about-card {
  max-width: min(100%, 36rem);
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.about-card__title {
  margin: 0 0 1rem;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-card__text {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  color: var(--color-text-soft);
  max-width: 36em;
}

/* Footer */
.site-footer {
  padding: 1.5rem var(--space-inline) 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-soft);
  background: var(--color-bg-muted);
  border-top: 1px solid var(--color-border);
}

.site-footer p {
  margin: 0;
}

/* Desktop: wider hero + two-column feel optional */
@media (min-width: 900px) {
  .hero__inner {
    max-width: 52rem;
  }

  .form-section__inner {
    max-width: 32rem;
  }

  .about-card {
    max-width: 42rem;
  }
}
