/*
Theme Name: Daiane Dalzoto — Marketing para Oficinas
Theme URI: https://agencia2dmarketing.com.br/
Author: Agência 2D
Description: Tema de blocos leve para o hub de autoridade de Daiane Dalzoto.
Version: 0.1.2
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: daiane-dalzoto
*/

:root {
  --dd-ink: #142120;
  --dd-ink-soft: #243331;
  --dd-paper: #f4f0e7;
  --dd-surface: #fffdf8;
  --dd-accent: #d8582b;
  --dd-accent-dark: #a83e1b;
  --dd-line: rgba(20, 33, 32, 0.16);
  --dd-muted: #62706d;
  --dd-radius: 1.25rem;
  --dd-shadow: 0 1.5rem 4rem rgba(20, 33, 32, 0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--dd-paper);
  color: var(--dd-ink);
  text-rendering: optimizeLegibility;
}

a { text-underline-offset: 0.18em; }

.wp-site-blocks { overflow: hidden; }

.dd-site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dd-header-inner {
  min-height: 5rem;
}

.dd-brand {
  line-height: 1;
  letter-spacing: -0.035em;
}

.dd-brand small {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dd-hero {
  position: relative;
  isolation: isolate;
  min-height: 47rem;
  margin-top: -5.05rem;
  padding-top: 11rem !important;
  background:
    radial-gradient(circle at 84% 22%, rgba(216, 88, 43, 0.28), transparent 24rem),
    linear-gradient(135deg, #0f1b1a 0%, #172724 58%, #243532 100%);
}

.dd-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.dd-eyebrow {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  color: #f2b098;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dd-eyebrow::before {
  width: 2.2rem;
  height: 2px;
  background: var(--dd-accent);
  content: "";
}

.dd-hero h1 {
  max-width: 14ch;
  margin-top: 1.45rem;
  color: white;
  font-size: clamp(3rem, 7vw, 6.75rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.dd-hero-lead {
  max-width: 39rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.58;
}

.dd-button .wp-block-button__link {
  border: 1px solid transparent;
  box-shadow: none;
  font-weight: 760;
  transition: transform 160ms ease, background-color 160ms ease;
}

.dd-button .wp-block-button__link:hover {
  transform: translateY(-2px);
}

.dd-button-outline .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent !important;
  color: white !important;
}

.dd-hero-panel {
  position: relative;
  min-height: 35rem;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.5rem;
  background: #c8beb5;
  box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, 0.28);
}

.dd-hero-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 27, 26, 0.78), transparent 48%);
  content: "";
  pointer-events: none;
}

.dd-hero-portrait,
.dd-hero-portrait img {
  width: 100%;
  height: 100%;
  margin: 0;
}

.dd-hero-portrait {
  position: absolute;
  inset: 0;
}

.dd-hero-portrait img {
  display: block;
  object-fit: cover;
  object-position: center 34%;
}

.dd-portrait-caption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.46);
  color: white;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}

.dd-portrait-caption strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #f2b098;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dd-panel-kicker {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dd-proof-strip {
  position: relative;
  z-index: 4;
  margin-top: -3rem !important;
  border-radius: var(--dd-radius);
  background: var(--dd-surface);
  box-shadow: var(--dd-shadow);
}

.dd-proof-item {
  padding: 1.7rem 2rem;
  border-right: 1px solid var(--dd-line);
}

.dd-proof-item:last-child { border-right: 0; }

.dd-proof-label {
  color: var(--dd-accent-dark);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.dd-section { padding-top: clamp(5rem, 9vw, 8rem) !important; padding-bottom: clamp(5rem, 9vw, 8rem) !important; }

.dd-section-title {
  max-width: 18ch;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.dd-section-lead {
  max-width: 42rem;
  color: var(--dd-muted);
  font-size: 1.15rem;
  line-height: 1.75;
}

.dd-objective-card {
  min-height: 23rem;
  padding: 2rem !important;
  border: 1px solid var(--dd-line);
  border-radius: var(--dd-radius);
  background: rgba(255, 253, 248, 0.6);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dd-objective-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1.25rem 3rem rgba(20, 33, 32, 0.09);
}

.dd-objective-index {
  color: var(--dd-accent);
  font-size: 0.75rem;
  font-weight: 780;
  letter-spacing: 0.14em;
}

.dd-objective-card h3 {
  margin-top: 4rem;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  letter-spacing: -0.045em;
}

.dd-objective-card p { color: var(--dd-muted); line-height: 1.7; }

.dd-dark-section {
  background: var(--dd-ink);
  color: white;
}

.dd-dark-section .dd-section-lead { color: rgba(255, 255, 255, 0.66); }

.dd-quote {
  padding-left: 1.5rem;
  border-left: 3px solid var(--dd-accent);
  color: white;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.dd-service-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.dd-service-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
}

.dd-diagnostic {
  border-radius: 1.75rem;
  background: var(--dd-accent);
  box-shadow: var(--dd-shadow);
}

.dd-diagnostic h2 { color: white; }
.dd-diagnostic p { color: rgba(255, 255, 255, 0.8); }

.dd-site-footer { border-top: 1px solid var(--dd-line); }

@media (max-width: 960px) {
  .dd-site-header nav { display: none; }
  .dd-hero { min-height: auto; padding-bottom: 7rem !important; }
  .dd-hero-panel { min-height: 36rem; margin-top: 2rem; }
  .dd-proof-strip { margin-top: -2rem !important; }
  .dd-proof-item { border-right: 0; border-bottom: 1px solid var(--dd-line); }
}

@media (max-width: 600px) {
  .dd-header-cta { display: none !important; }
  .dd-hero { padding-top: 8.75rem !important; }
  .dd-hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .dd-hero-panel { min-height: 31rem; }
  .dd-hero .wp-block-buttons { align-items: stretch; }
  .dd-hero .wp-block-button { width: 100%; }
  .dd-hero .wp-block-button__link { width: 100%; text-align: center; }
  .dd-objective-card { min-height: auto; }
  .dd-objective-card h3 { margin-top: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
