/*
Theme Name: Danilo Parra - Liderança & Alto Padrão
Theme URI: https://blanchedalmond-camel-745652.hostingersite.com/
Author: Proverbios System
Author URI:
Description: Landing page institucional do Danilo Parra (Cyrela / Sellers). Mesma base visual do tema Peralta — Inter, Playfair, slate e dourado #C5A059.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: danilo-parra
Tags: custom-menu, featured-images, one-column, custom-colors
*/

:root {
  --brand-gold: #c5a059;
  --brand-dark: #0f172a;
  --brand-accent: #1e293b;
  --whatsapp: #25d366;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --max: 80rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.danilo-landing {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--slate-50);
  color: var(--slate-900);
  line-height: 1.6;
  overflow-x: hidden;
}

.danilo-landing-root img {
  max-width: 100%;
  height: auto;
  display: block;
}

.danilo-landing-root a {
  color: var(--brand-dark);
  text-decoration: none;
}

.danilo-landing-root a:hover {
  text-decoration: underline;
}

.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;
  backdrop-filter: blur(10px);
  background-color: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  color: #fff;
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

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

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-gold);
  text-transform: uppercase;
}

.brand span {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 0.5rem;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-btn__icon--close {
  display: none;
}

.site-header.menu-open .mobile-menu-btn__icon--open {
  display: none;
}

.site-header.menu-open .mobile-menu-btn__icon--close {
  display: block;
}

.mobile-nav {
  padding: 0.5rem 1rem 1.5rem;
  border-top: 1px solid rgba(51, 65, 85, 0.6);
  background: var(--brand-dark);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav:not([hidden]) {
  display: block;
}

.mobile-nav__link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.danilo-landing-root .mobile-nav .mobile-nav__link {
  color: #fff;
}

.danilo-landing-root .mobile-nav .mobile-nav__link:hover {
  color: var(--brand-gold);
  text-decoration: none;
}

.mobile-nav__cta {
  display: block;
  margin-top: 1rem;
  text-align: center;
  width: 100%;
}

.site-header--scrolled {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none !important;
  }

  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* —— Botões —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn:active { transform: scale(0.98); }

.btn-gold {
  background: var(--brand-gold);
  color: var(--brand-dark);
  font-weight: 700;
  padding: 1rem 2rem;
}
.btn-gold:hover { background: #fff; color: var(--brand-dark); text-decoration: none; }

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  font-weight: 700;
  padding: 1rem 2rem;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.2); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid transparent;
  font-weight: 500;
}
.btn-ghost:hover { color: var(--brand-gold); text-decoration: none; }

.btn-instagram {
  background: var(--brand-gold);
  color: var(--brand-dark);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}
.btn-instagram:hover { background: #fff; color: var(--brand-dark); text-decoration: none; }

.btn-accent {
  background: linear-gradient(135deg, var(--brand-gold), #a68419);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.btn-accent:hover { filter: brightness(1.05); text-decoration: none; }

.danilo-landing-root .btn-ghost,
.danilo-landing-root a.btn-ghost { color: #fff; }
.danilo-landing-root .btn-gold,
.danilo-landing-root a.btn-gold { color: var(--brand-dark); }
.danilo-landing-root .btn-outline-light,
.danilo-landing-root a.btn-outline-light { color: #fff; }
.danilo-landing-root .btn-instagram,
.danilo-landing-root a.btn-instagram { color: var(--brand-dark); }
.danilo-landing-root .btn-accent,
.danilo-landing-root a.btn-accent { color: #fff; }
.danilo-landing-root a.btn:hover,
.danilo-landing-root a.btn:focus { text-decoration: none; }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.25rem 4rem;
  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 top;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.88), rgba(30, 58, 95, 0.78));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--brand-gold);
  margin-bottom: 0.5rem;
}

.section-label-pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid var(--brand-gold);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero-copy .lead {
  color: var(--slate-200);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 300;
  max-width: 44rem;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
    width: auto;
  }
  .hero-ctas .btn {
    width: auto;
    min-width: 13rem;
  }
}

/* —— Sections —— */
.danilo-landing-root section {
  padding: 5rem 1.25rem;
  scroll-margin-top: 5.5rem;
}

.danilo-landing-root .section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.danilo-landing-root h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.15;
}

#missao { background: #fff; }

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
}

.img-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.img-card::before {
  content: "";
  position: absolute;
  inset: -1rem;
  background: rgba(197, 160, 89, 0.10);
  border-radius: var(--radius-xl);
  transform: rotate(-2deg);
  z-index: -1;
}

.img-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.quote {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--slate-800);
  border-left: 4px solid var(--brand-gold);
  padding: 0.5rem 1.5rem;
  margin: 0 0 1.5rem;
  line-height: 1.4;
}

.quote small {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.prose { color: var(--slate-600); }
.prose p { margin: 0 0 1rem; }

/* Stats band */
.band {
  background: var(--brand-dark);
  color: #fff;
  border-block: 1px solid rgba(197, 160, 89, 0.2);
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat {
    border-right: 1px solid rgba(51, 65, 85, 0.8);
    padding-right: 1rem;
  }
  .stat:last-child { border-right: none; padding-right: 0; }
}

.stat strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.85rem;
  color: var(--brand-gold);
}

.stat span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--slate-400);
  margin-top: 0.25rem;
  display: block;
}

/* Metodologia (escuro) */
#metodo {
  background: var(--slate-900);
  color: #fff;
}
#metodo h2 { color: #fff; text-align: center; }
#metodo .section-inner > .section-label { text-align: center; display: block; }

.formula {
  max-width: 56rem;
  margin: 0 auto 3rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
}
.formula p:first-child {
  color: var(--brand-gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 0.75rem;
}
.formula p:last-child {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.4;
  margin: 0;
  color: #fff;
}
.formula .x { color: var(--brand-gold); }

.cards-dark {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .cards-dark { grid-template-columns: repeat(3, 1fr); }
}

.card-dark {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: transform 0.3s ease;
}
.card-dark:hover { transform: translateY(-4px); }
.card-dark .icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(197, 160, 89, 0.15);
  color: var(--brand-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-dark h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: #fff;
}
.card-dark p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.6;
}

/* 2025 / Resultados */
#resultados { background: #fff; }
#resultados .video-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  #resultados .video-split { grid-template-columns: 1fr 1fr; }
}
#resultados .img-card img {
  aspect-ratio: 4/3;
}
#resultados ul.checks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
#resultados ul.checks li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--slate-700);
  font-size: 0.95rem;
}
#resultados ul.checks li::before {
  content: "✓";
  color: var(--brand-gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* Legado */
#legado {
  background: var(--slate-100);
}
.cards {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--slate-200);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-4px); }
.card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  margin: 0 0 1rem;
  color: var(--slate-900);
}
.card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* Quote band */
.quote-band {
  background: var(--brand-dark);
  color: #fff;
  text-align: center;
  padding: 4rem 1.25rem;
}
.quote-band blockquote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.45;
  max-width: 48rem;
  margin: 0 auto;
  color: #f1f5f9;
}
.quote-band p {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  color: var(--slate-400);
  font-size: 0.95rem;
}
.quote-band .quote-mark {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1.5rem;
  color: var(--brand-gold);
  opacity: 0.8;
  display: block;
}

/* Galeria */
section[aria-labelledby="galeria-title"] { background: #fff; }
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.08);
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery figure:hover img { transform: scale(1.05); }

/* Contato */
#contato { background: var(--slate-50); }
.form-wrap {
  max-width: 48rem;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-100);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
@media (min-width: 768px) {
  .form-wrap { padding: 3rem; }
}
.form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}
.form-wrap label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}
.form-wrap input,
.form-wrap textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: #fff;
  color: var(--slate-900);
  font-family: inherit;
  font-size: 0.95rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.form-wrap input:focus,
.form-wrap textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25);
}
.form-wrap textarea {
  min-height: 8rem;
  resize: vertical;
}
.form-note {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
  text-align: center;
  font-size: 0.95rem;
  color: var(--slate-600);
}
.form-note a {
  color: var(--brand-dark);
  font-weight: 700;
}
.form-note a:hover { color: var(--brand-gold); text-decoration: none; }

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: #fff;
  padding: 4rem 1.25rem 2rem;
  border-top: 1px solid var(--slate-800);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer-grid strong.brand-mark {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  color: var(--brand-gold);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.footer-grid p,
.footer-grid li {
  color: var(--slate-400);
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-grid h4 {
  color: var(--brand-gold);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  margin: 0 0 1.25rem;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid ul li { margin-bottom: 0.6rem; }
.footer-grid a { color: var(--slate-400); }
.footer-grid a:hover { color: #fff; text-decoration: none; }
.site-footer .footer-copy {
  border-top: 1px solid var(--slate-800);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate-500);
  margin: 0;
}

/* Toast */
.danilo-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  max-width: 20rem;
  width: calc(100% - 2rem);
  background: var(--brand-dark);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid var(--brand-gold);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  transform: translateY(160%);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
  pointer-events: none;
}
.danilo-toast--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.danilo-toast__title {
  font-weight: 700;
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.danilo-toast__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.45;
}

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