/*
Theme Name: Adriano Gomes — Da Intenção à Ação
Theme URI: https://example.com/
Author: Adriano Gomes
Description: Tema editorial premium para conteúdo sobre comportamento, execução e negócios.
Version: 1.3.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: adriano-gomes
*/

:root {
  --ink: #130f0c;
  --espresso: #2a170f;
  --coffee: #51301f;
  --muted: #71665d;
  --paper: #fff9ef;
  --cream: #f3dfbd;
  --sand: #eadbc5;
  --gold: #d5963e;
  --gold-light: #efc27d;
  --gold-dark: #955817;
  --line: rgba(42, 23, 15, .15);
  --max: 1180px;
  --serif: "Georgia", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 760px); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: var(--gold-dark); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0 0 .55em; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.9rem, 7vw, 6.6rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
p { margin: 0 0 1.4em; }
.lead { color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.35rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: .2s ease; }
.button:hover { border-color: var(--gold-dark); background: var(--gold-dark); }
.button--ghost { background: transparent; color: var(--ink); }
.button--ghost:hover { color: #fff; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { z-index: 100; top: 8px; left: 8px; padding: 8px; background: #fff; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(239,194,125,.16); background: rgba(19,15,12,.96); color: var(--paper); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: -.03em; }
.brand span { margin-top: 7px; color: var(--gold-light); font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nav-list { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav-list a { font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.nav-list a:hover { color: var(--gold-light); }
.menu-toggle { display: none; padding: 10px; border: 0; background: transparent; color: inherit; font-weight: 800; }

.hero { padding: clamp(80px, 12vw, 165px) 0 95px; overflow: hidden; background: linear-gradient(135deg, var(--paper) 0%, #f8ead4 100%); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 80px; }
.hero h1 em { color: var(--gold-dark); font-style: normal; text-shadow: 0 1px 0 rgba(255,255,255,.7); }
.hero-aside { padding: 30px 0 10px 34px; border-left: 1px solid var(--gold); }
.hero-aside strong { display: block; margin-bottom: 10px; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.signature { margin-top: 26px; font-family: var(--serif); font-size: 1.25rem; font-style: italic; }

.manifesto { padding: 95px 0; background: linear-gradient(135deg, var(--ink), var(--espresso)); color: var(--paper); }
.manifesto-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.manifesto .eyebrow { color: var(--gold-light); }
.manifesto p { color: #d5c4ad; }

.about-home { background: #f8ead4; }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(48px, 8vw, 105px); }
.about-photo { position: relative; margin: 0; }
.about-photo::before { position: absolute; z-index: -1; right: -18px; bottom: -18px; width: 64%; height: 64%; background: var(--gold); content: ""; }
.about-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center 18%; border: 1px solid rgba(42,23,15,.18); filter: saturate(.9) contrast(1.02); }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.authority-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0; padding: 25px 0; border-block: 1px solid var(--line); list-style: none; }
.authority-list li { padding-right: 18px; }
.authority-list strong, .authority-list span { display: block; }
.authority-list strong { color: var(--gold-dark); font-family: var(--serif); font-size: 1.35rem; }
.authority-list span { margin-top: 3px; color: var(--muted); font-size: .74rem; line-height: 1.4; }
.about-page .about-grid { align-items: start; }
.about-page .about-photo { position: sticky; top: 120px; }

.section { padding: 105px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.text-link { border-bottom: 1px solid var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { border-top: 1px solid var(--ink); padding-top: 18px; }
.post-card-image { aspect-ratio: 16/10; margin-bottom: 22px; overflow: hidden; background: var(--sand); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.post-card:hover img { transform: scale(1.025); }
.post-meta { margin-bottom: 12px; color: var(--gold-dark); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.post-card p { color: var(--muted); font-size: .94rem; }

.offers { background: var(--sand); }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer-card { min-height: 420px; padding: clamp(32px, 5vw, 64px); background: var(--paper); border: 1px solid var(--line); }
.offer-card:nth-child(2) { background: linear-gradient(145deg, var(--espresso), var(--ink)); color: var(--paper); border-color: var(--coffee); }
.offer-card:nth-child(2) .eyebrow { color: var(--gold-light); }
.offer-card:nth-child(2) p { color: #d5c4ad; }
.offer-card p { max-width: 470px; color: var(--muted); }

.newsletter { padding: 90px 0; background: linear-gradient(115deg, #c57f2d, var(--gold-light)); }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { width: 100%; min-height: 54px; padding: 0 18px; border: 1px solid rgba(21,20,17,.3); background: rgba(255,255,255,.88); font: inherit; }
.newsletter small { display: block; margin-top: 10px; opacity: .72; }

.page-hero { padding: 100px 0 70px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.7rem, 6vw, 5.5rem); }
.content { padding: 75px 0 110px; }
.entry-content h2 { margin-top: 1.5em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content a { color: var(--gold-dark); text-decoration: underline; }
.entry-content blockquote { margin: 2em 0; padding: 10px 0 10px 28px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.55rem; line-height: 1.4; }
.single-cover { width: min(calc(100% - 40px), 1040px); margin: 0 auto; }
.single-cover img { width: 100%; max-height: 620px; object-fit: cover; }
.pagination { margin-top: 55px; }

.site-footer { padding: 72px 0 30px; background: #0e0b09; color: var(--paper); border-top: 3px solid var(--gold-dark); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 55px; }
.footer-grid p, .footer-grid a { color: #aaa69e; }
.footer-nav { margin: 0; padding: 0; list-style: none; }
.footer-nav li { margin-bottom: 7px; }
.socials { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #77736c; font-size: .78rem; }
.whatsapp { position: fixed; z-index: 18; right: 22px; bottom: 22px; display: flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: #1f9d55; color: #fff; font-size: 1.35rem; font-weight: 900; box-shadow: 0 8px 30px rgba(0,0,0,.2); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 84px; right: 0; left: 0; display: none; padding: 24px 20px; border-bottom: 1px solid rgba(239,194,125,.16); background: var(--ink); }
  .site-nav.is-open { display: block; }
  .nav-list { align-items: flex-start; flex-direction: column; }
  .hero-grid, .manifesto-grid, .newsletter-grid { grid-template-columns: 1fr; gap: 42px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 620px; }
  .about-page .about-photo { position: relative; top: auto; }
  .hero-aside { max-width: 560px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-top: 70px; }
  .posts-grid, .offer-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .authority-list { grid-template-columns: 1fr; gap: 18px; }
}
