/* /css/link112-luxury.css */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

:root {
	--bg: #f7f7f7;
	--surface: #FCFBF7;
	--ink: #111310;
	--muted: #646860;
	--line: #DCDED4;
	--accent: #CFFF00;
	/* Verde Lima Editorial */
	--error: #9C352A;

	--blue: #315DFF;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 14px/1.6 "Source Sans 3", sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* Tipografia & Reset */
h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-family: "Source Sans 3", sans-serif;
	font-weight: 400;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

button,
input,
select {
	font: inherit;
}

button,
a,
input,
select {
	-webkit-tap-highlight-color: transparent;
}

button {
	cursor: pointer;
	border: none;
	background: none;
}

button:disabled {
	cursor: default;
	opacity: .5;
}

::selection {
	background: var(--accent);
	color: var(--ink);
}

:focus-visible {
	outline: 0;
}

html {
	scroll-behavior: smooth;
}

/* Layout Base */
header,
main,
footer {
	max-width: 1320px;
	margin: auto;
	padding-inline: 48px;
}

/* Header */
header {
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
}

.brand {
	font-size: 27px;
	font-weight: 700;
	letter-spacing: -1.5px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.brand span {
	background: var(--accent);
	width: 9px;
	height: 9px;
	border-radius: 50%;
	margin-top: 9px;
}

nav {
	display: flex;
	gap: 30px;
	font-size: 12px;
	font-weight: 400;
}

nav a:hover,
footer a:hover {
	text-decoration: underline;
}

/* Hero Section */
.hero {
	padding: 35px 0;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 65px;
	align-items: end;
}

.intro {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--muted);
	margin: 0 0 16px;
	font-weight: 600;
}

h1 {
	font-size: 44px;
    line-height: 1;
	letter-spacing: -1.9px;
	margin-bottom: 16px;
}

h1 em {
	font-weight: 400;
	font-style: italic;
}

.hero p:last-child {
	color: var(--muted);
	margin-bottom: 0;
	font-size: 14px;
}

/* Search Box */
.searchbox {
	position: relative;
}

.searchbox svg {
	position: absolute;
	left: 18px;
	top: 14px;
	width: 20px;
	height: 20px;
	color: var(--muted);
}

.searchbox input {
	width: 100%;
	height: 47px;
	border: 1px solid #BFC2B7;
	background: var(--surface);
	border-radius: 4px;
	padding: 0 10px 0 50px;
	color: var(--ink);
	outline-offset: 3px;
	transition: border-color 0.2s;
	margin-bottom: 10px;
}

.searchbox input:focus {
	border-color: var(--ink);
}

.searchbox input::placeholder {
	color: var(--muted);
}

.search-note {
	font-size: 12px;
	color: var(--muted);
	margin: 9px 0 3px;
}

.clear {
	position: absolute;
	right: 12px;
	top: 15px;
	background: none;
	border: 0;
	padding: 4px;
	color: var(--muted);
}

.clear:hover {
	color: var(--ink);
}

/* Web Search Widget */
.web-search {
	width: 100%;
	flex-shrink: 0;
}

.web-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	gap: 12px;
}

.web-options label {
	font-size: 12px;
	color: var(--muted);
}

.web-options select {
	padding: 5px 28px 5px 10px;
	font-size: 13px;
	max-width: 170px;
	border-radius: 4px;
    border: 1px solid #BFC2B7;
}

.web-field {
	display: flex;
	gap: 8px;
}

.web-field .search {
	width: auto;
	flex: 1;
	min-width: 0;
}

.web-field .primary {
	background: var(--muted);
	color: #fff;
	font-weight: 500;
	padding: 10px 13px;
	border-radius: 5px;
	border: 1px solid var(--muted);
}

.web-field .primary:hover {
	background: #373E2D;
}

/* Search Box */
.web-search .search {
	position: relative;
	width: 310px;
	flex-shrink: 0;
}

.web-search .search svg {
	position: absolute;
	left: 15px;
	top: 14px;
	color: var(--muted);
}

.web-search .search input {
	width: 100%;
	padding: 0 10px 0 43px;
	height: 48px;
	font-size: 14px;
	border-radius: 4px;
	border: 1px solid #BFC2B7;
}

.web-search .search input:focus {
	border-color: var(--ink);
}

/* Icons Global */
svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: middle;
}

/* Daily Essentials */
.daily {

	margin-top: 40px;
}

.sectionhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.heading {
	display: flex;
	align-items: center;
	gap: 15px;
}

.number {
	font-size: 10px;
	color: var(--muted);
	font-weight: 500;
}

.heading h2 {
	font: 30px/1.15 'Source Sans 3', sans-serif;
	margin: 0;
	letter-spacing: -.3px;
}

.tag {
	font-size: 9px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 600;
}

.daily-links {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	background: var(--surface);
	border: 1px solid var(--line);
	padding: 0;
}

.daily-link {
	padding: 20px 20px;
	border-right: 1px solid var(--line);
	display: flex;
	flex-direction: initial;
	align-items: center;
	gap: 10px;
	transition: background .3s;
}

.daily-link:first-child {
	/*border: 0; padding-left: 0;*/
}

.daily-link:last-child {
	/*padding-right: 0;*/
	border: 0;
}

.favicon {
	width: 22px;
	height: 22px;
	object-fit: contain;
	border-radius: 3px;
	flex-shrink: 0;
}

.daily-link strong {
	font-size: 12px;
	font-weight: 600;
}

.daily-link small {
	display: block;
	color: var(--muted);
	font-size: 10px;
	margin-top: 2px;
}

.daily-link:hover {
	text-decoration: none;
	background-color: #f2f1ef;
}

/* Favorites Section */
.favorites {
	padding: 38px 0;
	border-bottom: 1px solid var(--line);
	scroll-margin-top: 24px;
}

.pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 17px;
	border: 1px solid var(--ink);
	border-radius: 5px;
	background: transparent;
	color: var(--ink);
	font-size: 12px;
	font-weight: 600;
	transition: background .3s, color .3s;
}

.pill:hover {
	background: #E5E7DB;
}

.pill.primary {
	background: var(--muted);
	color: var(--surface);
	border: 1px solid var(--muted);
}

.pill.primary:hover {
	background: #373E2D;
}

.empty {
	border: 1px dashed #C8CBBF;
	min-height: 107px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	padding: 23px 28px;
	background: var(--surface);
}

.empty strong {
	font-weight: 500;
	font-size: 13px;
	display: block;
	margin-bottom: 5px;
}

.empty p {
	font-size: 11px;
	color: var(--muted);
	margin: 0;
}

.empty-mark {
	font: 44px 'Source Sans 3', sans-serif;
	color: #8A907F;
	font-style: italic;
}

.privacy-note {
	font-size: 10px;
	color: var(--muted);
	margin: 12px 0 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.privacy-note svg {
	width: 12px;
	height: 12px;
}

/* Directory & Categories */
.directory {
	padding: 30px 0;
}

.directory .sectionhead {
	margin-bottom: 24px;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 29px;
}

.filter {
	font-size: 11px;
	border: 1px solid var(--line);
	background: transparent;
	padding: 7px 15px;
	border-radius: 5px;
	color: var(--muted);
	transition: all 0.2s;
}

.filter:hover {
	border-color: #929889;
	color: var(--ink);
}

.filter[aria-pressed="true"] {
	background: var(--accent);
    border-color: var(--muted);
	color: var(--muted);
	font-weight: 600;
}

.category-grid {
	column-count: 3;
	column-gap: 22px;
}

.category {
	padding: 16px 16px 6px;
	background: var(--surface);
	break-inside: avoid;
	margin-bottom: 30px;
	min-width: 0;
	border: 1px solid #dedfd2;
	border-radius: 8px;
	overflow: hidden;
}

.category-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 13px;
}

.category h3 {
	font-size: 15px;
	font-weight: 600;
	margin: 0;
}

.category-title span {
	color: #777F6B;
	font-size: 20px;
	font-weight: 100;
}

.site {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 12px;
	padding: 10px 8px;
	margin-right: 45px;
	/*    margin: 0 -8px;*/
	border-radius: 3px;
	transition: background .3s;
}

.site:hover {
	background: #f2f1ef;
}

.site .favicon {
	width: 19px;
	height: 19px;
}

.site-text {
	flex: 1;
	min-width: 0;
}

.site strong {
	font-size: 14px;
	font-weight: 500;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.site small {
	font-size: 12px;
	color: var(--muted);
	display: block;
	margin-top: 2px;
}

.site>.arrow {
	width: 13px;
	height: 13px;
	color: #8B9281;
	opacity: 0;
	transition: opacity .3s;
}

.site:hover>.arrow {
	opacity: 1;
}

/* Favorite Grid Specifics */
.favorite-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.favorite-item {
	display: flex;
	align-items: center;
	border: 1px solid var(--line);
	background: var(--surface);
	padding: 5px 45px 5px 12px;
	border-radius: 4px;
}

.favorite-item .site {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding-right: 6px;
}

.remove {
	padding: 6px;
	border: 0;
	background: transparent;
	color: var(--muted);
	border-radius: 50%;
}

.remove:hover {
	color: #963D30;
	background: #F1E7DF;
}

.remove svg {
	width: 14px;
	height: 14px;
}

/* Footer */
footer {
	border-top: 1px solid var(--line);
	padding-block: 25px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--muted);
	font-size: 12px;
}

.footer-left {
	display: flex;
	gap: 20px;
	align-items: center;
}

.footer-logo {
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
	letter-spacing: -.7px;
}

footer nav {
	font-size: 12px;
	gap: 22px;
	display: flex;
}

/* Modal */
dialog {
	width: min(460px, calc(100% - 32px));
	background: var(--surface);
	color: var(--ink);
	border: 1px solid var(--line);
	padding: 30px;
	border-radius: 5px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

dialog::backdrop {
	background: #11131066;
	backdrop-filter: blur(3px);
}

dialog h2 {
	font: 36px 'Source Sans 3', sans-serif;
	margin-bottom: 7px;
}

dialog p {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.6;
}

label {
	display: block;
	font-size: 12px;
	margin: 20px 0 6px;
	font-weight: 600;
}

dialog input {
	width: 100%;
	padding: 12px;
	border: 1px solid #BFC2B7;
	border-radius: 3px;
	background: var(--bg);
	color: var(--ink);
	outline: none;
}

dialog input:focus {
	border-color: var(--ink);
}

.actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 25px;
}

.error {
	color: var(--error);
	font-size: 12px;
	margin: 10px 0 0;
	min-height: 18px;
}

.no-results {
	padding: 25px 0;
	color: var(--muted);
	font-size: 13px;
	text-align: center;
	font-style: italic;
}

[hidden] {
	display: none !important;
}

/* Responsividade */
@media(min-width: 1450px) {

	h1 {
		font-size: 44px;
	}
}

@media(max-width: 900px) {

	header,
	main,
	footer {
		padding-inline: 28px;
	}

    .hero {
        grid-template-columns: 1fr;
        padding: 34px 0 28px;
        gap: 15px;
    }

	h1 {
		font-size: 44px;
	}

	.daily-links {
		grid-template-columns: repeat(3, 1fr);
		gap: 0;
	}

	.daily-link:nth-child(3) {
		border-right: 0;
	}

	.daily-link:nth-child(-n+3) {
		border-bottom: 1px solid var(--line);
	}

	.category-grid {

		column-count: 2;

	}

	.favorite-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media(max-width: 600px) {

	header,
	main,
	footer {
		padding-inline: 20px;
	}

	header {
	}

	header nav {
		gap: 18px;
		font-size: 10px;
	}

	.brand {
		font-size: 24px;
	}
    
    .hero {
        grid-template-columns: 1fr;
        padding: 34px 0 28px;
        gap: 15px;
    }

	h1 {
		font-size: 44px;
	}

	.intro {
		font-size: 9px;
	}

	.daily {
		padding: 21px 17px;
		margin-top: 28px;
	}

	.heading {
		gap: 10px;
	}

	.heading h2 {
		font-size: 26px;
	}

	.tag {
		display: none;
	}

	.daily-link {
		padding-inline: 12px;
	}

	.daily-link strong {
		font-size: 11px;
	}

	.daily-link small {
		font-size: 9px;
	}

	.daily-links {
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
	}

	.daily-link:nth-child(2) {
		border-right: 0;
	}

	.daily-link:nth-child(3) {
		border-right: 1px solid var(--line);
	}

	.daily-link:nth-child(4) {
		border-right: 0;
	}

	.daily-link:nth-child(-n+4) {
		border-bottom: 1px solid var(--line);
	}

	.sectionhead {
		gap: 10px;
	}

	.pill {
		padding: 9px 12px;
		font-size: 10px;
	}

	.favorites {
		padding-block: 28px;
	}

	.empty {
		padding: 20px;
		gap: 15px;
	}

	.empty p {
		max-width: 240px;
	}

	.category-grid {
		column-count: 1;
		/* Uma única coluna em mobile */
		gap: 26px 24px;
	}

	.category {
		padding-inline: 10px;
	}

	.site {
		gap: 9px;
	}

	.site small {
		font-size: 9px;
	}

	.category h3 {
		font-size: 12px;
	}

	.directory {
		padding-top: 28px;
		padding-bottom: 35px;
	}

	.filters {
		gap: 6px;
	}

	.filter {
		font-size: 10px;
		padding: 6px 11px;
	}

	.favorite-grid {
		grid-template-columns: 1fr;
	}

	footer {
		align-items: flex-start;
		gap: 24px;
		flex-direction: column;
	}

	.footer-left {
		gap: 15px;
	}

	.site>.arrow {
		display: none;
	}
}

@media(prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition: none !important;
	}
}


/* Bookmark Button Styles */
.site-card {
	position: relative;
	display: flex;
	align-items: center;
}

.bookmark-btn {
	position: absolute;
	right: 0px;
	top: 10px;
	top: 50%;
	/* Centralizar verticalmente se preferir, ou manter top: 10px */
	transform: translateY(-50%);
	/* Se usar top: 50% */
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: var(--muted);

	transition: all 0.2s ease;
	z-index: 2;
}

.site-card:hover .bookmark-btn,
.bookmark-btn.saved {
	opacity: 1;
}

.bookmark-btn:hover {
	color: var(--ink);

}

.bookmark-btn.saved {
	color: var(--accent);
	/* Ou a cor que preferir para o estado ativo */
	fill: #CFFF00;
}

.bookmark-btn svg {
	width: 16px;
	height: 16px;
	stroke: #717b48;
	stroke-width: 2;
	fill: none;
}

.bookmark-btn.saved svg {
	fill: #CFFF00;
}

.favorite-item .bookmark-btn {
	right: 10px;
}

.favicon {
	width: 24px;
	height: 24px;
	object-fit: contain;
	border-radius: 4px;
	background-color: #f0f0f0;
	/* Cor de fundo enquanto carrega */
	transition: opacity 0.3s;
}

/* Toast Notification */
.toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--ink);
	color: var(--surface);
	padding: 12px 20px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 400;
	z-index: 1000;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: opacity 0.3s ease, visibility 0.3s;
}

.toast[hidden] {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.ad-slot-top {
    max-width: 1200px;
    margin: 30px auto 0 auto;
    text-align: center;
    min-height: 90px;
}

.ad-slot-bottom {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    text-align: center;
    min-height: 90px;
}
