/* ==========================================================================
   Ocean Island — Lista VIP
   Identidade visual extraída de ocean-island.com:
   fonte Plus Jakarta Sans, acento #256D85, textos #464646, fundos claros,
   botões retos (sem raio), texto de botão em caixa alta com tracking.
   ========================================================================== */

:root {
  --color-primary: #256d85;
  --color-primary-dark: #1a4f61;
  --color-primary-light: #e8f0f2;
  --color-dark: #0f2b35;
  --color-text: #464646;
  --color-text-light: #6f6f6f;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f4f4;
  --color-border: #dcdcdc;
  --color-error: #b3261e;
  --color-success: #1a7a4c;

  --font-body: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;

  --radius: 2px;
  --shadow-card: 0 24px 60px -20px rgba(15, 43, 53, 0.35);
  --container-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 12px;
}

.eyebrow--light {
  color: #cfe3ea;
}

/* ---------------------------------- Buttons ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 18px 36px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--small {
  padding: 12px 22px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-header__logo img {
  height: 40px;
  width: auto;
}

.site-header__cta {
  display: none;
}

@media (min-width: 640px) {
  .site-header__cta {
    display: inline-flex;
  }
}

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  padding: 40px 0 56px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(15, 43, 53, 0.88) 0%, rgba(15, 43, 53, 0.94) 100%), url("assets/hero-central-park.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}

.hero__content {
  color: #fff;
}

.hero__title {
  color: #fff;
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.15;
}

.hero__subtitle {
  color: #dce8ec;
  font-size: 16px;
  max-width: 560px;
}

.vip-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 2px 14px;
  border-radius: var(--radius);
}

/* ---------------------------------- Form card ---------------------------------- */

.form-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
}

.form-card__inner {
  padding: 28px 24px;
}

.form-card__title {
  font-size: 22px;
  margin-bottom: 4px;
}

.form-card__subtitle {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-card__privacy {
  font-size: 12px;
  color: var(--color-text-light);
  text-align: center;
  margin: 14px 0 0;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
}

.field input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.field input.is-invalid {
  border-color: var(--color-error);
}

.field__error {
  display: block;
  color: var(--color-error);
  font-size: 12px;
  margin-top: 6px;
  min-height: 0;
}

.field--checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: start;
}

.field--checkbox input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.field--checkbox label {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.5;
}

.field--checkbox .field__error {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Button loading state */

.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

#submit-btn.is-loading .btn__spinner {
  display: inline-block;
}

#submit-btn.is-loading .btn__label {
  opacity: 0.85;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success / error states */

.form-success {
  text-align: center;
  padding: 24px 8px;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-success);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h2 {
  font-size: 20px;
}

.form-success p {
  color: var(--color-text-light);
  font-size: 14px;
  margin: 0;
}

.form-error {
  text-align: center;
  padding: 20px 8px;
}

.form-error p {
  color: var(--color-error);
  font-size: 14px;
}

/* ---------------------------------- Sections ---------------------------------- */

.section {
  padding: 64px 0;
}

.section__title {
  font-size: clamp(24px, 4vw, 34px);
  max-width: 640px;
}

/* Benefits */

.benefits {
  background: var(--color-bg);
}

.benefits__grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 800px) {
  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  padding: 32px 24px;
  background: var(--color-bg-alt);
  border-radius: 4px;
}

.benefit-card__number {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--color-text-light);
  font-size: 15px;
  margin: 0;
}

/* Credibility */

.credibility {
  background: var(--color-bg-alt);
}

.credibility__grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 800px) {
  .credibility__grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.credibility__text p {
  color: var(--color-text-light);
  font-size: 15px;
}

.credibility__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (min-width: 800px) {
  .credibility__stats {
    grid-template-columns: 1fr;
  }
}

.stat {
  background: #fff;
  padding: 20px 16px;
  border-radius: 4px;
  text-align: center;
}

@media (min-width: 800px) {
  .stat {
    text-align: left;
  }
}

.stat__number {
  display: block;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat__label {
  display: block;
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 4px;
}

.projects-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 48px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--color-border);
}

.projects-list li {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* CTA final */

.cta-final {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(15, 43, 53, 0.9), rgba(15, 43, 53, 0.9)), url("assets/hero-luminous.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.cta-final__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}

.cta-final h2 {
  color: #fff;
  font-size: clamp(24px, 4vw, 34px);
}

.cta-final p {
  color: #dce8ec;
  font-size: 16px;
  margin-bottom: 28px;
}

/* ---------------------------------- Footer ---------------------------------- */

.site-footer {
  background: var(--color-dark);
  color: #b9ccd2;
  padding: 48px 0 24px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

@media (min-width: 640px) {
  .site-footer__inner {
    flex-direction: row;
    text-align: left;
  }
}

.site-footer__logo {
  height: 64px;
  width: auto;
}

.site-footer__info p {
  margin: 0 0 6px;
  font-size: 14px;
}

.site-footer__info a {
  color: #cfe3ea;
}

.site-footer__copy {
  text-align: center;
  font-size: 12px;
  color: #6f8a92;
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------------------------------- Desktop hero layout ---------------------------------- */

@media (min-width: 960px) {
  .hero {
    padding: 72px 0 88px;
  }

  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 56px;
  }

  .form-card__inner {
    padding: 40px;
  }
}

/* ---------------------------------- Reduced motion ---------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn__spinner {
    animation: none;
  }
}
