:root {
    --teal-deep: #0b3a3f;
    --teal-rich: #134a4f;
    --teal-soft: #1a5f64;
    --champagne: #c9b896;
    --champagne-light: #d9c9a8;
    --champagne-dark: #a8956d;
    --ivory: #f5f1e8;
    --cream: #ebe3d2;
    --ink: #0a1d20;
    --line: rgba(201, 184, 150, 0.25);
    --display: "Cormorant Garamond", serif;
    --body: "Manrope", sans-serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--body);
    background: var(--ivory);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
  }

  ::selection { background: var(--teal-deep); color: var(--champagne); }

  /* ============ NAV ============ */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 22px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 58, 63, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }

  .logo {
    font-family: var(--display);
    font-weight: 600;
    font-size: 28px;
    letter-spacing: 8px;
    color: var(--champagne);
  }

  .logo span {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--ivory);
    opacity: 0.7;
    display: block;
    margin-top: -4px;
  }


.logo-img {
  display: block;
  width: auto;
  height: 87px;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 170px;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 18px;
}

  .nav-links {
    display: flex;
    gap: 38px;
    align-items: center;
  }

  .nav-links a {
    color: var(--ivory);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s;
    position: relative;
  }

  .nav-links a:hover { color: var(--champagne); }

  .nav-cta {
    background: var(--champagne);
    color: var(--teal-deep) !important;
    padding: 12px 26px;
    border-radius: 2px;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    transition: all 0.3s;
  }

  .nav-cta:hover {
    background: var(--ivory);
    transform: translateY(-1px);
  }

  /* ============ HERO ============ */
  .hero {
    min-height: 100vh;
    background:
      linear-gradient(135deg, rgba(11, 58, 63, 0.88) 0%, rgba(11, 58, 63, 0.55) 50%, rgba(10, 29, 32, 0.92) 100%),
      url('../../img/hero_rapha_noite.png?v=3') center/cover no-repeat;
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 140px 80px 80px;
    gap: 60px;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(201, 184, 150, 0.12), transparent 60%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    color: var(--ivory);
  }

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    border: 1px solid var(--champagne);
    color: var(--champagne);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 32px;
    animation: fadeUp 0.8s ease-out;
  }

  .badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--champagne);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--champagne);
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  h1.hero-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(48px, 6vw, 92px);
    line-height: 0.95;
    letter-spacing: -1px;
    margin-bottom: 28px;
    animation: fadeUp 1s ease-out 0.2s backwards;
  }

  h1.hero-title em {
    font-style: italic;
    color: var(--champagne);
    font-weight: 300;
  }

  .hero-tagline {
    font-size: 18px;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 40px;
    opacity: 0.85;
    animation: fadeUp 1s ease-out 0.4s backwards;
  }

  .hero-price {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 40px;
    padding: 20px 36px;
    border: 1px solid var(--champagne-light);
    border-radius: 2px;
    background: linear-gradient(135deg, var(--champagne-light) 0%, var(--champagne) 48%, var(--champagne-dark) 100%);
    box-shadow: 0 18px 48px rgba(168, 149, 109, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeUp 1s ease-out 0.5s backwards;
  }

  .hero-price::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    animation: shine 5s ease-in-out infinite;
  }

  @keyframes shine {
    0%, 55% { left: -60%; }
    100% { left: 130%; }
  }

  .hero-price-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal-deep);
    opacity: 0.85;
    position: relative;
  }

  .hero-price-value {
    font-family: var(--display);
    font-size: 46px;
    font-weight: 600;
    line-height: 1;
    color: var(--teal-deep);
    position: relative;
  }

  .hero-price-value sup {
    font-size: 18px;
    color: var(--teal-rich);
    vertical-align: super;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 580px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    animation: fadeUp 1s ease-out 0.6s backwards;
  }

  .stat .num {
    font-family: var(--display);
    font-size: 38px;
    font-weight: 500;
    color: var(--champagne);
    line-height: 1;
  }

  .stat .label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 6px;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ============ FORM ============ */
  .form-card {
    background: var(--ivory);
    padding: 48px 44px;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(201, 184, 150, 0.3);
    animation: fadeUp 1s ease-out 0.5s backwards;
  }

  .form-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 4px;
    background: linear-gradient(90deg, var(--champagne-dark), var(--champagne-light), var(--champagne-dark));
  }

  .form-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .form-header .kicker {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--champagne-dark);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
  }

  .form-header h2 {
    font-family: var(--display);
    font-size: 32px;
    font-weight: 500;
    color: var(--teal-deep);
    line-height: 1.15;
  }

  .form-header h2 em {
    font-style: italic;
    color: var(--champagne-dark);
  }

  .form-header p {
    font-size: 13px;
    color: rgba(10, 29, 32, 0.6);
    margin-top: 10px;
  }

  .field {
    margin-bottom: 18px;
    position: relative;
  }

  .field label {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal-deep);
    margin-bottom: 6px;
    font-weight: 600;
  }

  .field input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid rgba(11, 58, 63, 0.2);
    background: transparent;
    font-family: var(--body);
    font-size: 15px;
    color: var(--ink);
    transition: border-color 0.3s;
    outline: none;
  }

  .field input:focus {
    border-bottom-color: var(--champagne-dark);
  }

  .field input::placeholder {
    color: rgba(10, 29, 32, 0.35);
    font-weight: 300;
  }

  .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 24px;
    cursor: pointer;
  }

  .checkbox-field input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: var(--teal-deep);
    cursor: pointer;
    flex-shrink: 0;
  }

  .checkbox-field span {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(10, 29, 32, 0.7);
  }

  .checkbox-field a {
    color: var(--teal-deep);
    font-weight: 600;
    text-decoration: underline;
  }

  .submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--teal-deep);
    color: var(--ivory);
    border: none;
    font-family: var(--body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }

  .submit-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 184, 150, 0.3), transparent);
    transition: left 0.6s;
  }

  .submit-btn:hover {
    background: var(--ink);
  }

  .submit-btn:hover::before {
    left: 100%;
  }

  .form-footer {
    text-align: center;
    font-size: 11px;
    color: rgba(10, 29, 32, 0.5);
    margin-top: 20px;
    letter-spacing: 1px;
  }

  .form-footer strong { color: var(--teal-deep); }

  /* ============ SECTION DIVIDERS ============ */
  .section {
    padding: 120px 80px;
    position: relative;
  }

  .section-label {
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--champagne-dark);
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--champagne-dark);
  }

  .section-title {
    font-family: var(--display);
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 400;
    line-height: 1.05;
    color: var(--teal-deep);
    margin-bottom: 32px;
    max-width: 800px;
  }

  .section-title em {
    font-style: italic;
    color: var(--champagne-dark);
  }

  /* ============ EMPREENDIMENTO ============ */
  .empreendimento {
    background: var(--ivory);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
  }

  .empreendimento-img {
    height: 640px;
    background: url('../../img/empreendimento_rapha.jpg?v=3') center/cover;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 20px 60px rgba(11, 58, 63, 0.2);
  }

  .empreendimento-img::after {
    content: 'RAPHA';
    position: absolute;
    bottom: -30px;
    left: -30px;
    font-family: var(--display);
    font-style: italic;
    font-size: 120px;
    color: var(--champagne);
    font-weight: 300;
    line-height: 1;
    z-index: 2;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.15);
  }

  .empreendimento-img::before {
    content: '';
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 200px;
    height: 200px;
    background: url('../../img/logo_rapha_by_tova.png?v=3') center/contain no-repeat;
    z-index: 2;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    border-radius: 2px;
  }

  .empreendimento-content p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(10, 29, 32, 0.75);
    margin-bottom: 20px;
  }

  .specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 44px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
  }

  .spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .spec-num {
    font-family: var(--display);
    font-size: 44px;
    font-weight: 500;
    color: var(--teal-deep);
    line-height: 1;
  }

  .spec-num span {
    color: var(--champagne-dark);
  }

  .spec-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(10, 29, 32, 0.6);
    font-weight: 600;
  }

  /* ============ LAZER ============ */
  .lazer {
    background: var(--teal-deep);
    color: var(--ivory);
    position: relative;
    overflow: hidden;
  }

  .lazer::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(201, 184, 150, 0.05) 100%);
  }

  .lazer .section-title { color: var(--ivory); max-width: 900px; }
  .lazer .section-label { color: var(--champagne); }
  .lazer .section-label::before { background: var(--champagne); }

  .lazer-intro {
    font-size: 17px;
    max-width: 700px;
    opacity: 0.8;
    margin-bottom: 60px;
    line-height: 1.7;
  }

  .amenities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(201, 184, 150, 0.15);
    border: 1px solid rgba(201, 184, 150, 0.15);
  }

  .amenity {
    background: var(--teal-deep);
    padding: 28px 24px;
    transition: all 0.3s;
    position: relative;
  }

  .amenity:hover {
    background: var(--teal-rich);
  }

  .amenity-icon {
    font-family: var(--display);
    font-size: 28px;
    color: var(--champagne);
    margin-bottom: 12px;
    font-weight: 300;
  }

  .amenity-name {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--ivory);
    font-weight: 500;
  }

  /* ============ PLANTAS ============ */
  .plantas {
    background: var(--cream);
    text-align: center;
  }

  .plantas .section-label { justify-content: center; }
  .plantas .section-label::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--champagne-dark);
  }
  .plantas .section-title { margin: 0 auto 80px; }

  .plantas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .planta {
    background: var(--ivory);
    padding: 50px 36px;
    border: 1px solid var(--line);
    transition: all 0.4s;
    position: relative;
  }

  .planta:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(11, 58, 63, 0.12);
    border-color: var(--champagne);
  }

  .planta-area {
    font-family: var(--display);
    font-size: 72px;
    font-weight: 400;
    color: var(--teal-deep);
    line-height: 1;
  }

  .planta-area sup {
    font-size: 24px;
    color: var(--champagne-dark);
    font-style: italic;
  }

  .planta-divider {
    width: 30px;
    height: 1px;
    background: var(--champagne-dark);
    margin: 22px auto;
  }

  .planta-name {
    font-family: var(--display);
    font-style: italic;
    font-size: 22px;
    color: var(--teal-soft);
    margin-bottom: 12px;
  }

  .planta-desc {
    font-size: 13px;
    color: rgba(10, 29, 32, 0.65);
    line-height: 1.6;
  }

  /* ============ LOCALIZAÇÃO ============ */
  .localizacao {
    background: var(--ivory);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .loc-list {
    list-style: none;
    margin-top: 36px;
  }

  .loc-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .loc-list li:last-child { border-bottom: none; }

  .loc-name {
    color: var(--teal-deep);
    font-weight: 500;
  }

  .loc-distance {
    font-family: var(--display);
    font-style: italic;
    color: var(--champagne-dark);
    font-size: 17px;
  }

  .loc-img {
    height: 540px;
    background: url('../../img/GERAL_01.png?v=3') center/cover;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(11, 58, 63, 0.2);
    position: relative;
  }

  .loc-img::after {
    content: 'AV. ESPERANTINA, 690';
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--teal-deep);
    color: var(--champagne);
    padding: 14px 22px;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 600;
  }

  /* ============ PARCEIROS ============ */
  .parceiros {
    background: var(--teal-deep);
    padding: 60px 80px;
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .parceiros-label {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--champagne);
    text-transform: uppercase;
    margin-bottom: 28px;
    font-weight: 600;
  }

  .parceiros-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
  }

  .parceiro {
    font-family: var(--display);
    font-size: 28px;
    color: var(--ivory);
    letter-spacing: 4px;
    font-weight: 500;
    opacity: 0.85;
    transition: opacity 0.3s;
  }

  .parceiro:hover { opacity: 1; }

  /* ============ FOOTER ============ */
  footer {
    background: var(--ink);
    color: var(--ivory);
    padding: 70px 80px 30px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(201, 184, 150, 0.15);
  }

  .footer-brand h3 {
    font-family: var(--display);
    font-size: 36px;
    letter-spacing: 8px;
    color: var(--champagne);
    margin-bottom: 14px;
  }

  .footer-brand p {
    font-size: 13px;
    opacity: 0.65;
    max-width: 320px;
    line-height: 1.7;
  }

  .footer-col h4 {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--champagne);
    margin-bottom: 18px;
    font-weight: 600;
  }

  .footer-col p, .footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(245, 241, 232, 0.7);
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer-col a:hover { color: var(--champagne); }

  .footer-disclaimer {
    max-width: 1100px;
    margin: 0 auto 26px;
    font-size: 10px;
    line-height: 1.65;
    letter-spacing: 0.2px;
    color: rgba(245, 241, 232, 0.38);
    text-align: justify;
  }

  .footer-bottom {
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    opacity: 0.4;
    text-transform: uppercase;
  }

  .footer-credit {
    text-align: center;
    margin-top: 14px;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(245, 241, 232, 0.45);
  }

  .footer-credit a {
    color: var(--champagne);
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer-credit a:hover { color: var(--champagne-light); text-decoration: underline; }

  /* ============ SUCCESS MESSAGE ============ */
  .success-msg {
    display: none;
    background: var(--ivory);
    padding: 48px 44px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: fadeUp 0.6s ease-out;
  }

  .success-msg.active { display: block; }
  .form-card.hidden { display: none; }

  .success-msg .check {
    width: 70px; height: 70px;
    border: 2px solid var(--champagne-dark);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 38px;
    color: var(--champagne-dark);
  }

  .success-msg h3 {
    font-family: var(--display);
    font-size: 30px;
    color: var(--teal-deep);
    margin-bottom: 14px;
  }

  .success-msg p {
    color: rgba(10, 29, 32, 0.7);
    font-size: 15px;
    line-height: 1.6;
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1024px) {
    .logo-img { height: 69px; }
    .footer-logo { max-width: 145px; }
    nav { padding: 18px 30px; }
    .nav-links { gap: 20px; }
    .nav-links a:not(.nav-cta) { display: none; }
    .hero, .empreendimento, .localizacao {
      grid-template-columns: 1fr;
      padding: 110px 30px 60px;
      gap: 50px;
    }
    .section { padding: 80px 30px; }
    .amenities { grid-template-columns: repeat(2, 1fr); }
    .plantas-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .parceiros { padding: 50px 30px; }
    .parceiros-list { gap: 40px; }
    .empreendimento-img { height: 400px; }
    .empreendimento-img::after { font-size: 70px; bottom: -20px; left: -10px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    footer { padding: 50px 30px 25px; }
  }

  @media (max-width: 600px) {
    .field-row { grid-template-columns: 1fr; }
    .form-card { padding: 36px 26px; }
    .form-header h2 { font-size: 26px; }
    .hero-price { display: flex; width: 100%; }
    .hero-price-value { font-size: 36px; }
  }
