/* ============================================================
   LIDYANNE PERY — SHARED STYLES
   Premium Personal Brand · Clinical Psychology
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Open+Sans:wght@300;400;500;600&display=swap');

/* ── TOKENS ────────────────────────────────────────────────── */
:root {
  --bg:            #D6BC94;   /* ouro areia — fundo principal aprovado */
  --surface:       #CBA882;   /* bege caramel — quente, menos amarelo */
  --surface-deep:  #B48E60;   /* bege âmbar — mais seco, ainda quente */
  --cream:         #EDE0C8;   /* creme dourado — texto em seções escuras */
  --text:          #2A1A0A;   /* espresso suave — textos principais */
  --muted:         #6B4A28;   /* marrom médio — texto secundário, mais legível */
  --accent:        #6F7147;   /* oliva — identidade da marca */
  --accent-dark:   #565837;
  --accent-light:  #8A8C5C;
  --wine:          #5A2618;
  --wine-soft:     #744131;
  --gold-soft:     #9C7830;   /* ouro queimado */
  --border:        rgba(42,26,10,0.10);
  --shadow:        0 8px 28px rgba(42,26,10,0.10);
  --shadow-sm:     0 3px 12px rgba(42,26,10,0.07);
  --radius:        2px;
  --radius-lg:     6px;
  --transition:    0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── TYPOGRAPHY SCALE ──────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { line-height: 1.8; color: var(--muted); }

.serif-italic { font-family: 'Playfair Display', serif; font-style: italic; }
.eyebrow {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── LAYOUT ────────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 2rem; }
.container--wide   { max-width: 1360px; margin: 0 auto; padding: 0 2rem; }

.section { padding: 100px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 140px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── NAVIGATION ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(214,188,148,0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav__logo img { height: 40px; width: auto; }
.nav__logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
}
.nav__logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: -2px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--accent); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.nav__cta:hover {
  background: var(--accent);
  color: var(--cream);
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
  z-index: 1001;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
  transform-origin: left;
}
.nav__burger.open span:nth-child(1) { transform: rotate(43deg) translateY(-1px); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: rotate(-43deg) translateY(1px); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
  z-index: 899;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.nav__mobile .nav__cta {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--cream);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn--wine {
  background: var(--wine);
  color: var(--cream);
  border-color: var(--wine);
}
.btn--wine:hover {
  background: var(--wine-soft);
  border-color: var(--wine-soft);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 0.6rem 1.4rem; font-size: 0.72rem; }
.btn--lg { padding: 1.1rem 2.8rem; font-size: 0.82rem; }

/* Arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap var(--transition);
}
.arrow-link:hover { gap: 0.9rem; }
.arrow-link svg { width: 14px; height: 14px; }

/* ── SECTION HEADERS ───────────────────────────────────────── */
.section-header { margin-bottom: 4rem; }
.section-header--center { text-align: center; }
.section-header .eyebrow { margin-bottom: 1rem; display: block; }
.section-header h2 { margin-bottom: 1.2rem; }
.section-header p { max-width: 520px; }
.section-header--center p { margin: 0 auto; }

/* ── PHOTO PLACEHOLDER ─────────────────────────────────────── */
.photo-placeholder {
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-deep) 50%, var(--surface) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--gold-soft);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}
.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(111,113,71,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(181,154,115,0.10) 0%, transparent 55%);
}
.photo-placeholder svg {
  width: 40px; height: 40px;
  opacity: 0.5;
  position: relative;
  z-index: 1;
}
.photo-placeholder span {
  position: relative;
  z-index: 1;
  opacity: 0.7;
}

/* ── DECORATIVE ELEMENTS ───────────────────────────────────── */
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold-soft);
  margin: 1.5rem 0;
}
.divider--center { margin: 1.5rem auto; }

.ornament {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: 0.6;
}

/* ── CARDS ─────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.30s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.60s; }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: var(--surface);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer__brand .nav__logo-text {
  color: var(--cream);
  font-size: 1.15rem;
}
.footer__brand .nav__logo-sub { color: var(--gold-soft); opacity: 0.7; }
.footer__brand p {
  color: rgba(228,213,195,0.65);
  font-size: 0.88rem;
  margin-top: 1.2rem;
  line-height: 1.7;
}
.footer__heading {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: 0.7;
  margin-bottom: 1.2rem;
}
.footer__link {
  display: block;
  color: rgba(228,213,195,0.7);
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
  transition: color var(--transition);
}
.footer__link:hover { color: var(--cream); }
.footer__bottom {
  border-top: 1px solid rgba(228,213,195,0.12);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.78rem;
  color: rgba(228,213,195,0.45);
}
.footer__crp {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: 0.5;
}

/* ── WHATSAPP MODAL ────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,33,27,0.65);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(42,33,27,0.25);
  animation: modalIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-box .modal-icon {
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.modal-box .modal-icon svg { width: 28px; height: 28px; fill: white; }
.modal-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.modal-box p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── UTILITY ───────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-wine   { color: var(--wine); }
.text-gold   { color: var(--gold-soft); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.bg-surface { background: var(--surface); }
.bg-surface-deep  { background: var(--surface-deep); }
.bg-text { background: var(--text); }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section--lg { padding: 96px 0; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .section { padding: 56px 0; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
}


/* ── PHOTO MASK (transparent edges) ──────────────────────────── */
.photo-masked {
  /* Esfumado suave — fade gradual em todos os lados, estilo editorial */
  -webkit-mask-image: radial-gradient(
    ellipse 76% 82% at 50% 46%,
    black 18%,
    rgba(0,0,0,0.88) 36%,
    rgba(0,0,0,0.60) 58%,
    rgba(0,0,0,0.20) 78%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 76% 82% at 50% 46%,
    black 18%,
    rgba(0,0,0,0.88) 36%,
    rgba(0,0,0,0.60) 58%,
    rgba(0,0,0,0.20) 78%,
    transparent 100%
  );
}
.photo-masked-bottom {
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}


/* ── GEOMETRIC DECORATORS ──────────────────────────────────── */

/* Thin ring — círculo vazado decorativo */
.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.12;
  pointer-events: none;
}
/* Corner bracket — canto em L */
.geo-bracket {
  position: absolute;
  width: 32px; height: 32px;
  opacity: 0.18;
  pointer-events: none;
}
.geo-bracket::before,
.geo-bracket::after {
  content: '';
  position: absolute;
  background: var(--gold-soft);
}
.geo-bracket::before { width: 100%; height: 1px; top: 0; left: 0; }
.geo-bracket::after  { width: 1px; height: 100%; top: 0; left: 0; }
.geo-bracket--br { transform: rotate(180deg); }
.geo-bracket--tr { transform: rotate(90deg); }
.geo-bracket--bl { transform: rotate(270deg); }

/* Dot grid */
.geo-dots {
  position: absolute;
  background-image: radial-gradient(circle, var(--accent) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.13;
  pointer-events: none;
}
/* Diagonal line */
.geo-line {
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-soft), transparent);
  opacity: 0.22;
  pointer-events: none;
}
/* Cross / plus */
.geo-cross {
  position: absolute;
  opacity: 0.14;
  pointer-events: none;
}
.geo-cross::before, .geo-cross::after {
  content: '';
  position: absolute;
  background: var(--accent);
}
.geo-cross::before { width: 20px; height: 1px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.geo-cross::after  { width: 1px; height: 20px; top: 50%; left: 50%; transform: translate(-50%,-50%); }


/* ── GRAIN TEXTURE OVERLAY ─────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.048;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* ── PAPER / LINEN TEXTURE (light section differentiation) ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='l'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.35 0.65' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23l)'/%3E%3C/svg%3E");
}



/* ── EMOTIONAL SECTION BACKGROUNDS ─────────────────────────── */

/* Golden afternoon — warmth, wisdom, memory */
.section-golden {
  background: linear-gradient(160deg,
    var(--bg) 0%,
    var(--surface) 40%,
    var(--surface-deep) 65%,
    var(--surface) 85%,
    var(--bg) 100%);
  position: relative;
}
.section-golden::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%,
    rgba(184,148,78,0.10) 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.section-golden > * { position: relative; z-index: 1; }
.section-golden > .container { position: relative; z-index: 1; }

/* Inward warmth — deeper bege, grounded presence */
.section-inward {
  background: linear-gradient(170deg,
    var(--bg) 0%,
    var(--surface) 50%,
    var(--bg) 100%);
}

/* Dark inner glow — safe containment, the therapy room */
.section-dark-warm {
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(111,113,71,0.16) 0%, transparent 65%),
    radial-gradient(ellipse 45% 75% at 88% 72%, rgba(181,154,115,0.09) 0%, transparent 55%),
    linear-gradient(170deg, #3D2B1A 0%, #352417 50%, #2E1F12 100%);
}

/* Golden bar — a pause, a breath, credentials & stats */
.section-pause {
  background: linear-gradient(to right,
    var(--bg) 0%,
    var(--surface) 30%,
    var(--surface-deep) 50%,
    var(--surface) 70%,
    var(--bg) 100%);
  border-top: 1px solid rgba(28,14,6,0.20);
  border-bottom: 1px solid rgba(28,14,6,0.20);
}

/* Hero dark — arrival into a contained, welcoming space */
.section-hero-dark {
  background:
    radial-gradient(ellipse 62% 58% at 50% 36%, rgba(111,113,71,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 55% at 14% 82%, rgba(181,154,115,0.09) 0%, transparent 55%),
    linear-gradient(170deg, #3A2818 0%, #322214 48%, #2C1E10 100%);
}
