/*
Theme Name: Pâmela Dorneles - Líder, Mãe e Empreendedora
Theme URI: https://lightcyan-mallard-304959.hostingersite.com/
Author: Proverbios System
Author URI:
Description: Landing page minimalista e elegante para Pâmela Dorneles. Preto, off-white e dourado suave. Inter + Cormorant Garamond.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pamela-dorneles
Tags: custom-menu, featured-images, one-column, custom-colors
*/

:root {
  --ink: #131312;
  --ink-soft: #2a2a28;
  --paper: #faf7f2;
  --paper-2: #f1ebe1;
  --line: #e5ddd0;
  --muted: #87827a;
  --gold: #b08d57;
  --gold-soft: #c9a878;
  --max: 76rem;
  --radius: 0.5rem;
  --radius-lg: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.pamela-landing {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.pamela-landing-root img { max-width: 100%; height: auto; display: block; }
.pamela-landing-root a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.pamela-landing-root a:hover { color: var(--gold); }

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

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(19, 19, 18, 0.0);
  transition: background 0.3s ease, border-color 0.3s ease;
  color: #fff;
}
.site-header.scrolled {
  background: rgba(19, 19, 18, 0.95);
  backdrop-filter: blur(10px);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #fff;
  text-transform: uppercase;
}

.brand .ampersand {
  color: var(--gold-soft);
  margin: 0 0.15em;
  font-style: italic;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-actions a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.header-actions a:hover { color: var(--gold-soft); }

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  display: block;
  color: #fff;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mobile-nav a:last-child { border-bottom: 0; }

@media (max-width: 768px) {
  .header-actions { display: none; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 5rem;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 19, 18, 0.55) 0%, rgba(19, 19, 18, 0.4) 35%, rgba(19, 19, 18, 0.85) 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 2rem;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.25rem;
  height: 1px;
  background: var(--gold-soft);
}
.eyebrow::before { left: 0; }
.eyebrow::after { right: 0; }

.hero h1 {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
}

.hero .lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 300;
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--gold-soft); color: #fff; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--gold); color: #fff; }

.pamela-landing-root a.btn { text-decoration: none; }
.pamela-landing-root a.btn-light:hover { color: #fff; }
.pamela-landing-root a.btn-outline:hover { color: var(--gold-soft); }
.pamela-landing-root a.btn-dark:hover { color: #fff; }

/* Sections */
.pamela-landing-root section {
  padding: 6rem 1.5rem;
  scroll-margin-top: 5rem;
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-head .eyebrow {
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-head .eyebrow::before,
.section-head .eyebrow::after { background: var(--gold); }
.section-head h2 {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-head h2 em {
  font-style: italic;
  color: var(--gold);
}
.section-head p {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
}

/* Sobre */
#sobre { background: var(--paper); }
.pillars {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}
.pillar {
  text-align: center;
  padding: 2.5rem 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px -16px rgba(19, 19, 18, 0.12);
}
.pillar .num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.pillar h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--ink);
}
.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Manifesto */
.manifesto {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(176, 141, 87, 0.06), transparent 60%);
  pointer-events: none;
}
.manifesto > * { position: relative; z-index: 1; }
.manifesto .quote-mark {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gold-soft);
  margin: 0 auto 1.5rem;
  opacity: 0.85;
  display: block;
}
.manifesto blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.35;
  max-width: 48rem;
  margin: 0 auto;
  font-weight: 400;
  font-style: italic;
}
.manifesto blockquote em {
  color: var(--gold-soft);
  font-style: italic;
}
.manifesto cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Galeria */
#galeria { background: var(--paper-2); }
.gallery {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #fff;
  transition: transform 0.5s ease;
}
.gallery figure:hover img { transform: scale(1.03); }

/* Contato */
#contato { background: var(--paper); }
.contact-card {
  max-width: 42rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
@media (min-width: 768px) {
  .contact-card { padding: 3.5rem; }
}
.contact-card form { display: grid; gap: 1.25rem; }
.contact-card label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 0.85rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.25s ease;
  outline: none;
}
.contact-card input:focus,
.contact-card textarea:focus { border-bottom-color: var(--gold); }
.contact-card textarea { min-height: 6rem; resize: vertical; }
.contact-card button { margin-top: 0.75rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}
.site-footer .brand-footer {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: #fff;
}
.site-footer .legal {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 32rem;
  margin: 0 auto 2rem;
}
.site-footer .legal strong { color: rgba(255, 255, 255, 0.9); font-weight: 500; }
.site-footer .copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* Toast */
.pamela-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--ink);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  max-width: 20rem;
  z-index: 100;
  transform: translateY(160%);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
  pointer-events: none;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}
.pamela-toast.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.pamela-toast strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: var(--gold-soft);
}
.pamela-toast span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .pamela-toast { right: 1rem; left: 1rem; max-width: none; }
}
