/*
Theme Name: AmorVera
Theme URI: https://en.zefviral.com
Description: Editorial child theme for AmorVera — dating apps & relationships for adults 35+. Fast, ad-ready (AdSense / Ad Manager), bilingual EN/ES.
Author: AmorVera
Template: generatepress
Version: 1.0.0
Text Domain: datewise
*/

/* ================================================================
   1. Tokens
   ================================================================ */
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(assets/fonts/newsreader-600.woff2) format("woff2");
}
@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 600;
	font-display: swap;
	src: url(assets/fonts/newsreader-600-italic.woff2) format("woff2");
}

:root {
	--wine: #8C1D40;
	--wine-700: #6E1532;
	--wine-50: #FBF0F3;
	--rose: #B4466A;
	--gold: #B8862F;
	--gold-300: #E7C98A;
	--ink: #1F1A1C;
	--ink-2: #463D41;
	--muted: #6B6165;
	--line: #ECE3DF;
	--bg: #FFFCFA;
	--cream: #F8F1EC;
	--card: #FFFFFF;

	--c-apps: #8C1D40;   --c-apps-bg: #FBEFF3;
	--c-advice: #A63A60; --c-advice-bg: #FCF0F4;
	--c-safety: #1F5E6E; --c-safety-bg: #ECF5F7;
	--c-money: #2E6A4E;  --c-money-bg: #EEF6F1;

	--serif: "Newsreader", Georgia, "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--r-sm: 8px;
	--r: 14px;
	--r-lg: 20px;
	--shadow: 0 1px 2px rgba(31, 26, 28, .05), 0 6px 20px rgba(31, 26, 28, .06);
	--shadow-hover: 0 2px 4px rgba(31, 26, 28, .06), 0 12px 30px rgba(31, 26, 28, .10);
	--wrap: 1160px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ================================================================
   2. Base (neutraliza o layout do GeneratePress)
   ================================================================ */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
#page.grid-container, .site.grid-container { max-width: none; padding: 0; margin: 0; background: transparent; }
.site-content { display: block; padding: 0; }
.site-footer { background: transparent; padding: 0; }
.site-info { display: none; }
img { max-width: 100%; height: auto; }
a { color: var(--wine); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--wine-700); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.2; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 1em; }
button, input, textarea { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }

.dw-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.dw-mt { margin-top: 32px; }
.dw-block { padding-top: 40px; padding-bottom: 8px; }
.dw-ico { flex: none; display: inline-block; vertical-align: middle; }

.dw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	background: var(--wine); color: #fff; border: 0; border-radius: 999px;
	font-weight: 600; font-size: 15px; cursor: pointer;
	transition: background .15s var(--ease), transform .15s var(--ease);
}
.dw-btn:hover { background: var(--wine-700); color: #fff; }
.dw-btn:active { transform: scale(.98); }

/* ================================================================
   3. Header
   ================================================================ */
.dw-header {
	position: sticky; top: 0; z-index: 40;
	background: rgba(255, 252, 250, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.dw-header__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.dw-logo { display: flex; flex: none; }
.dw-logo img { height: 36px; width: auto; }
.dw-nav { flex: 1; min-width: 0; }
.dw-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.dw-nav a {
	display: block; padding: 8px 12px; border-radius: 999px;
	color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap;
}
.dw-nav a:hover { background: var(--cream); color: var(--ink); }
.dw-nav a[aria-current] { color: var(--wine); background: var(--wine-50); }
.dw-header__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.dw-lang {
	display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.dw-lang:hover { border-color: var(--wine); color: var(--wine); }

.dw-pop { position: relative; }
.dw-pop > summary {
	list-style: none; display: grid; place-items: center; width: 44px; height: 44px;
	border-radius: 999px; color: var(--ink-2); cursor: pointer;
}
.dw-pop > summary::-webkit-details-marker { display: none; }
.dw-pop > summary:hover, .dw-pop[open] > summary { background: var(--cream); color: var(--ink); }
.dw-pop__panel {
	position: absolute; right: 0; top: calc(100% + 10px); z-index: 50;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-hover);
	padding: 12px; min-width: 300px;
}
.dw-search form { display: flex; gap: 8px; }
.dw-search input, .dw-searchform input {
	flex: 1; min-width: 0; min-height: 44px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink);
}
.dw-search input:focus, .dw-searchform input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px var(--wine-50); }
.dw-burger { display: none; }
.dw-burger ul { list-style: none; margin: 0; padding: 0; }
.dw-burger a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-sm); color: var(--ink); font-weight: 500; }
.dw-burger a:hover { background: var(--cream); }

@media (max-width: 900px) {
	.dw-nav { display: none; }
	.dw-burger { display: block; }
	.dw-header__in { height: 60px; gap: 12px; }
	.dw-logo img { height: 32px; }
	.dw-pop__panel { position: fixed; left: 12px; right: 12px; top: 68px; min-width: 0; }
}

/* ================================================================
   4. Pills, chips, títulos de seção
   ================================================================ */
.dw-c-apps   { --c: var(--c-apps);   --c-bg: var(--c-apps-bg); }
.dw-c-advice { --c: var(--c-advice); --c-bg: var(--c-advice-bg); }
.dw-c-safety { --c: var(--c-safety); --c-bg: var(--c-safety-bg); }
.dw-c-money  { --c: var(--c-money);  --c-bg: var(--c-money-bg); }

.dw-pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 10px; border-radius: 999px;
	background: var(--c-bg, var(--wine-50)); color: var(--c, var(--wine));
	font-size: 12.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.dw-pill:hover { color: var(--c); filter: brightness(.97); }
.dw-chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
	background: var(--card); border: 1px solid var(--line); border-radius: 999px;
	color: var(--ink); font-weight: 600; font-size: 15px;
	transition: border-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.dw-chip .dw-ico { color: var(--c); }
.dw-chip:hover { border-color: var(--c); color: var(--c); transform: translateY(-1px); }
.dw-kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.dw-kicker--sm { font-size: 11.5px; margin-bottom: 6px; display: block; }
.dw-section-title { font-size: 28px; margin-bottom: 20px; }
.dw-section-title a { color: inherit; }
.dw-section-title a:hover { color: var(--wine); }
.dw-page-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.dw-lead { font-size: 19px; color: var(--ink-2); }

/* ================================================================
   5. Cards
   ================================================================ */
.dw-grid { display: grid; gap: 24px; }
.dw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dw-grid__full { grid-column: 1 / -1; }
@media (max-width: 1024px) { .dw-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dw-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .dw-grid--4, .dw-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

.dw-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
	overflow: hidden; box-shadow: var(--shadow);
	transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.dw-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.dw-card__media { display: block; aspect-ratio: 16 / 9; background: var(--cream); overflow: hidden; }
.dw-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dw-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.dw-card__title { font-size: 20px; line-height: 1.25; }
.dw-card__title a { color: var(--ink); }
.dw-card__title a::after { content: ""; position: absolute; inset: 0; } /* card inteiro clicável */
.dw-card__title a:hover { color: var(--wine); }
.dw-card .dw-pill { position: relative; z-index: 1; }
.dw-card__excerpt { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }
.dw-card__meta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }

.dw-cover {
	display: grid; place-items: center; width: 100%; height: 100%;
	background: radial-gradient(120% 120% at 0% 0%, var(--c-bg) 0%, #fff 70%);
	color: var(--c);
}

/* ================================================================
   6. Home
   ================================================================ */
.dw-hero {
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(184, 134, 47, .12), transparent 60%),
		radial-gradient(70% 90% at 0% 100%, rgba(140, 29, 64, .08), transparent 60%),
		var(--cream);
	border-bottom: 1px solid var(--line);
}
.dw-hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.dw-hero__title { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 18px; }
.dw-hero__sub { font-size: 19px; color: var(--ink-2); max-width: 36em; margin-bottom: 24px; }
.dw-hero__cats { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.dw-feature { position: relative; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-hover); }
.dw-feature__media { display: block; aspect-ratio: 16 / 9; background: var(--cream); }
.dw-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dw-feature__body { padding: 20px 24px 24px; }
.dw-feature__title { font-size: 26px; line-height: 1.2; }
.dw-feature__title a { color: var(--ink); }
.dw-feature__title a::after { content: ""; position: absolute; inset: 0; }
.dw-feature:hover .dw-feature__title a { color: var(--wine); }
@media (max-width: 900px) {
	.dw-hero__in { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; padding-bottom: 32px; }
	.dw-hero__sub { font-size: 17px; }
	.dw-feature__title { font-size: 22px; }
}

.dw-catblock { border-top: 1px solid var(--line); margin-top: 32px; }
.dw-catblock__head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 4px; }
.dw-catblock__head .dw-section-title { margin-bottom: 4px; }
.dw-catblock__desc { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.dw-catblock__ico {
	display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
	background: var(--c-bg); color: var(--c);
}
.dw-catblock__ico--lg { width: 60px; height: 60px; border-radius: 16px; }
.dw-more { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; padding-top: 8px; color: var(--c, var(--wine)); }
.dw-more:hover { gap: 10px; color: var(--c); }
@media (max-width: 600px) { .dw-more { display: none; } .dw-section-title { font-size: 24px; } }

/* ================================================================
   7. Arquivo (categoria)
   ================================================================ */
.dw-archive-head { background: linear-gradient(180deg, var(--c-bg), var(--bg)); border-bottom: 1px solid var(--line); padding: 20px 0 36px; }
.dw-archive-head__row { display: flex; gap: 20px; align-items: flex-start; margin-top: 12px; }
.dw-archive-head__title { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 8px; }
.dw-archive-head__desc { color: var(--ink-2); font-size: 18px; max-width: 46em; }
.dw-archive-head__desc p { margin: 0; }
.navigation.pagination { margin: 40px 0 16px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 600; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--wine); border-color: var(--wine); color: #fff; }

/* ================================================================
   8. Artigo
   ================================================================ */
.dw-single { padding-top: 24px; }
.dw-single__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.dw-article { min-width: 0; max-width: 760px; }
.dw-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; color: var(--muted); }
.dw-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); color: #BFB3B7; }
.dw-crumbs a { color: var(--muted); }
.dw-crumbs a:hover { color: var(--wine); }
.dw-article__head { margin-bottom: 18px; }
.dw-article__title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.015em; margin: 12px 0 12px; }
.dw-article__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin: 0; }
.dw-article__meta a { color: var(--ink-2); font-weight: 600; }
.dw-article__img { margin: 0 0 28px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--cream); }
.dw-article__img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Tipografia de leitura */
.dw-prose { font-size: 19px; line-height: 1.72; color: var(--ink-2); }
.dw-prose > * { max-width: 68ch; }
.dw-prose p { margin: 0 0 1.15em; }
.dw-prose h2 { font-size: clamp(25px, 2.8vw, 31px); color: var(--ink); margin: 1.9em 0 .6em; scroll-margin-top: 90px; }
.dw-prose h3 { font-size: 22px; color: var(--ink); margin: 1.5em 0 .5em; }
.dw-prose a { color: var(--wine); text-decoration: underline; text-decoration-color: rgba(140, 29, 64, .35); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.dw-prose a:hover { text-decoration-color: var(--wine); }
.dw-prose strong { color: var(--ink); }
.dw-prose ul, .dw-prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.dw-prose li { margin: 0 0 .5em; padding-left: .2em; }
.dw-prose ul li::marker { color: var(--gold); }
.dw-prose ol li::marker { color: var(--wine); font-weight: 700; font-family: var(--serif); }
.dw-prose blockquote {
	margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--gold);
	background: var(--card); border-radius: 0 var(--r) var(--r) 0; box-shadow: var(--shadow);
	font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--ink);
}
.dw-prose blockquote p:last-child { margin: 0; }
.dw-prose table { width: 100%; max-width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.4em 0 1.8em; font-size: 16px; line-height: 1.5; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: block; overflow-x: auto; }
.dw-prose thead th { background: var(--ink); color: #fff; text-align: left; font-weight: 600; padding: 12px 14px; white-space: nowrap; }
.dw-prose td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; background: var(--card); }
.dw-prose tbody tr:nth-child(even) td { background: #FCF8F5; }
.dw-callout {
	position: relative; margin: 1.6em 0; padding: 20px 22px 20px 58px;
	background: linear-gradient(135deg, #FFF8EA, #FDF1F4); border: 1px solid #F1DDC0; border-radius: var(--r);
	color: var(--ink);
}
.dw-callout::before {
	content: ""; position: absolute; left: 20px; top: 22px; width: 22px; height: 22px;
	background: var(--gold); border-radius: 50%;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.3h6c0-1 .4-1.8 1-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.3h6c0-1 .4-1.8 1-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
	border-radius: 0;
}
.dw-callout p:last-child { margin: 0; }

.dw-toc { margin: 1.6em 0 2em; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 20px; box-shadow: var(--shadow); max-width: 68ch; }
.dw-toc summary { cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.dw-toc summary::-webkit-details-marker { display: none; }
.dw-toc summary::after { content: "+"; font-family: var(--sans); font-size: 22px; color: var(--wine); }
.dw-toc[open] summary::after { content: "–"; }
.dw-toc ol { margin: 0 0 16px; padding-left: 1.3em; font-size: 16px; line-height: 1.5; }
.dw-toc li { margin: 0 0 8px; }
.dw-toc a { text-decoration: none; color: var(--ink-2); }
.dw-toc a:hover { color: var(--wine); }

.dw-keep { margin: 2em 0; max-width: 68ch; }
.dw-keep__k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.dw-prose .dw-keep__a, .dw-keep__a {
	display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
	text-decoration: none; color: var(--ink);
	transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.dw-keep__a:hover { border-color: var(--wine); box-shadow: var(--shadow-hover); }
.dw-keep__media { flex: none; width: 96px; aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; background: var(--cream); }
.dw-keep__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dw-keep__media .dw-cover svg { width: 28px; height: 28px; }
.dw-keep__t { flex: 1; font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.3; }
.dw-keep__a .dw-ico { color: var(--wine); }

.dw-author { display: flex; gap: 16px; align-items: flex-start; margin: 40px 0 24px; padding: 20px; background: var(--cream); border-radius: var(--r); max-width: 68ch; }
.dw-author img { border-radius: 14px; flex: none; }
.dw-author__name { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); margin: 0 0 4px; }
.dw-author__bio { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; }

/* Lateral */
.dw-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 28px; }
.dw-side__box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.dw-side__h { font-size: 20px; margin-bottom: 12px; }
.dw-rank { list-style: none; counter-reset: r; margin: 0; padding: 0; }
.dw-rank li { counter-increment: r; display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; font-weight: 600; }
.dw-rank li:first-child { border-top: 0; padding-top: 0; }
.dw-rank li::before { content: counter(r); font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--gold-300); min-width: 20px; }
.dw-rank a { color: var(--ink); }
.dw-rank a:hover { color: var(--wine); }

.dw-related { border-top: 1px solid var(--line); margin-top: 32px; padding: 40px 0 16px; }

@media (max-width: 1024px) {
	.dw-single__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.dw-article { margin: 0 auto; }
	.dw-side { position: static; }
	.dw-side .dw-ad--sidebar { display: none; } /* 300x600 é só desktop — não entra no fluxo do mobile */
}
@media (max-width: 600px) {
	.dw-prose { font-size: 18px; }
	.dw-prose blockquote { font-size: 18px; }
	.dw-keep__media { width: 72px; }
	.dw-keep__t { font-size: 16px; }
	.dw-callout { padding: 18px 18px 18px 52px; }
	.dw-callout::before { left: 18px; }
}

/* ================================================================
   9. Anúncios — container em BLOCO (nunca flex/grid), altura zero até preencher
   ================================================================ */
.dw-ad { display: block; clear: both; text-align: center; margin: 0; max-width: 100%; overflow: hidden; }
.dw-ad.is-filled { margin: 28px 0; }
.dw-ad__label { display: none; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #9A8F93; margin-bottom: 6px; }
.dw-ad.is-filled .dw-ad__label { display: block; }
.dw-ad__slot { display: block; width: 100%; }
.dw-ad--top.is-filled { margin: 8px 0 24px; }
.dw-ad--sidebar.is-filled { margin: 0; }
.dw-prose .dw-ad { max-width: 100%; }

/* ================================================================
   10. Páginas, formulário, 404
   ================================================================ */
.dw-page { padding-top: 40px; padding-bottom: 32px; }
.dw-article--page { margin: 0 auto; }
.dw-article--page .dw-article__title { margin-top: 0; }
.dw-form { max-width: 560px; }
.dw-form label { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.dw-form input, .dw-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); font-size: 17px; }
.dw-form input:focus, .dw-form textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px var(--wine-50); }
.dw-form__note { font-size: 14px; color: var(--muted); }
.dw-hp { position: absolute !important; left: -9999px; }
.dw-alert { padding: 14px 18px; border-radius: var(--r-sm); font-weight: 600; }
.dw-alert--ok { background: var(--c-money-bg); color: var(--c-money); }
.dw-alert--err { background: #FDECEC; color: #A12626; }
.dw-searchform { display: flex; gap: 8px; max-width: 560px; margin: 16px 0; }
.dw-404 { text-align: left; }
.dw-404__code { font-family: var(--serif); font-size: 96px; line-height: 1; color: var(--gold-300); margin: 0; }

/* ================================================================
   11. Footer
   ================================================================ */
.dw-footer { background: #1A1416; color: #CFC4C8; margin-top: 64px; }
.dw-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.dw-footer__brand img { height: 36px; width: auto; margin-bottom: 16px; }
.dw-footer__brand p { font-size: 15px; line-height: 1.6; max-width: 36em; color: #B7ABB0; }
.dw-footer__h { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 14px; }
.dw-footer ul { list-style: none; margin: 0; padding: 0; }
.dw-footer li { margin: 0 0 10px; }
.dw-footer a { color: #E9E1E4; font-size: 15px; }
.dw-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dw-lang--footer { border-color: #3A3034; color: #E9E1E4; }
.dw-footer__bottom { border-top: 1px solid #2F2629; padding-top: 20px; padding-bottom: 28px; font-size: 14px; color: #9A8F93; }
.dw-footer__bottom p { margin: 0; }
@media (max-width: 800px) { .dw-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } .dw-footer__brand { grid-column: 1 / -1; } }

/* ================================================================
   12. Funil (quiz P1 · próximo passo P2 · WhatsApp)
   ================================================================ */
.dw-funnel { padding-top: 24px; }
.dw-article--funnel { margin: 0 auto; max-width: 720px; }
.dw-article--funnel .dw-article__title { margin-top: 0; font-size: clamp(27px, 3.4vw, 38px); }
.dw-prose--hook p { font-size: 20px; color: var(--ink); margin-bottom: 0; }
.dw-btn--xl { min-height: 56px; padding: 14px 28px; font-size: 18px; }

.dw-quiz, .dw-next {
	margin: 24px 0 28px; padding: 28px 24px 24px;
	background: var(--card); border: 1px solid var(--line); border-radius: 24px;
	box-shadow: 0 2px 4px rgba(31,26,28,.04), 0 18px 48px rgba(140,29,64,.12);
	scroll-margin-top: 84px;
}
.dw-quiz__badge { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: var(--wine-50); color: var(--wine); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.dw-quiz__title, .dw-next__title { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; margin: 0 0 16px; }
.dw-quiz__bar { height: 8px; background: var(--cream); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.dw-quiz__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--wine), var(--gold)); border-radius: inherit; transition: width .35s var(--ease); }
.dw-quiz__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.dw-quiz__step:not([hidden]), .dw-quiz__done:not([hidden]) { animation: dw-in .28s var(--ease); }
@keyframes dw-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dw-quiz__q { display: block; width: 100%; padding: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.6vw, 27px); line-height: 1.25; color: var(--ink); margin-bottom: 18px; }
.dw-quiz__count { display: block; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.dw-quiz__opts, .dw-next__opts { display: grid; gap: 14px; }

.dw-opt {
	--o: #B8285A;
	display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 14px 18px;
	border: 0; border-radius: 16px; background: var(--o); color: #fff; cursor: pointer;
	font: 600 18px/1.3 var(--sans); text-align: left; text-decoration: none;
	box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 16px -6px var(--o);
	transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .15s var(--ease);
	-webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.dw-opt:nth-child(4n+2) { --o: #6A45C2; }
.dw-opt:nth-child(4n+3) { --o: #16876A; }
.dw-opt:nth-child(4n+4) { --o: #B25E10; }
.dw-opt:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 12px 24px -8px var(--o); }
.dw-opt:active, .dw-opt.is-picked { transform: scale(.98); filter: brightness(.95); }
.dw-opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.dw-opt__ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.18); }
.dw-opt__txt { flex: 1; min-width: 0; }
.dw-opt__txt strong { display: block; font-weight: 700; }
.dw-opt__txt small { display: block; font-weight: 400; font-size: 15px; opacity: .92; margin-top: 2px; }
.dw-opt__go { flex: none; opacity: .85; transition: transform .15s var(--ease); }
.dw-opt:hover .dw-opt__go { transform: translateX(3px); }
.dw-prose .dw-opt, .dw-prose .dw-opt:hover { color: #fff; text-decoration: none; }

.dw-quiz__back { margin-top: 14px; min-height: 44px; padding: 8px 4px; background: none; border: 0; color: var(--muted); font-size: 15px; cursor: pointer; }
.dw-quiz__back:hover { color: var(--wine); }
.dw-quiz__done { text-align: center; padding: 8px 0 0; }
.dw-quiz__check { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c-money-bg); color: var(--c-money); margin-bottom: 10px; }
.dw-quiz__ready { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.dw-quiz__rtitle { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.8vw, 28px); line-height: 1.25; color: var(--ink); margin: 6px 0 8px; }
.dw-quiz__rdesc { color: var(--ink-2); margin: 0 auto 20px; max-width: 34em; }
.dw-quiz__cta { width: 100%; max-width: 420px; }
.dw-quiz__done .dw-quiz__back { display: block; margin: 10px auto 0; }
.dw-quiz__nojs { margin: 0; padding-left: 1.2em; }

.dw-next--end { margin-top: 36px; }

/* ---- WhatsApp: chat (P1) ---- */
.dw-wa { margin: 8px 0 32px; border-radius: 20px; overflow: hidden; }
.dw-wa__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px;
	background: #128C4A; color: #fff; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none;
	box-shadow: 0 8px 18px -8px rgba(18,140,74,.8); transition: transform .15s var(--ease), background .15s var(--ease);
}
.dw-wa__btn:hover { background: #0E7A40; color: #fff; transform: translateY(-1px); }
.dw-wa__note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.dw-wa--chat { border: 1px solid #D9D2C7; box-shadow: var(--shadow); max-width: 520px; margin-left: auto; margin-right: auto; }
.dw-wa__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #075E54; color: #fff; }
.dw-wa__bar img { border-radius: 50%; background: #fff; }
.dw-wa__bar > div { flex: 1; }
.dw-wa__name { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.2; }
.dw-wa__status { margin: 2px 0 0; font-size: 13px; opacity: .85; display: flex; align-items: center; gap: 6px; }
.dw-wa__dot { width: 8px; height: 8px; border-radius: 50%; background: #3FE07A; }
.dw-wa__body { padding: 18px 14px 20px; background: #ECE5DD; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px; }
.dw-wa__msg {
	position: relative; width: fit-content; max-width: 88%; margin: 0 0 10px; padding: 9px 12px;
	background: #fff; color: #111B21; border-radius: 0 12px 12px 12px; font-size: 16px; line-height: 1.45;
	box-shadow: 0 1px 1px rgba(0,0,0,.08);
	animation: dw-msg .35s var(--ease) both; animation-delay: calc(var(--d) * .55s + .2s);
}
.dw-wa__msg::before { content: ""; position: absolute; left: -7px; top: 0; border: 7px solid transparent; border-top-color: #fff; border-right-color: #fff; border-width: 0 7px 9px 0; }
.dw-wa__cta { text-align: center; padding-top: 6px; animation: dw-msg .35s var(--ease) both; animation-delay: calc(var(--d) * .55s + .2s); }
.dw-wa__cta .dw-wa__note { color: #54656F; }
@keyframes dw-msg { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---- WhatsApp: card (P2) ---- */
.dw-wa--card { display: flex; gap: 16px; padding: 20px; background: #EFF8F2; border: 1px solid #CDE9D6; }
.dw-wa__ico { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: #128C4A; color: #fff; }
.dw-wa__main { flex: 1; min-width: 0; }
.dw-wa__title { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--ink); margin: 0 0 8px; }
.dw-wa--card ul { list-style: none; margin: 0 0 14px; padding: 0; font-size: 15.5px; color: var(--ink-2); }
.dw-wa--card li { position: relative; padding-left: 24px; margin: 0 0 6px; }
.dw-wa--card li::before { content: "✓"; position: absolute; left: 0; color: #128C4A; font-weight: 800; }

/* ---- WhatsApp: banner (P3) ---- */
.dw-wa--banner { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 20px 22px; background: linear-gradient(120deg, #0B6B4F, #128C4A); color: #fff; }
.dw-wa--banner .dw-wa__ico { background: rgba(255,255,255,.16); }
.dw-wa--banner .dw-wa__title { color: #fff; margin-bottom: 2px; }
.dw-wa__sub { margin: 0; opacity: .9; font-size: 15px; }
.dw-wa--banner .dw-wa__btn { background: #fff; color: #0B6B4F; box-shadow: none; flex: none; }
.dw-wa--banner .dw-wa__btn:hover { background: #F1FFF6; color: #0B6B4F; }

.dw-retake { text-align: center; margin: 36px 0 8px; }

@media (max-width: 600px) {
	.dw-funnel { padding-top: 16px; }
	.dw-quiz, .dw-next { padding: 22px 16px 18px; border-radius: 20px; margin-left: -4px; margin-right: -4px; }
	.dw-opt { min-height: 60px; font-size: 17px; padding: 12px 14px; gap: 12px; }
	.dw-opt__ico { width: 38px; height: 38px; }
	.dw-prose--hook p { font-size: 18px; }
	.dw-wa--card { flex-direction: column; }
	.dw-wa--banner { flex-direction: column; text-align: center; }
	.dw-wa__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .dw-wa__msg, .dw-wa__cta { animation: none; } }
