/* ===== Ardea Decor — site conceito (mosaico + linktree) ===== */
:root {
  --cream:    #f4eee2;
  --cream-2:  #e7e1d8;
  --grey:     #b5b0a6;
  --dourado:  #c8a46a;
  --dourado-d:#b08f53;
  --carvao:   #2e2a27;
  --carvao-2: #4b4b4b;
  --maxw: 1180px;
  --gap: 14px;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--carvao);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dourado-d); margin-bottom: 12px;
}

/* ===== Logo (máscara recolorível via currentColor) ===== */
.logo {
  display: inline-block;
  aspect-ratio: 230 / 253;
  background-color: currentColor;
  -webkit-mask: url("img/logo.png") center / contain no-repeat;
          mask: url("img/logo.png") center / contain no-repeat;
  flex-shrink: 0;
}
.brand-logo { height: 26px; }
.hero-logo  { display: block; height: 92px; margin: 0 auto 22px; color: var(--carvao); }
.cta-logo   { display: block; height: 60px; margin: 0 auto 20px; color: var(--dourado); }
.foot-logo  { display: block; height: 34px; margin: 0 auto 12px; color: var(--carvao-2); opacity: .8; }

/* ===== Barra topo ===== */
.bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,238,226,0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46,42,39,0.08);
}
.bar-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif; font-weight: 600;
  font-size: 18px; letter-spacing: 0.2em; color: var(--carvao); text-decoration: none;
}
.bar-shop { font-size: 14px; color: var(--carvao); text-decoration: none; letter-spacing: 0.04em; opacity: .85; }
.bar-shop:hover { color: var(--dourado-d); opacity: 1; }

/* ===== Hero / Linktree ===== */
.hero { padding: 80px 24px 70px; text-align: center; }
.hero-inner { max-width: 460px; margin: 0 auto; }
.hero-title {
  font-family: 'Playfair Display', serif; font-weight: 500;
  font-size: 64px; letter-spacing: -0.01em; line-height: 1; margin-bottom: 18px;
}
.hero-lead { color: var(--carvao-2); font-size: 17px; margin-bottom: 34px; }

.links { display: flex; flex-direction: column; gap: 12px; }
.link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-radius: 100px; text-decoration: none;
  font-weight: 500; font-size: 16px; letter-spacing: 0.01em;
  border: 1px solid rgba(46,42,39,0.2); color: var(--carvao);
  background: rgba(255,255,255,0.4);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.link:hover { transform: translateY(-2px); }
.link .link-ico { opacity: .6; font-size: 15px; }
.link-primary { background: var(--carvao); color: var(--cream); border-color: var(--carvao); }
.link-primary:hover { background: var(--dourado-d); border-color: var(--dourado-d); }
.link-primary .link-ico { opacity: .9; }
.link:not(.link-primary):hover { border-color: var(--dourado-d); color: var(--dourado-d); }
.link-soft { background: transparent; }

/* ===== Seções de coleção ===== */
.cat { max-width: var(--maxw); margin: 0 auto; padding: 22px 24px 30px; }
.cat-head { text-align: center; margin: 26px 0 22px; }
.cat-head h2 {
  font-family: 'Playfair Display', serif; font-weight: 500;
  font-size: 34px; letter-spacing: -0.01em;
}

/* ===== Mosaico ===== */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 218px;
  gap: var(--gap);
  grid-auto-flow: dense;
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--cream-2);
}
.tile.sm   {}
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile.lg   { grid-column: span 2; grid-row: span 2; }

/* tiles de imagem */
.tile.img { cursor: pointer; display: block; }
.tile.img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.tile.img:hover img { transform: scale(1.05); }
.symbol-tip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--cream);
  background: rgba(46,42,39,0.72);
  border: 1px solid rgba(244,238,226,0.72);
  box-shadow: 0 8px 20px rgba(46,42,39,0.22);
  backdrop-filter: blur(8px);
  cursor: help;
}
.symbol-tip-icon {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1;
}
.symbol-tip-text {
  position: absolute;
  top: 42px;
  right: 0;
  width: min(260px, calc(100vw - 48px));
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(46,42,39,0.94);
  color: var(--cream);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0;
  box-shadow: 0 14px 34px rgba(46,42,39,0.28);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.symbol-tip:hover .symbol-tip-text,
.symbol-tip:focus .symbol-tip-text,
.symbol-tip.is-open .symbol-tip-text {
  opacity: 1;
  transform: translateY(0);
}
.symbol-tip:focus-visible {
  outline: 2px solid var(--dourado);
  outline-offset: 3px;
}
.tile-ov {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; gap: 5px;
  background: linear-gradient(to top, rgba(46,42,39,0.82) 0%, rgba(46,42,39,0.15) 45%, rgba(46,42,39,0) 70%);
  opacity: 0; transition: opacity .28s ease;
}
.tile.img:hover .tile-ov { opacity: 1; }
.tile-name { font-family: 'Playfair Display', serif; font-weight: 500; color: var(--cream); font-size: 21px; line-height: 1.15; }
.tile-cta {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dourado);
}

/* tiles de cor */
.tile.color { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; }
.c-cream   { background: var(--cream-2); }
.c-dourado { background: var(--dourado); }
.c-carvao  { background: var(--carvao); }
.c-grey    { background: var(--grey); }
.ct-word {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 500;
  font-size: 26px; line-height: 1.1; color: var(--carvao);
}
.c-carvao  .ct-word { color: var(--dourado); }
.c-dourado .ct-word { color: var(--carvao); }
.c-grey    .ct-word { color: #fff; }

/* ===== CTA final ===== */
.cta-final { background: var(--carvao); color: var(--cream); padding: 86px 24px; text-align: center; margin-top: 40px; }
.cta-final .eyebrow { color: var(--dourado); }
.cta-final .cta-title { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 40px; margin-bottom: 32px; }
.cta-final .link { background: rgba(255,255,255,0.06); border-color: rgba(244,238,226,0.28); color: var(--cream); }
.cta-final .link:not(.link-primary):hover { border-color: var(--dourado); color: var(--dourado); }
.cta-final .link-primary { background: var(--dourado); color: var(--carvao); border-color: var(--dourado); }
.cta-final .link-primary:hover { background: #d8b67e; }

/* ===== Rodapé ===== */
.foot { background: var(--cream-2); padding: 28px 0; text-align: center; font-size: 13px; color: var(--carvao-2); }

/* ===== Responsivo ===== */

/* Tablet largo — 3 colunas */
@media (max-width: 1024px) {
  .mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}

/* Tablet estreito / phablet */
@media (max-width: 820px) {
  .hero { padding: 60px 22px 54px; }
  .hero-title { font-size: 52px; }
  .cat { padding: 18px 18px 26px; }
  .cat-head h2 { font-size: 30px; }
  .mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 178px; gap: 12px; }
  .symbol-tip-text { width: 174px; }
  .ct-word { font-size: 22px; }
}

/* Celular — 2 colunas, layout simplificado e sem buracos */
@media (max-width: 620px) {
  .hero { padding: 48px 20px 44px; }
  .hero-title { font-size: 46px; }
  .hero-lead { font-size: 16px; }
  .cat-head h2 { font-size: 27px; }
  .cta-final .cta-title { font-size: 30px; }

  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 168px; gap: 10px; }
  /* só o tile-destaque mantém 2x2; demais viram 1x1 ou faixa cheia → grid alinhado */
  .tile.lg   { grid-column: span 2; grid-row: span 2; }
  .tile.wide { grid-column: span 2; grid-row: span 1; }
  .tile.tall { grid-column: span 1; grid-row: span 1; }

  /* sem hover no toque: nome e preço sempre visíveis */
  .tile.img .tile-ov {
    opacity: 1;
    background: linear-gradient(to top, rgba(46,42,39,0.80) 0%, rgba(46,42,39,0.10) 52%, rgba(46,42,39,0) 72%);
    padding: 12px;
  }
  .tile.img:has(.symbol-tip.is-open) .tile-ov { opacity: 0; }
  .symbol-tip {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }
  .symbol-tip-text {
    top: 38px;
    width: 150px;
    padding: 10px 12px;
    font-size: 10.5px;
  }
  .tile-name { font-size: 16px; }
  .tile-cta  { font-size: 9px; letter-spacing: 0.06em; }
  .ct-word   { font-size: 20px; }
}

/* Celular pequeno */
@media (max-width: 400px) {
  .mosaic { grid-auto-rows: 150px; gap: 8px; }
  .hero-title { font-size: 42px; }
}

/* ===== Navegação (multi-página) ===== */
.topnav { display: flex; gap: 26px; }
.topnav a {
  font-size: 14px; color: var(--carvao); text-decoration: none;
  letter-spacing: 0.02em; opacity: .82; transition: opacity .15s, color .15s;
}
.topnav a:hover, .topnav a[aria-current="page"] { opacity: 1; color: var(--dourado-d); }
@media (max-width: 820px) { .topnav { display: none; } }

/* hero de página de categoria */
.page-hero { padding: 60px 24px 6px; text-align: center; }
.page-hero .hero-title { font-size: 50px; margin-bottom: 14px; }
.page-hero .hero-lead { max-width: 540px; margin: 0 auto; color: var(--carvao-2); font-size: 17px; }
@media (max-width: 760px) { .page-hero { padding: 44px 20px 4px; } .page-hero .hero-title { font-size: 38px; } }

/* landing campanha - simbolos da casa */
.symbols-hero {
  max-width: var(--maxw);
  min-height: calc(100vh - 62px);
  margin: 0 auto;
  padding: 58px 24px 46px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 54px;
  align-items: center;
}
.symbols-copy h1,
.symbols-section-head h2,
.symbols-final h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}
.symbols-copy h1 {
  max-width: 560px;
  font-size: 70px;
  margin-bottom: 22px;
}
.symbols-copy p {
  max-width: 520px;
  color: var(--carvao-2);
  font-size: 18px;
}
.symbols-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.symbols-actions-center { justify-content: center; }
.symbol-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(46,42,39,.24);
  color: var(--carvao);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  background: rgba(255,255,255,.28);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.symbol-button:hover {
  transform: translateY(-2px);
  border-color: var(--dourado-d);
}
.symbol-button-primary {
  background: var(--carvao);
  border-color: var(--carvao);
  color: var(--cream);
}
.symbol-button-primary:hover {
  background: var(--dourado-d);
  border-color: var(--dourado-d);
}
.symbols-stage {
  position: relative;
  min-height: 560px;
}
.symbols-stage::before {
  content: "";
  position: absolute;
  inset: 34px 38px 42px 86px;
  border-radius: 8px;
  background: linear-gradient(140deg, rgba(200,164,106,.42), rgba(231,225,216,.88));
}
.symbols-stage img {
  position: absolute;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 44px rgba(46,42,39,.18);
}
.symbols-stage-main {
  right: 0;
  bottom: 0;
  width: 68%;
  height: 78%;
}
.symbols-stage-side {
  left: 0;
  width: 39%;
  height: 42%;
}
.symbols-stage-top { top: 0; }
.symbols-stage-bottom { bottom: 46px; }
.symbols-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 68px 24px 56px;
}
.symbols-section-head {
  max-width: 660px;
  margin-bottom: 30px;
}
.symbols-section-head h2,
.symbols-final h2 {
  font-size: 44px;
  margin-bottom: 14px;
}
.symbols-section-head p,
.symbols-final p {
  color: var(--carvao-2);
  font-size: 17px;
}
.symbol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.symbol-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,.34);
  border: 1px solid rgba(46,42,39,.10);
}
.symbol-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.symbol-card div { padding: 20px; }
.symbol-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
}
.symbol-sub {
  margin: 6px 0 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dourado-d);
}
.symbol-card p:not(.symbol-sub) {
  color: var(--carvao-2);
  font-size: 14px;
}
.symbol-card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--carvao);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--dourado-d);
}
.symbol-card-link:hover { color: var(--dourado-d); }
.symbols-use {
  background: var(--carvao);
  color: var(--cream);
  padding: 70px 24px;
}
.symbols-use .symbols-section-head {
  max-width: var(--maxw);
  margin: 0 auto 28px;
}
.symbols-use .symbols-section-head p { color: rgba(244,238,226,.72); }
.use-list {
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid rgba(244,238,226,.20);
}
.use-row {
  display: grid;
  grid-template-columns: .9fr .45fr 1.25fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid rgba(244,238,226,.20);
}
.use-row span {
  color: var(--dourado);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.use-row strong {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
}
.use-row p { color: rgba(244,238,226,.76); }
.symbols-final {
  max-width: 720px;
  margin: 0 auto;
  padding: 76px 24px 82px;
  text-align: center;
}

@media (max-width: 900px) {
  .symbols-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 48px;
  }
  .symbols-copy h1 { font-size: 56px; }
  .symbols-stage { min-height: 500px; }
  .symbol-grid { grid-template-columns: 1fr; }
  .symbol-card {
    display: grid;
    grid-template-columns: minmax(180px, .9fr) 1fr;
  }
  .symbol-card img {
    height: 100%;
    aspect-ratio: auto;
  }
  .use-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 620px) {
  .symbols-hero { padding: 40px 18px 34px; }
  .symbols-copy h1 { font-size: 43px; }
  .symbols-copy p { font-size: 16px; }
  .symbols-actions { flex-direction: column; }
  .symbol-button { width: 100%; }
  .symbols-stage { min-height: 390px; }
  .symbols-stage::before { inset: 26px 0 28px 54px; }
  .symbols-stage-main { width: 72%; height: 70%; }
  .symbols-stage-side { width: 42%; height: 35%; }
  .symbols-stage-bottom { bottom: 38px; }
  .symbols-section { padding: 50px 18px 42px; }
  .symbols-section-head h2,
  .symbols-final h2 { font-size: 34px; }
  .symbol-card { display: flex; }
  .symbol-card img { aspect-ratio: 4 / 3; }
  .symbols-use { padding: 54px 18px; }
  .symbols-final { padding: 58px 18px 64px; }
}

/* título de categoria clicável (home) */
.cat-head h2 a { color: inherit; text-decoration: none; }
.cat-head h2 a:hover { color: var(--dourado-d); }
.cat-more { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--dourado-d); text-decoration: none; letter-spacing: 0.02em; }
.cat-more:hover { text-decoration: underline; }

/* rodapé ampliado */
.foot-links { margin: 12px 0 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
.foot-links a { color: var(--carvao); text-decoration: none; font-size: 14px; opacity: .82; }
.foot-links a:hover { opacity: 1; color: var(--dourado-d); }
.foot-social { display: flex; gap: 18px; justify-content: center; margin-bottom: 10px; }
.foot-social a { color: var(--carvao); text-decoration: none; font-size: 14px; opacity: .82; }
.foot-social a:hover { opacity: 1; color: var(--dourado-d); }
.foot-copy { font-size: 13px; color: var(--carvao-2); }
