/*
Theme Name: Fabio Flores Central
Theme URI: https://fabiofloresdosanjos.com.br
Author: Fabio Flores dos Anjos
Description: Tema editorial leve para o site oficial de Fabio Flores dos Anjos.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: fabio-flores-central
*/

:root {
  --navy: #0b1f3a;
  --navy-soft: #163554;
  --gold: #bd8425;
  --gold-soft: #ead6aa;
  --cream: #f5f1e8;
  --paper: #fffdf9;
  --ink: #172033;
  --muted: #5f6876;
  --line: #d8d4cc;
  --max: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 12px 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(11,31,58,.12);
  background: rgba(255,253,249,.96);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.site-brand strong { color: var(--navy); font-size: 1.1rem; letter-spacing: .08em; }
.site-brand span { color: var(--muted); font-size: .62rem; margin-top: 7px; letter-spacing: .12em; text-transform: uppercase; }
.site-nav ul { display: flex; align-items: center; gap: 25px; list-style: none; padding: 0; margin: 0; }
.site-nav a { color: var(--navy); font-size: .8rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--gold); }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; color: var(--navy); padding: 9px 12px; font-weight: 700; }

.button, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: .2s ease;
}
.button:hover { background: var(--navy-soft); transform: translateY(-1px); }
.button-outline { background: transparent; color: var(--navy); }
.button-light { background: #fff; border-color: #fff; color: var(--navy); }

.hero { background: var(--cream); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { min-height: 640px; display: grid; grid-template-columns: 1.18fr .82fr; align-items: stretch; }
.hero-copy { padding: 90px 7vw 80px 0; align-self: center; }
.eyebrow, .section-kicker { margin: 0 0 20px; color: #986617; font-size: .68rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); line-height: 1.05; }
h1 { max-width: 850px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 5.8vw, 6.1rem); font-weight: 500; letter-spacing: -.055em; }
h2 { margin: 0 0 24px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 3.6vw, 3.8rem); font-weight: 500; letter-spacing: -.04em; }
h3 { margin: 0 0 12px; font-size: 1.28rem; letter-spacing: -.02em; }
.hero-lead { max-width: 720px; margin: 28px 0; color: var(--muted); font-family: Georgia, 'Times New Roman', serif; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { min-height: 640px; background: var(--navy); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: saturate(.82) contrast(1.03); }

.proof-strip { background: var(--navy); color: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 30px 24px; border-right: 1px solid rgba(255,255,255,.18); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; color: var(--gold-soft); font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; }
.proof-item span { display: block; margin-top: 4px; color: #d9e0e8; font-size: .69rem; letter-spacing: .08em; text-transform: uppercase; }

.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .section-kicker { color: var(--gold-soft); }
.intro-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 9vw; align-items: start; }
.intro-copy { color: var(--muted); font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; }
.intro-copy p:first-child { margin-top: 0; }
.text-link { color: var(--navy); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.section-navy .text-link { color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 44px; background: var(--line); border: 1px solid var(--line); }
.card { padding: 32px; background: var(--paper); }
.card p { margin: 0; color: var(--muted); }
.card-label { display: block; margin-bottom: 20px; color: #986617; font-size: .64rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.talk-list { margin-top: 42px; border-top: 1px solid rgba(11,31,58,.25); }
.talk { display: grid; grid-template-columns: 55px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid rgba(11,31,58,.25); }
.talk-number { color: #986617; font-family: Georgia, serif; }
.talk p { max-width: 820px; margin: 0; color: var(--muted); }

.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.book { padding: 38px; border: 1px solid rgba(255,255,255,.2); }
.book p { color: #d7dee8; }
.podcast-panel { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding: 44px; border: 1px solid var(--line); background: var(--paper); }
.podcast-panel p { max-width: 820px; margin-bottom: 0; color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.post-card { padding: 28px; border: 1px solid var(--line); background: #fff; }
.post-card time { color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { margin-top: 14px; }
.post-card p { color: var(--muted); }

.cta { padding: 72px 0; background: var(--gold); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.cta h2 { max-width: 850px; margin-bottom: 0; }

.page-hero { padding: 82px 0 62px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.8rem, 5vw, 5.2rem); }
.page-hero p { max-width: 760px; color: var(--muted); font-family: Georgia, serif; font-size: 1.1rem; }
.content-wrap { width: min(calc(100% - 40px), 860px); margin-inline: auto; padding: 72px 0 100px; }
.entry-content { font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; }
.entry-content h2 { margin-top: 58px; }
.entry-content h3 { margin-top: 34px; font-family: Arial, Helvetica, sans-serif; }
.entry-content a { color: #825610; }
.entry-content hr { margin: 50px 0; border: 0; border-top: 1px solid var(--line); }
.entry-content .wp-block-buttons { margin-top: 32px; }
.media-entry { padding: 26px 0; border-bottom: 1px solid var(--line); }
.media-entry:first-of-type { border-top: 1px solid var(--line); }
.media-entry p { margin-bottom: 8px; }
.media-meta { color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: .8rem; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; font-family: Arial, Helvetica, sans-serif; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; font-size: .78rem; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; margin-top: 7px; padding: 13px; border: 1px solid #b7bbc1; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.contact-form .consent input { width: auto; margin-top: 5px; }
.form-notice { padding: 14px 18px; background: var(--cream); border-left: 4px solid var(--gold); }

.site-footer { padding: 56px 0 26px; background: #07172c; color: #d8e0ea; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 60px; }
.site-footer h2 { color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: .08em; }
.site-footer p, .site-footer a { color: #bfc9d6; font-size: .82rem; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); font-size: .7rem; color: #94a1b2; }

@media (max-width: 940px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 24px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: flex-start; flex-direction: column; gap: 16px; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 72px 0; }
  .hero-photo { min-height: 540px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .proof-item:nth-child(3) { padding-left: 0; }
  .intro-grid, .cta-grid, .footer-grid { grid-template-columns: 1fr; }
  .cards, .post-grid { grid-template-columns: 1fr 1fr; }
  .cta-grid { align-items: start; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-brand span { display: none; }
  .hero-copy { padding: 58px 0; }
  .hero-photo { min-height: 430px; }
  .proof-grid, .cards, .book-grid, .post-grid, .contact-form { grid-template-columns: 1fr; }
  .proof-item { padding: 22px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .proof-item:nth-child(3) { padding-left: 0; }
  .section { padding: 72px 0; }
  .talk { grid-template-columns: 34px 1fr; gap: 12px; }
  .podcast-panel { grid-template-columns: 1fr; padding: 28px; }
  .page-hero { padding: 60px 0 45px; }
  .content-wrap { padding: 52px 0 75px; }
  .contact-form .full { grid-column: auto; }
}

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