/* ==========================================================
   Maria José — Psicóloga & Neuropsicóloga
   Página em construção — estilo Premium
   Paleta: Verde Sálvia · Azul Petróleo · Bege Claro · Terracota · Branco
   ========================================================== */

:root{
  --sage:        #8A9A82;   /* Verde Sálvia */
  --sage-soft:   #B6C2AC;
  --petrol:      #1E4B4A;   /* Azul Petróleo */
  --petrol-deep: #123332;
  --beige:       #F3EEE3;   /* Bege Claro */
  --beige-deep:  #E9E1D1;
  --terracotta:  #C06B4B;   /* Terracota */
  --terracotta-deep: #A8563A;
  --white:       #FFFFFF;
  --ink:         #26332F;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Jost', 'Helvetica Neue', Arial, sans-serif;
}

*{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  min-height: 100vh;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--sans);
  position: relative;
  overflow-x: hidden;
}

/* soft atmospheric backdrop — quiet vignette, no noise, no gradients-as-default look */
.atmosphere{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 8%, rgba(138,154,130,0.16), transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(30,75,74,0.10), transparent 70%);
}

.atmosphere::after{
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(30,75,74,0.14);
  margin: 22px;
}

.page{
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 64px;
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Selo / logo ---------- */

.seal-wrap{
  position: relative;
  width: clamp(140px, 22vw, 190px);
  height: clamp(140px, 22vw, 190px);
  margin-bottom: 40px;
}

.seal-glow{
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,154,130,0.35) 0%, rgba(138,154,130,0) 70%);
  animation: breathe 6s ease-in-out infinite;
}

.seal{
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 18px 40px -14px rgba(18,51,50,0.35);
  animation: float 7s ease-in-out infinite;
}

@keyframes breathe{
  0%, 100%{ transform: scale(1);   opacity: 0.9; }
  50%{      transform: scale(1.08); opacity: 0.55; }
}

@keyframes float{
  0%, 100%{ transform: translateY(0); }
  50%{      transform: translateY(-8px); }
}

/* ---------- Texto ---------- */

.kicker{
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.headline{
  margin: 0 0 30px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5.4vw, 54px);
  line-height: 1.18;
  color: var(--petrol);
  letter-spacing: 0.005em;
}

.headline em{
  font-style: italic;
  color: var(--terracotta);
}

/* linha viva — elemento assinatura, ritmo calmo de onda/pensamento */
.wave{
  width: min(420px, 80%);
  height: 34px;
  margin: 0 0 30px;
  display: block;
}

.wave-path{
  fill: none;
  stroke: var(--sage);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 3.6s ease-out forwards, drift 5s ease-in-out 3.6s infinite;
}

@keyframes draw{
  to{ stroke-dashoffset: 0; }
}

@keyframes drift{
  0%, 100%{ opacity: 0.55; }
  50%{      opacity: 1; }
}

.sub{
  margin: 0 0 44px;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--ink);
  opacity: 0.85;
}

/* ---------- Formulário ---------- */

.notify{
  width: 100%;
  max-width: 440px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}

.notify input[type="email"]{
  flex: 1 1 220px;
  padding: 16px 20px;
  border: 1px solid rgba(30,75,74,0.25);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink);
  outline-offset: 3px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.notify input[type="email"]::placeholder{
  color: rgba(38,51,47,0.45);
}

.notify input[type="email"]:focus{
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(138,154,130,0.18);
}

.notify button{
  flex: 1 1 auto;
  padding: 16px 30px;
  border: none;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.2s ease;
}

.notify button:hover{
  background: var(--terracotta-deep);
  transform: translateY(-1px);
}

.notify button:focus-visible,
.notify input:focus-visible{
  outline: 2px solid var(--petrol);
}

.note{
  margin: 0;
  font-size: 12.5px;
  color: var(--petrol);
  opacity: 0.6;
  letter-spacing: 0.02em;
}

.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Rodapé ---------- */

.footer{
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 22px 24px 30px;
}

.dev-credit{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--petrol);
  font-size: 12px;
  letter-spacing: 0.02em;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.dev-credit:hover{
  opacity: 1;
}

.dev-credit span{
  font-weight: 300;
}

.dev-credit strong{
  font-weight: 500;
  color: var(--terracotta-deep);
}

.dev-logo{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- Responsivo ---------- */

@media (max-width: 480px){
  .page{ padding: 72px 18px 48px; }
  .notify{ flex-direction: column; }
  .notify button{ width: 100%; }
}

/* ---------- Acessibilidade: movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce){
  .seal, .seal-glow, .wave-path{
    animation: none !important;
  }
  .wave-path{
    stroke-dashoffset: 0;
  }
}
