/* =========================================================================
   Aromatic — theme.css
   Identidade da marca: VERMELHO (#d81f26) + CARVÃO + branco/creme
   Tipografia: Fraunces (títulos) + Inter (texto)
   ========================================================================= */

:root {
	--brand:        #d81f26;
	--brand-dark:   #b0151b;
	--brand-soft:   #fdecec;
	--ink:          #28262b;
	--ink-soft:     #6c6770;
	--charcoal:     #221f24;
	--bg:           #ffffff;
	--bg-alt:       #f7f3ec;
	--cream:        #faf7f1;
	--line:         #ece5da;
	--white:        #ffffff;

	--radius:       16px;
	--radius-sm:    10px;
	--shadow:       0 8px 30px rgba(34, 31, 36, .07);
	--shadow-lg:    0 18px 50px rgba(34, 31, 36, .13);
	--container:    1180px;
	--font-head:    "Fraunces", Georgia, "Times New Roman", serif;
	--font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--transition:   .25s ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Botões ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .5em;
	font-family: var(--font-body); font-weight: 600; font-size: .98rem;
	padding: .72em 1.5em; border-radius: 999px; border: 2px solid transparent;
	cursor: pointer; transition: all var(--transition); line-height: 1; text-align: center;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--shop { background: var(--ink); color: #fff; }
.btn--shop:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.btn--lg { font-size: 1.05rem; padding: .9em 1.8em; }

/* ---------- Cabeçalho ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(140%) blur(8px);
	border-top: 4px solid var(--brand);
	border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(34, 31, 36, .08); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.site-branding { flex: 0 0 auto; margin-right: auto; }
.custom-logo, .site-branding img { max-height: 54px; width: auto; }
.site-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.primary-menu a { color: var(--ink); font-weight: 500; padding: 6px 0; position: relative; }
.primary-menu a:hover { color: var(--brand); }
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a { color: var(--brand); }
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brand); border-radius: 2px;
}
.primary-menu > li { position: relative; }

/* submenu */
.primary-menu ul.sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 200px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
	box-shadow: var(--shadow); padding: 8px; flex-direction: column; gap: 0;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--transition);
}
.primary-menu li:hover > ul.sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-menu ul.sub-menu a { padding: 8px 12px; border-radius: 6px; display: block; }
.primary-menu ul.sub-menu a:hover { background: var(--brand-soft); color: var(--brand); }

.nav-shop { margin-left: 4px; }

/* ---------- Seletor de línguas ---------- */
.arml-switcher { list-style: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.arml-switcher__item a,
.arml-switcher__item span { display: inline-flex; align-items: center; gap: 6px; }
.arml-flag {
	width: 28px; height: 20px; border-radius: 3px; object-fit: cover;
	box-shadow: 0 0 0 1px rgba(0,0,0,.08); transition: transform var(--transition), opacity var(--transition);
}
.arml-switcher__item.is-active .arml-flag { opacity: .4; }
.arml-switcher__item a:hover .arml-flag { transform: scale(1.08); }
.arml-lang-name { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Toggle mobile ---------- */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle__bars { display: block; width: 26px; height: 18px; position: relative; }
.nav-toggle__bars span {
	position: absolute; left: 0; width: 100%; height: 2.5px; background: var(--ink); border-radius: 2px;
	transition: all var(--transition);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 8px; }
.nav-toggle__bars span:nth-child(3) { top: 16px; }
body.nav-open .nav-toggle__bars span:nth-child(1) { top: 8px; transform: rotate(45deg); background: var(--brand); }
body.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bars span:nth-child(3) { top: 8px; transform: rotate(-45deg); background: var(--brand); }

/* =========================================================================
   SPLASH (escolha de língua) — claro, para o logótipo ler bem
   ========================================================================= */
body.arml-splash { background: #20281a; }
.splash {
	position: relative;
	min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center;
	padding: 48px 24px; color: var(--ink);
	background-color: #20281a;
	background-image:
		linear-gradient(180deg, rgba(28,36,20,.42) 0%, rgba(16,22,11,.66) 100%),
		var(--splash-bg, linear-gradient(180deg, #3c4a2b, #232d18));
	background-size: cover; background-position: center; background-repeat: no-repeat;
}
.splash::before {
	content: ""; position: fixed; top: 0; left: 0; right: 0; height: 5px; background: var(--brand); z-index: 2;
}
.splash__inner {
	position: relative; z-index: 1;
	width: 100%; max-width: 680px; text-align: center;
	background: rgba(250, 247, 241, .9);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
	backdrop-filter: blur(16px) saturate(150%);
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 26px;
	padding: 52px 48px;
	box-shadow: 0 36px 90px rgba(14, 20, 9, .5);
}
.splash__brand { margin-bottom: 26px; }
.splash__brand img { margin: 0 auto 12px; max-height: 96px; width: auto; }
.splash__name { font-family: var(--font-head); font-size: 2.4rem; font-weight: 600; display: block; color: var(--brand); }
.splash__tagline { color: var(--ink-soft); font-size: .95rem; letter-spacing: .02em; margin: 0; }

.splash__heading {
	font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 500; color: var(--ink);
	margin: 0 0 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.splash__sep { color: var(--brand); }

.splash__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.splash__choice {
	display: flex; flex-direction: column; align-items: center; gap: 14px;
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius); padding: 34px 24px; color: var(--ink);
	transition: all var(--transition); box-shadow: var(--shadow);
}
.splash__choice:hover {
	color: var(--ink); transform: translateY(-4px);
	border-color: var(--brand); box-shadow: var(--shadow-lg);
}
.splash__flag img {
	width: 120px; height: 80px; border-radius: 10px; object-fit: cover;
	box-shadow: 0 8px 24px rgba(34,31,36,.18);
}
.splash__choice-name { font-family: var(--font-head); font-size: 1.5rem; }
.splash__choice-cta { font-weight: 700; color: var(--brand); font-size: .95rem; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
	background:
		radial-gradient(900px 520px at 92% -22%, rgba(216,31,38,.08), transparent 62%),
		linear-gradient(180deg, var(--bg) 0%, var(--cream) 100%);
	border-bottom: 1px solid var(--line);
}
.hero__inner { padding: 76px 24px 84px; }
.hero__text { max-width: 720px; }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -.01em; margin-bottom: .35em; }
.hero__lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* =========================================================================
   SECÇÕES
   ========================================================================= */
.section { padding: 76px 0; }
.section--ranges { background: var(--bg); }
.section--featured { background: var(--bg-alt); }
.section--news { background: var(--bg); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.section__title::after {
	content: ""; display: block; width: 54px; height: 3px; border-radius: 3px;
	background: var(--brand); margin: 16px auto 0;
}
.section__sub { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }
.section__more { text-align: center; margin-top: 46px; }

/* ---------- Gamas ---------- */
.ranges-grid {
	display: grid; gap: 26px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.range-card {
	display: flex; flex-direction: column; background: var(--white);
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); transition: all var(--transition); color: var(--ink);
}
.range-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--ink); }
.range-card__media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.range-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.range-card:hover .range-card__media img { transform: scale(1.06); }
.range-card__placeholder { display: block; width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--brand-soft), var(--bg-alt)); }
.range-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.range-card__title { font-family: var(--font-head); font-size: 1.35rem; }
.range-card__desc { color: var(--ink-soft); font-size: .96rem; }
.range-card__cta { margin-top: auto; color: var(--brand); font-weight: 700; font-size: .92rem; }

/* ---------- Produtos ---------- */
.product-grid {
	display: grid; gap: 26px;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.product-card {
	display: flex; flex-direction: column; background: var(--white);
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: all var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card__media { display: block; aspect-ratio: 1/1; background: var(--bg-alt); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__placeholder { display: block; width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--brand-soft), var(--bg-alt)); }
.product-card__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__gama {
	font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
	font-weight: 700; color: var(--brand);
}
.product-card__title { font-family: var(--font-head); font-size: 1.18rem; margin: 0; }
.product-card__title a { color: var(--ink); }
.product-card__title a:hover { color: var(--brand); }
.product-card__excerpt { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.product-card__link { margin-top: auto; color: var(--brand); font-weight: 700; font-size: .88rem; }

/* ---------- CTA loja ---------- */
.section--shop { background: var(--charcoal); }
.shop-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.shop-cta__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .3em; }
.shop-cta__lead { color: rgba(255,255,255,.78); margin: 0; max-width: 52ch; }
.section--shop .btn--shop { background: var(--brand); }
.section--shop .btn--shop:hover { background: #fff; color: var(--brand); }

/* =========================================================================
   PÁGINAS / ARQUIVOS
   ========================================================================= */
.page-wrap { padding-block: 56px 76px; }
.page-header { text-align: center; margin-bottom: 40px; }
.page-title { font-size: clamp(2rem, 4vw, 2.8rem); }
.archive-description { color: var(--ink-soft); max-width: 60ch; margin: 0 auto; }

.page-single { max-width: 820px; }
.page-featured { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.entry-content { font-size: 1.06rem; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius-sm); margin: 1em 0; }
.entry-content a { color: var(--brand); text-decoration: underline; }

/* filtro de gamas */
.gama-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.gama-filter__item {
	padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
	background: #fff; color: var(--ink); font-weight: 500; font-size: .92rem;
}
.gama-filter__item:hover { border-color: var(--brand); color: var(--brand); }
.gama-filter__item.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Single produto ---------- */
.breadcrumb { font-size: .9rem; color: var(--ink-soft); margin-bottom: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--brand); }

.produto__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.produto__media {
	border-radius: var(--radius); overflow: hidden; background: var(--bg-alt);
	box-shadow: var(--shadow); position: sticky; top: 100px;
}
.produto__placeholder { display: block; width: 100%; aspect-ratio: 1/1;
	background: linear-gradient(135deg, var(--brand-soft), var(--bg-alt)); }
.produto__gama { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; }
.produto__gama a { color: var(--brand); }
.produto__title { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: .1em 0 .5em; }
.produto__content { font-size: 1.06rem; color: var(--ink); }
.produto__actions { margin: 28px 0; }
.produto__back { margin-top: 18px; font-size: .95rem; }
.produto__back a { color: var(--brand); }

.section--related { margin-top: 76px; padding-top: 48px; border-top: 1px solid var(--line); }

/* ---------- Paginação ---------- */
.pagination, .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
	padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand); }

.no-results { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* ---------- Posts (blog/novidades) ---------- */
.post-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	display: flex; flex-direction: column; transition: all var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 1.3rem; margin: 0; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--brand); }
.card__excerpt { color: var(--ink-soft); font-size: .96rem; }
.card__link { margin-top: auto; font-weight: 700; color: var(--brand); }

/* =========================================================================
   RODAPÉ
   ========================================================================= */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.72); margin-top: auto; }
.site-footer__inner {
	display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 56px 24px 40px;
}
.site-footer__name { font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.site-footer .custom-logo, .site-footer img { max-height: 50px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.site-footer__tagline { margin: 12px 0 0; font-size: .92rem; }
.site-footer__nav .menu { flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer__nav a, .social-menu a { color: rgba(255,255,255,.72); font-size: .95rem; }
.site-footer__nav a:hover, .social-menu a:hover { color: #fff; }
.site-footer__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.site-footer .arml-switcher { gap: 14px; }
.site-footer .arml-lang-name { color: rgba(255,255,255,.72); }
.social-menu .menu { gap: 16px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__bottom p { margin: 0; padding: 18px 0; font-size: .85rem; text-align: center; color: rgba(255,255,255,.55); }
.site-footer__bottom a { color: rgba(255,255,255,.78); }

/* =========================================================================
   RESPONSIVO
   ========================================================================= */
@media (max-width: 920px) {
	.produto__layout { grid-template-columns: 1fr; gap: 28px; }
	.produto__media { position: static; max-width: 480px; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	body { font-size: 16px; }
	.nav-toggle { display: block; }

	.site-nav {
		position: fixed; inset: 80px 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--bg); border-bottom: 1px solid var(--line);
		padding: 12px 24px 24px; box-shadow: var(--shadow-lg);
		transform: translateY(-130%); transition: transform .3s ease; visibility: hidden;
	}
	body.nav-open .site-nav { transform: translateY(0); visibility: visible; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-menu > li { border-bottom: 1px solid var(--line); }
	.primary-menu a { display: block; padding: 14px 0; }
	.primary-menu ul.sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
		border: 0; padding: 0 0 8px 14px;
	}
	.nav-shop { margin: 16px 0 6px; justify-content: center; }
	.site-nav__lang { padding-top: 12px; }

	.splash__inner { padding: 34px 22px; border-radius: 20px; }
	.splash__choices { grid-template-columns: 1fr; }
	.section { padding: 56px 0; }
	.hero__inner { padding: 52px 24px 56px; }
	.shop-cta { flex-direction: column; align-items: flex-start; }
	.site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}
