/*
Theme Name: Danillo Talk
Theme URI: https://danillotalk.com.br
Author: Agência Vambora
Description: Tema do podcast Danillo Talk — Quem produz, fala aqui. Matérias, episódios do YouTube, cortes do Instagram e convidados.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: danillotalk
*/

:root {
	--ink: #121212;
	--ink-2: #2a2a2e;
	--cream: #f3eee6;
	--sand: #e9e2d6;
	--sand-2: #ddd6ca;
	--red: #e5322d;
	--red-text: #b3231e;
	--red-light: #ff6b5e;
	--muted: #55524d;
	--muted-dark: #a1a1a6;
	--head: 'Space Grotesk', system-ui, sans-serif;
	--body: 'Inter', system-ui, sans-serif;
	--wrap: 1240px;
	--radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.dt-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.dt-skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 100; }
.dt-skip:focus { left: 12px; top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Logo */
.dt-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 24px; letter-spacing: -0.6px; color: #fff; white-space: nowrap; }
.dt-wave rect { fill: var(--red); }

/* Topo */
.dt-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.admin-bar .dt-header { top: 32px; }
.dt-header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.dt-nav { display: flex; align-items: center; gap: 28px; }
.dt-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
.dt-nav-list a { display: inline-block; padding: 8px 0; }
.dt-social { display: flex; gap: 8px; }
.dt-social a { width: 44px; height: 44px; border-radius: 50%; background: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; }
.dt-menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #3a3a3e; background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 960px) {
	.dt-menu-btn { display: inline-flex; }
	.dt-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px 24px 24px; gap: 16px; border-top: 1px solid var(--ink-2); }
	.dt-nav.is-open { display: flex; }
	.dt-nav-list { flex-direction: column; gap: 0; font-size: 18px; }
	.dt-nav-list a { padding: 12px 0; display: block; border-bottom: 1px solid var(--ink-2); }
	.dt-header-in { min-height: 64px; position: relative; }
	.dt-logo { font-size: 20px; }
}
@media (max-width: 782px) { .admin-bar .dt-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .dt-header { top: 0; position: relative; } }

/* Blocos gerais */
.dt-dark { background: var(--ink); color: #fff; }
.dt-sand { background: var(--sand); }
.dt-section { padding: 80px 0; }
.dt-section-tight { padding: 0 0 80px; }
.dt-section-top0 { padding-top: 0; }
.dt-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.dt-section-head h2 { font-size: 40px; }
.dt-sub { margin: 6px 0 0; color: var(--muted); }
.dt-more { font-weight: 600; color: var(--red-text); }
.dt-dark .dt-more { color: var(--red-light); }
.dt-kicker { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-text); }
.dt-dark .dt-kicker, .dt-kicker-live { color: var(--red-light); }
.dt-lead { font-size: 19px; line-height: 1.6; margin: 0; }
.dt-empty { color: var(--muted); }
.dt-dark .dt-empty { color: var(--muted-dark); }

.dt-grid { display: grid; gap: 28px; }
.dt-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.dt-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

/* Botões */
.dt-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.dt-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.dt-btn-red { background: var(--red); color: #fff; }
.dt-btn-line { border: 1px solid #4a4a50; color: #fff; }
.dt-btn-dark { background: var(--ink); color: #fff; }
.dt-btn-white { background: #fff; color: var(--ink); }
.dt-btn-outline-white { border: 2px solid #fff; color: #fff; }

/* Mídia */
.dt-media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); position: relative; }
.dt-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dt-media-video { aspect-ratio: 16 / 9; background: var(--ink-2); }
.dt-media-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .55; }
a:hover .dt-media img { transform: scale(1.03); }
.dt-play { position: absolute; top: 50%; left: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(229, 50, 45, .2); }
.dt-play svg { width: 30px; height: 30px; margin-left: 4px; }
.dt-play-sm { width: 52px; height: 52px; margin: -26px 0 0 -26px; box-shadow: none; }
.dt-play-sm svg { width: 20px; height: 20px; }

/* Destaque */
.dt-hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 48px; padding-bottom: 72px; }
.dt-hero-media { flex: 1 1 540px; min-width: 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--ink-2); position: relative; display: block; }
.dt-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.dt-hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.dt-hero-text h1 { font-size: clamp(32px, 4vw, 50px); }
.dt-hero-text .dt-lead { color: #c9c9ce; }

/* Cards */
.dt-card a, .dt-video a { display: flex; flex-direction: column; gap: 12px; }
.dt-card h3 { font-size: 22px; line-height: 1.25; }
.dt-video h3 { font-family: var(--body); font-size: 17px; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.dt-video p { margin: 0; font-size: 14px; color: var(--muted-dark); }

/* Instagram */
.dt-insta-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 40px; border-radius: 20px; background: var(--ink); color: #fff; font-size: 20px; line-height: 1.5; }
.dt-insta-cta span { flex: 1 1 320px; }

/* Convidados */
.dt-guest { display: flex; flex-direction: column; gap: 8px; }
.dt-guest img, .dt-guest-ini { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius); object-fit: cover; }
.dt-guest-ini { display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 700; font-size: 56px; margin-bottom: 4px; }
.dt-guest strong { font-family: var(--head); font-size: 20px; }
.dt-guest span:not(.dt-guest-ini) { color: #45423d; font-size: 15px; }

/* Sobre */
.dt-about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.dt-about-photo { flex: 1 1 340px; max-width: 460px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--ink); position: relative; }
.dt-about-photo img { width: 100%; height: 100%; object-fit: cover; }
.dt-about-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.dt-about-text h2 { font-size: 44px; }
.dt-about-text p { margin: 0; font-size: 18px; line-height: 1.7; color: #3a3835; }

/* Chamada patrocínio */
.dt-cta { border-radius: 22px; background: var(--red); color: #fff; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.dt-cta > div:first-child { flex: 1 1 420px; }
.dt-cta h2 { font-size: 36px; margin-bottom: 10px; }
.dt-cta p { margin: 0; font-size: 18px; }

/* Listas e cabeçalho de página */
.dt-page-head { padding: 64px 0 40px; }
.dt-page-head h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 16px 0; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 10px 16px; border-radius: 999px; border: 1px solid #bdb5a8; background: #fff; font: inherit; }
.search-submit { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; padding: 0 14px; align-items: center; justify-content: center; border-radius: 999px; background: #fff; font-weight: 600; }
.page-numbers.current { background: var(--ink); color: #fff; }

/* Matéria */
.dt-article-head { max-width: 860px; padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.dt-article-head h1 { font-size: clamp(32px, 5vw, 52px); }
.dt-article-head .dt-lead { color: #3a3835; }
.dt-byline { margin: 0; font-size: 15px; color: var(--muted); }
.dt-article-cover { max-width: 1080px; margin: 0 auto 40px; }
.dt-article-cover img { width: 100%; border-radius: 18px; }

.dt-prose { max-width: 760px; margin: 0 auto; padding: 0 24px; font-size: 19px; line-height: 1.75; }
.dt-prose > * + * { margin-top: 1.1em; }
.dt-prose p { margin: 0; }
.dt-prose h2 { font-size: 30px; margin-top: 1.6em; }
.dt-prose h3 { font-size: 24px; margin-top: 1.4em; }
.dt-prose a { color: var(--red-text); text-decoration: underline; text-underline-offset: 3px; }
.dt-prose img, .dt-prose iframe, .dt-prose video { border-radius: 12px; max-width: 100%; }
.dt-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.dt-prose figure { margin: 1.6em 0; }
.dt-prose figcaption, .dt-prose .wp-element-caption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.dt-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--red); font-family: var(--head); font-size: 24px; line-height: 1.4; }
.dt-prose ul, .dt-prose ol { padding-left: 1.3em; }
.dt-prose .alignwide { max-width: 1080px; margin-left: 50%; transform: translateX(-50%); width: calc(100vw - 48px); }
.dt-prose .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.dt-prose .wp-block-embed__wrapper { position: relative; }
.dt-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 48px; margin-bottom: 72px; padding-top: 24px; border-top: 1px solid #d6cfc3; font-size: 15px; }
.dt-share a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; }

/* Rodapé */
.dt-footer { background: var(--ink); color: #fff; }
.dt-footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.dt-footer-brand p { margin: 12px 0 0; color: var(--muted-dark); }
.dt-footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: #c9c9ce; }
.dt-footer-col h2 { font-family: var(--body); font-size: 15px; letter-spacing: 0; color: #fff; margin-bottom: 4px; }
.dt-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--ink-2); font-size: 13px; color: var(--muted-dark); }

/* Celular */
@media (max-width: 700px) {
	body { font-size: 16px; }
	.dt-section { padding: 56px 0; }
	.dt-section-tight { padding-bottom: 56px; }
	.dt-section-head h2 { font-size: 30px; }
	.dt-hero-in { gap: 28px; padding-top: 24px; padding-bottom: 48px; }
	.dt-hero-media { flex-basis: 100%; }
	.dt-grid-3 { grid-template-columns: 1fr; }
	.dt-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.dt-video h3 { font-size: 15px; }
	.dt-guest-ini { font-size: 40px; }
	.dt-about-text h2 { font-size: 34px; }
	.dt-cta { padding: 32px 24px; }
	.dt-cta h2 { font-size: 28px; }
	.dt-insta-cta { padding: 28px 24px; font-size: 17px; }
	.dt-prose { font-size: 18px; }
	.dt-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.dt-media img { transition: none; }
}


/* Formulário de contato */
.dt-form-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.dt-form-intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.dt-form-intro h2 { font-size: 38px; }
.dt-form-intro p:last-child { margin: 0; font-size: 18px; color: #3a3835; }
.dt-form { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; background: #fff; border-radius: 20px; padding: 32px; }
.dt-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.dt-form input[type=text], .dt-form input[type=email], .dt-form input[type=tel], .dt-form textarea { font: inherit; font-weight: 400; min-height: 48px; padding: 10px 14px; border: 1px solid #c9c1b4; border-radius: 10px; background: #fff; color: var(--ink); }
.dt-form textarea { resize: vertical; }
.dt-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dt-radios { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dt-radios legend { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.dt-radios label { flex-direction: row; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #c9c1b4; border-radius: 999px; font-weight: 500; cursor: pointer; }
.dt-radios label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.dt-form .dt-btn { align-self: flex-start; border: 0; cursor: pointer; }
.dt-form-note { margin: 0; font-size: 13px; color: var(--muted); }
.dt-alert { margin: 0; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.dt-alert-ok { background: #e3f3e8; color: #155c2c; }
.dt-alert-erro { background: #fbe3e1; color: #8f1d18; }
.dt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 700px) { .dt-form { padding: 24px 20px; } .dt-form-intro h2 { font-size: 30px; } }
#fale { scroll-margin-top: 80px; }
