/* Suellen Amaral — página em construção
   Paleta alinhada ao logotipo: sage, terracota, areia, carvão */

:root {
  --sage: #9aa896;
  --sage-deep: #7a8a72;
  --terracotta: #c85d2e;
  --terracotta-soft: rgba(200, 93, 46, 0.12);
  --sand: #d4c4a8;
  --cream: #f5f0e8;
  --cream-dark: #ebe3d6;
  --ink: #3a3a3a;
  --ink-muted: #6b6b6b;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.7);
  --shadow: 0 24px 80px rgba(58, 58, 58, 0.08);
  --radius: 1.5rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 10% 20%, rgba(163, 173, 153, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 90% 10%, var(--terracotta-soft) 0%, transparent 45%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(212, 196, 168, 0.4) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  pointer-events: none;
}

.organic-layer {
  --ox: 0px;
  --oy: 0px;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translate(var(--ox), var(--oy));
  will-change: transform;
}

.blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(64px);
  opacity: 0.45;
  animation: float 22s ease-in-out infinite;
}

.blob--1 {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  top: -8%;
  left: -10%;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sand) 100%);
  animation-delay: 0s;
}

.blob--2 {
  width: min(45vw, 400px);
  height: min(45vw, 400px);
  bottom: 5%;
  right: -8%;
  background: linear-gradient(200deg, var(--terracotta) 0%, var(--sand) 100%);
  opacity: 0.28;
  animation-delay: -7s;
  animation-duration: 26s;
}

.blob--3 {
  width: min(35vw, 320px);
  height: min(35vw, 320px);
  top: 40%;
  left: 30%;
  background: var(--sage);
  opacity: 0.15;
  animation-delay: -12s;
  animation-duration: 20s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(2%, 3%) scale(1.03);
  }
  66% {
    transform: translate(-2%, 1%) scale(0.98);
  }
}

.line-art {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5c2 8-4 16-4 24s6 20 4 28' fill='none' stroke='%23a3ad99' stroke-width='0.4'/%3E%3Cpath d='M5 30c8-2 16 4 24 4s20-6 28-4' fill='none' stroke='%23d4c4a8' stroke-width='0.35'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  mask-image: linear-gradient(to top, black, transparent);
}

.layout {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 900px) {
  .layout {
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
  }
}

.portrait-wrap {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 1;
  perspective: 1000px;
  transition: transform 0.15s ease-out;
}

@media (min-width: 900px) {
  .portrait-wrap {
    order: 0;
  }
}

.portrait-ring {
  position: relative;
  width: min(88vw, 400px);
  aspect-ratio: 3/4;
  border-radius: 50% 50% 48% 52% / 45% 48% 52% 55%;
  padding: 3px;
  background: linear-gradient(
    135deg,
    var(--sage) 0%,
    var(--sand) 35%,
    var(--terracotta) 100%
  );
  box-shadow: var(--shadow);
  animation: morph 12s ease-in-out infinite;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 50% 50% 48% 52% / 45% 48% 52% 55%;
  }
  50% {
    border-radius: 48% 52% 50% 50% / 52% 45% 55% 48%;
  }
}

.portrait-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: var(--cream);
}

.portrait-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.floating-badge {
  position: absolute;
  bottom: 8%;
  right: 4%;
  z-index: 2;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-deep);
  box-shadow: 0 8px 32px rgba(58, 58, 58, 0.06);
}

.content {
  order: 0;
}

@media (min-width: 900px) {
  .content {
    order: 1;
  }
}

.brand {
  display: block;
  margin-bottom: 1.75rem;
  max-width: 280px;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--sage), transparent);
}

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 1.75rem;
  max-width: 32ch;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.75rem;
}

.glass-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}

.glass-card strong {
  color: var(--sage-deep);
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95rem 1.65rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--sage-deep) 0%, #5c6b54 100%);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(90, 100, 82, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(90, 100, 82, 0.4);
}

.btn--primary:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(58, 58, 58, 0.12);
}

.btn--ghost:hover {
  background: var(--cream);
  transform: translateY(-1px);
}

.btn svg {
  flex-shrink: 0;
}

.note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
  max-width: 36ch;
}

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(58, 58, 58, 0.08);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  .blob,
  .portrait-ring,
  .floating-badge {
    animation: none;
  }
  .portrait-ring {
    transform: none;
  }
  .organic-layer {
    transform: none;
  }
  .btn--primary:hover,
  .btn--ghost:hover {
    transform: none;
  }
}
