/* ==========================================================================
   LANDING PAGE PLANEJADOS - RAFFINATO DESIGN (ALTO PADRÃO DE FÁBRICA)
   Subdomínio: planejados.raffinatodesign.com.br
   ========================================================================== */

:root {
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg-dark-1: #08090c;
  --bg-dark-2: #101217;
  --bg-card: rgba(20, 23, 30, 0.9);
  --bg-card-border: rgba(219, 164, 128, 0.3);
  --gold-primary: #DBA480;
  --gold-light: #F0CFBB;
  --gold-gradient: linear-gradient(135deg, #F0CFBB 0%, #DBA480 50%, #B37B56 100%);
  --gold-glow: 0 10px 35px rgba(219, 164, 128, 0.35);
  --text-white: #ffffff;
  --text-light: #e4e7ee;
  --text-muted: #9aa1b0;
  --whatsapp-color: #25d366;
  --whatsapp-hover: #20bd5a;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark-1);
  color: var(--text-light);
  font-family: var(--font-main);
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-dark-1);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(219, 164, 128, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(219, 164, 128, 0.07) 0%, transparent 50%);
  background-attachment: fixed;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

/* ==========================================================================
   HEADER PREMIUM
   ========================================================================== */
.header-planejados {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 12, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 44px;
  width: auto;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.badge-garantia {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--gold-light);
  background: rgba(219, 164, 128, 0.1);
  border: 1px solid rgba(219, 164, 128, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-weight: 500;
}

.badge-garantia svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--gold-gradient);
  color: #08090c;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  text-decoration: none;
  box-shadow: 0 3px 15px rgba(219, 164, 128, 0.35);
  transition: var(--transition);
  white-space: nowrap;
  animation: ctaGlowPulse 2.8s ease-in-out infinite;
}

.header-cta-btn svg {
  width: 14px;
  height: 14px;
  fill: #08090c;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 8px 25px rgba(219, 164, 128, 0.65);
  color: #08090c;
}

.header-cta-btn:hover svg {
  transform: scale(1.12);
}

.btn-text-desktop {
  display: inline;
}

.btn-text-mobile {
  display: none;
}

@keyframes ctaGlowPulse {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(219, 164, 128, 0.35);
  }
  50% {
    box-shadow: 0 4px 28px rgba(219, 164, 128, 0.65);
  }
}

.header-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-color);
  border: 1px solid rgba(37, 211, 102, 0.4);
  padding: 0.5rem 1.15rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.header-wa-btn:hover {
  background: var(--whatsapp-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

/* ==========================================================================
   HERO & FORMULÁRIO QUALIFICADO
   ========================================================================== */
.hero-planejados {
  padding: 3rem 0 4.5rem;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: flex-start;
}

.hero-editorial {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: sticky;
  top: 100px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  font-weight: 600;
}

.hero-pill::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
}

.hero-headline {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.hero-headline span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-text {
  font-size: 1.12rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.75;
}

.hero-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.highlight-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(219, 164, 128, 0.15);
  border: 1px solid rgba(219, 164, 128, 0.35);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   CARD DO FORMULÁRIO QUALIFICADO
   ========================================================================== */
.qualified-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.3rem 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), var(--gold-glow);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.qualified-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.form-header-box {
  margin-bottom: 1.6rem;
}

.form-badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #08090c;
  background: var(--gold-light);
  padding: 0.22rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
  letter-spacing: 0.5px;
}

.form-title-h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
}

.form-subtitle-p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-group {
  margin-bottom: 1.15rem;
}

.field-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.field-input, .field-select {
  width: 100%;
  height: 48px;
  background: rgba(10, 12, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 0 0.95rem;
  font-size: 0.95rem;
  color: var(--text-white);
  font-family: var(--font-main);
  transition: var(--transition);
}

.field-select option {
  background: #14161d;
  color: #fff;
}

.field-input:focus, .field-select:focus {
  outline: none;
  border-color: var(--gold-light);
  background: rgba(15, 18, 24, 0.95);
  box-shadow: 0 0 0 3px rgba(219, 164, 128, 0.2);
}

.field-input::placeholder {
  color: rgba(154, 161, 176, 0.5);
}

textarea.field-input {
  height: auto;
  min-height: 70px;
  padding: 0.75rem 0.95rem;
  resize: vertical;
}

/* Ambientes Chips */
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip-item {
  cursor: pointer;
  user-select: none;
}

.chip-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.chip-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.82rem;
  transition: var(--transition);
}

.chip-item input:checked + .chip-label {
  background: rgba(219, 164, 128, 0.2);
  border-color: var(--gold-light);
  color: var(--gold-light);
  font-weight: 600;
  transform: translateY(-1px);
}

.chip-label:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(219, 164, 128, 0.4);
}

/* Botão Submit de Alto Impacto */
.btn-submit-planejados {
  width: 100%;
  height: 56px;
  background: var(--gold-gradient);
  color: #08090c;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: var(--gold-glow);
  transition: var(--transition);
  margin-top: 0.6rem;
}

.btn-submit-planejados:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 35px rgba(219, 164, 128, 0.5);
}

.btn-submit-planejados:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  filter: grayscale(0.6);
}

.form-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  text-align: center;
}

.form-privacy-note svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.form-alert-msg {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-top: 1rem;
  display: none;
}

.form-alert-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* ==========================================================================
   DIFERENCIAIS DE FÁBRICA & QUALIDADE
   ========================================================================== */
.section-qualidade {
  padding: 4.5rem 0;
  background: var(--bg-dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tag-gold {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title-white {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
}

.section-desc-light {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-weight: 300;
}

.cards-qualidade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.qualidade-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  transition: var(--transition);
  position: relative;
}

.qualidade-card:hover {
  transform: translateY(-5px);
  border-color: rgba(219, 164, 128, 0.45);
  background: rgba(219, 164, 128, 0.04);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.qualidade-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(219, 164, 128, 0.12);
  border: 1px solid rgba(219, 164, 128, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--gold-light);
}

.qualidade-icon-box svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.qualidade-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.qualidade-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   GALERIA DE AMBIENTES
   ========================================================================== */
.section-galeria-planejados {
  padding: 5rem 0;
}

.galeria-planejados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.galeria-planejados-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  aspect-ratio: 4 / 3;
}

.galeria-planejados-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.galeria-planejados-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 12, 0.92) 0%, rgba(8, 9, 12, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: var(--transition);
}

.galeria-planejados-card:hover img {
  transform: scale(1.06);
}

.galeria-badge-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.galeria-h3-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
}

/* ==========================================================================
   PARCEIROS
   ========================================================================== */
.section-parceiros-branca {
  padding: 3rem 0;
  background: #ffffff;
}

.parceiros-container-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.parceiros-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: #444;
}

.parceiros-logos-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.parceiros-logos-flex img {
  max-height: 48px;
  width: auto;
  filter: grayscale(1) opacity(0.7);
  transition: var(--transition);
}

.parceiros-logos-flex img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

/* ==========================================================================
   BOTTOM CTA
   ========================================================================== */
.section-cta-planejados {
  padding: 4.5rem 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(219, 164, 128, 0.12) 0%, transparent 70%);
}

.cta-planejados-box {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-planejados-box h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-white);
}

.cta-planejados-box p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.cta-planejados-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.btn-cta-green {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--whatsapp-color);
  color: #fff;
  padding: 1rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-cta-green:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.btn-cta-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  padding: 1rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-cta-gold-outline:hover {
  background: rgba(219, 164, 128, 0.15);
  transform: translateY(-2px);
}

/* ==========================================================================
   RODAPÉ CLEAN
   ========================================================================== */
.footer-planejados {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #060709;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-planejados-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer-info-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  color: var(--text-light);
}

/* ==========================================================================
   BOTÃO FLUTUANTE DE WHATSAPP
   ========================================================================== */
.wa-float-planejados {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
}

.wa-float-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

.wa-float-circle svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.wa-float-circle:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.08);
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE)
   ========================================================================== */
@media (max-width: 991px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-editorial {
    text-align: center;
    align-items: center;
    position: static;
  }

  .hero-pill::before {
    display: none;
  }

  .hero-highlights-list {
    align-items: center;
  }

  .header-badges {
    display: none;
  }

  .header-cta-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.76rem;
  }
}

@media (max-width: 576px) {
  .header-planejados .container {
    padding: 0 0.85rem;
  }

  .header-logo {
    flex-shrink: 0;
  }

  .header-logo img {
    height: 44px;
    width: auto;
  }

  .btn-text-desktop {
    display: none;
  }

  .btn-text-mobile {
    display: inline;
  }

  .header-cta-btn {
    padding: 0.42rem 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.25px;
    flex-shrink: 0;
    gap: 0.35rem;
  }

  .header-cta-btn svg {
    width: 13px;
    height: 13px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .qualified-form-card {
    padding: 1.6rem 1.25rem;
    scroll-margin-top: 75px;
  }

  .form-title-h2 {
    font-size: 1.4rem;
  }

  .btn-submit-planejados {
    height: 52px;
    font-size: 0.95rem;
  }

  .wa-float-planejados {
    bottom: 18px;
    right: 18px;
  }

  .wa-float-circle {
    width: 54px;
    height: 54px;
  }
}
