/* ============================================
   Águas que Conectam Vidas — Coming Soon
   ============================================ */

:root{
  --navy:        #0b2244;
  --navy-soft:   rgba(11, 34, 68, 0.72);
  --sage:        #75908c;
  --sage-dark:   #63817c;
  --sage-deep:   #4f6f68;
  --cream:       #faf7f1;
  --card-bg:     rgba(250, 248, 244, 0.5);
  --card-border: rgba(255, 255, 255, 0.6);
  --hairline:    rgba(11, 34, 68, 0.14);
  --max-w:       1180px;
}

*{ box-sizing: border-box; }

html{
  -webkit-text-size-adjust: 100%;
}

body{
  margin: 0;
  min-height: 100svh;
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  color: var(--navy);
  background: var(--cream);
  overflow-x: hidden;
}

/* ---------- background ---------- */

.bg{
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url('assets/background.jpg');
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}

.bg-scrim{
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(250,248,243,0.55) 0%,
    rgba(250,248,243,0.18) 30%,
    rgba(250,248,243,0.1) 55%,
    rgba(250,248,243,0.5) 82%,
    rgba(248,246,240,0.85) 100%);
}

/* ---------- layout ---------- */

.page{
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 32px 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo-wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.logo{
  width: min(24vw, 280px);
  min-width: 190px;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(11,34,68,0.05));
}

/* ---------- hero ---------- */

.hero{
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.headline{
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--navy);
  margin: 0 0 22px;
}

.divider{
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 260px;
  margin-bottom: 22px;
  color: var(--sage-dark);
}

.divider-line{
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

.divider-drop{
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.lede{
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.7;
  color: var(--navy-soft);
  max-width: 600px;
  margin: 0 0 36px;
}

/* ---------- features card ---------- */

.features{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 720px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 0 20px 50px -20px rgba(11,34,68,0.15);
  padding: 26px 12px;
  margin-bottom: 34px;
}

.feature{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  position: relative;
}

.feature:not(:last-child)::after{
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 54px;
  background: var(--hairline);
}

.feature-icon{
  width: 26px;
  height: 26px;
  color: var(--navy);
  margin-bottom: 4px;
}

.feature-label{
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  color: var(--navy);
}

.feature-sub{
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--navy-soft);
}

/* ---------- launch tag + form ---------- */

.launch-tag{
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--sage-deep);
  margin: 0 0 40px;
}

/* ---------- footer ---------- */

.social-icon:focus-visible{
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
}

.site-footer{
  width: 100%;
  border-top: 1px solid var(--hairline);
  padding: 22px 0;
  margin-top: auto;
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-social{
  display: flex;
  gap: 10px;
}

.social-icon{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.social-icon svg{ width: 17px; height: 17px; }

.social-icon:hover{
  background: rgba(11,34,68,0.06);
}

.footer-email{
  font-size: 0.85rem;
  color: var(--navy-soft);
  text-decoration: none;
  font-weight: 300;
}

.footer-email:hover{
  color: var(--navy);
  text-decoration: underline;
}

.footer-tagline{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--navy-soft);
  text-align: right;
}

.footer-leaf{
  width: 34px;
  height: 34px;
  color: var(--navy-soft);
  flex-shrink: 0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 860px){
  .features{
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
    max-width: 420px;
  }
  .feature:nth-child(2)::after{ display: none; }
  .feature:nth-child(odd)::after{
    display: block;
  }
  .feature:nth-child(2n)::after{ display: none; }
}

@media (max-width: 640px){
  .page{
    padding: 28px 22px 0;
  }
  .logo-wrap{ margin-bottom: 26px; }
  .logo{ width: min(54vw, 230px); min-width: 170px; }
  .headline{ font-size: clamp(1.6rem, 7.5vw, 2.15rem); margin-bottom: 16px; }
  .divider{ margin-bottom: 16px; }
  .lede{ margin-bottom: 26px; }
  .features{
    padding: 20px 10px;
    margin-bottom: 26px;
    border-radius: 16px;
  }
  .feature-icon{ width: 20px; height: 20px; margin-bottom: 2px; }
  .feature-label{ font-size: 0.6rem; letter-spacing: 0.08em; }
  .feature-sub{ font-size: 0.68rem; }
  .launch-tag{ margin-bottom: 24px; font-size: 1rem; }
  .footer-inner{
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer-tagline{
    flex-direction: column-reverse;
    text-align: center;
  }
}

@media (max-width: 380px){
  .features{
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
  }
  .feature{ padding: 0 4px; }
}

@media (max-height: 780px) and (min-width: 641px){
  .page{ padding-top: 26px; }
  .logo-wrap{ margin-bottom: 22px; }
  .logo{ width: min(20vw, 220px); min-width: 170px; }
  .headline{ font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 16px; }
  .divider{ margin-bottom: 16px; }
  .lede{ margin-bottom: 22px; }
  .features{ padding: 18px 12px; margin-bottom: 22px; }
  .feature-icon{ margin-bottom: 2px; width: 22px; height: 22px; }
  .launch-tag{ margin-bottom: 20px; }
  .site-footer{ padding: 16px 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .social-icon{ transition: none; }
}
