/* =========================================================
   Ninho dos Patudos — styles.css
   Paleta tirada do logo: creme #F5F2EA · dourado #A79878 · ink #595F64
   ========================================================= */

::selection { background: #A79878; color: #FBFAF6; }

html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }

/* ---------- Header ---------- */
#site-header { background: transparent; }
#site-header.scrolled {
  background: rgba(245, 242, 234, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(167, 152, 120, .25), 0 8px 30px -18px rgba(53, 58, 63, .35);
}
#site-header.scrolled .h-20 { height: 4rem; }
#site-header .h-20 { transition: height .4s cubic-bezier(.22,1,.36,1); }

.nav-link { position: relative; padding-bottom: 2px; transition: color .25s; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: #A79878; transition: width .35s cubic-bezier(.22,1,.36,1);
}
.nav-link:hover { color: #454B50; }
.nav-link:hover::after { width: 100%; }

.lang-opt[aria-pressed="true"] { background: #A79878; color: #FBFAF6; }
.lang-opt[aria-pressed="false"] { color: #7C838A; }
.lang-opt[aria-pressed="false"]:hover { color: #454B50; }

/* ---------- Botões ---------- */
.btn-gold, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; font-weight: 700; letter-spacing: .01em;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, background-color .3s, color .3s;
  cursor: pointer; text-align: center;
}
.btn-gold {
  background: linear-gradient(135deg, #B5A47F 0%, #A79878 55%, #8F7F5E 100%);
  color: #FBFAF6;
  box-shadow: 0 10px 24px -12px rgba(143, 127, 94, .9);
  position: relative; overflow: hidden;
}
.btn-gold::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.38) 50%, transparent 80%);
  transform: translateX(-130%);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(143,127,94,.95); }
.btn-gold:hover::before { animation: shimmer 1.1s ease; }
.btn-gold:active { transform: translateY(0); }
@keyframes shimmer { to { transform: translateX(130%); } }

.btn-ghost {
  background: transparent; color: #454B50;
  border: 1.5px solid rgba(167, 152, 120, .55);
}
.btn-ghost:hover { background: rgba(167,152,120,.12); border-color: #A79878; transform: translateY(-2px); }

/* ---------- Tipografia de secção ---------- */
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; line-height: 1.15;
  color: #23282C; margin-bottom: .75rem;
}
.section-sub { color: #7C838A; font-size: 1.05rem; line-height: 1.7; }

.text-gradient-gold {
  background: linear-gradient(100deg, #8F7F5E 0%, #C9BB9B 45%, #8F7F5E 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: goldflow 7s ease-in-out infinite;
}
@keyframes goldflow { 0%,100% { background-position: 0% center; } 50% { background-position: 100% center; } }

/* ---------- Hero ---------- */
.hero-glow {
  position: absolute; z-index: 0; top: -18%; left: 50%; transform: translateX(-50%);
  width: min(1100px, 130vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201,187,155,.42) 0%, rgba(245,242,234,0) 62%);
  pointer-events: none; animation: breathe 11s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { transform: translateX(-50%) scale(1); opacity:.9 } 50% { transform: translateX(-50%) scale(1.09); opacity:1 } }

.hero-logo { animation: logoIn 1.5s cubic-bezier(.22,1,.36,1) both; }
@keyframes logoIn {
  from { opacity: 0; transform: translateY(18px) scale(.9); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.hero-item { opacity: 0; animation: riseIn .95s cubic-bezier(.22,1,.36,1) both; }
.hero-eyebrow  { animation-delay: .45s; }
h1.hero-item   { animation-delay: .6s; }
p.hero-item    { animation-delay: .78s; }
div.hero-item  { animation-delay: .94s; }
@keyframes riseIn { from { opacity:0; transform: translateY(26px); } to { opacity:1; transform:none; } }

.dot-pulse {
  width: 6px; height: 6px; border-radius: 999px; background: #A79878;
  box-shadow: 0 0 0 0 rgba(167,152,120,.75); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(167,152,120,.7); }
  70%  { box-shadow: 0 0 0 9px rgba(167,152,120,0); }
  100% { box-shadow: 0 0 0 0 rgba(167,152,120,0); }
}

/* patinhas a flutuar */
.paw-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.paw-field span {
  position: absolute; display: block; width: 26px; height: 26px; opacity: 0;
  background: no-repeat center/contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23A79878'><ellipse cx='7' cy='8' rx='2.1' ry='2.9'/><ellipse cx='12' cy='6.2' rx='2.1' ry='3'/><ellipse cx='17' cy='8' rx='2.1' ry='2.9'/><ellipse cx='20' cy='12.6' rx='1.8' ry='2.4'/><path d='M12 11.5c3.4 0 5.6 2.4 5.6 4.6 0 2-1.7 3.2-3.6 3.2-1 0-1.4-.4-2-.4s-1 .4-2 .4c-1.9 0-3.6-1.2-3.6-3.2 0-2.2 2.2-4.6 5.6-4.6z'/></svg>");
  animation: drift linear infinite;
}
@keyframes drift {
  0%   { opacity: 0; transform: translateY(20px) rotate(0deg) scale(.7); }
  14%  { opacity: .22; }
  86%  { opacity: .16; }
  100% { opacity: 0; transform: translateY(-120px) rotate(28deg) scale(1); }
}


/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Pilares ---------- */
.pillar-num {
  font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; line-height: 1;
  color: rgba(167,152,120,.4); font-weight: 600; display: block; margin-bottom: .4rem;
}
.pillar-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem,3.2vw,2.5rem); font-weight: 600; color: #23282C; margin-bottom: 1rem; }
.pillar-text { color: #595F64; line-height: 1.8; margin-bottom: 1.5rem; }
.pillar-list { display: grid; gap: .65rem; }
.pillar-list li { position: relative; padding-left: 1.6rem; color: #7C838A; font-size: .95rem; }
.pillar-list li::before {
  content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px;
  border-radius: 999px; border: 1.5px solid #A79878;
}

.photo-frame {
  position: relative; aspect-ratio: 4/5; border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 30px 60px -32px rgba(53,58,63,.55);
}
.photo-frame::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(251,250,246,.35); pointer-events: none;
}
.photo-frame img { transition: transform 1.1s cubic-bezier(.22,1,.36,1); }
.photo-frame:hover img { transform: scale(1.06); }

.ear-note {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(237,232,220,.75); border: 1px solid rgba(167,152,120,.35);
  border-radius: 1rem; padding: 1.1rem 1.2rem;
}
.ear-note p { font-size: .92rem; line-height: 1.7; color: #595F64; }
.ear-note strong { color: #343A3F; }
.ear-icon { flex-shrink: 0; width: 34px; height: 34px; color: #8F7F5E; }
.ear-icon svg { width: 100%; height: 100%; }

/* ---------- Transparência ---------- */
.watermark {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(460px, 60%); opacity: .05; pointer-events: none;
}
.money-card {
  background: rgba(251,250,246,.06); border: 1px solid rgba(201,187,155,.22);
  border-radius: 1.25rem; padding: 2rem 1.6rem; text-align: center;
  transition: transform .45s cubic-bezier(.22,1,.36,1), background-color .45s, border-color .45s;
}
.money-card:hover { transform: translateY(-6px); background: rgba(251,250,246,.1); border-color: rgba(201,187,155,.45); }
.money-icon { font-size: 2rem; margin-bottom: .9rem; }
.money-card h3 { font-family:'Cormorant Garamond',serif; font-size:1.6rem; font-weight:600; color:#F5F2EA; margin-bottom:.5rem; }
.money-card p { font-size: .92rem; line-height: 1.7; color: rgba(224,216,198,.75); }

/* ---------- Ajudar ---------- */
.help-card {
  background: #FBFAF6; border: 1px solid rgba(167,152,120,.28);
  border-radius: 1.5rem; padding: 2rem;
  box-shadow: 0 20px 50px -34px rgba(53,58,63,.4);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s;
}
.help-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -34px rgba(53,58,63,.5); }
.help-card-main { padding: 2.5rem; }
.help-tag {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #8F7F5E; background: rgba(167,152,120,.14);
  border-radius: 999px; padding: .35rem .85rem; margin-bottom: 1rem;
}

.pay-box { background: #F5F2EA; border: 1px solid rgba(167,152,120,.3); border-radius: 1rem; padding: 1rem 1.1rem; }
.pay-label { display:block; font-size:.68rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:#A79878; margin-bottom:.4rem; }
.pay-value {
  display:flex; align-items:center; justify-content:space-between; gap:.75rem; width:100%;
  font-weight:700; color:#343A3F; font-size:.95rem; word-break:break-all; text-align:left;
  transition: color .25s;
}
.pay-value:hover { color:#8F7F5E; }
.copy-icon { width:17px; height:17px; flex-shrink:0; opacity:.5; transition: opacity .25s, transform .25s; }
.pay-value:hover .copy-icon { opacity:1; transform: scale(1.1); }


/* ---------- Galeria ---------- */
.gallery-item { position: relative; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 20px 44px -30px rgba(53,58,63,.5); }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.22,1,.36,1); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(35,40,44,.88));
  color: #F5F2EA; font-size: .82rem; line-height: 1.45;
  transform: translateY(6px); opacity: .92; transition: transform .45s, opacity .45s;
}
.gallery-item:hover figcaption { transform: none; opacity: 1; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 140%);
  background: #23282C; color: #F5F2EA; font-size: .88rem; font-weight: 600;
  padding: .8rem 1.4rem; border-radius: 999px; z-index: 90;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); pointer-events: none;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Acessibilidade ---------- */
:focus-visible { outline: 2px solid #A79878; outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-item, .hero-logo { opacity: 1 !important; }
  .paw-field { display: none; }
}


/* ---------- Menu mobile ---------- */
.menu-btn {
  width: 34px; height: 34px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; flex-shrink: 0;
}
.menu-btn span {
  display: block; width: 19px; height: 1.8px; border-radius: 2px; background: #595F64;
  transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s;
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.9px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child  { transform: translateY(-3.9px) rotate(-45deg); }

.mobile-menu {
  overflow: hidden; max-height: 0; opacity: 0;
  background: rgba(245,242,234,.97); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(167,152,120,.25);
  transition: max-height .45s cubic-bezier(.22,1,.36,1), opacity .3s;
}
.mobile-menu.open { max-height: 320px; opacity: 1; }
.mobile-link {
  display: block; padding: 1rem 1.5rem; font-weight: 600; font-size: .95rem; color: #454B50;
  border-bottom: 1px solid rgba(167,152,120,.15); transition: background-color .25s, padding-left .25s;
}
.mobile-link:last-child { border-bottom: 0; }
.mobile-link:active, .mobile-link:hover { background: rgba(167,152,120,.1); padding-left: 1.9rem; }

@media (min-width: 400px) { .xs\:text-lg { font-size: 1.125rem; } }

.mobile-lang { display: flex; gap: .5rem; padding: .9rem 1.5rem 1.1rem; }
.mobile-lang .lang-opt {
  flex: 1; padding: .6rem 0; border-radius: 999px; font-size: .82rem; font-weight: 700;
  border: 1px solid rgba(167,152,120,.4); transition: background-color .25s, color .25s;
}

/* ---------- Camisolas ---------- */
.shop-facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
  max-width: 44rem; margin: 0 auto;
}
.fact {
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  background: #FBFAF6; border: 1px solid rgba(167,152,120,.3);
  border-radius: 1rem; padding: .85rem 1.5rem; min-width: 8.5rem;
}
.fact-label { font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #A79878; }
.fact-value { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; color: #343A3F; }

.shirt-card {
  background: #FBFAF6; border: 1px solid rgba(167,152,120,.25);
  border-radius: 1.35rem; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 18px 44px -32px rgba(53,58,63,.45);
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s, border-color .5s;
}
.shirt-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 32px 62px -30px rgba(53,58,63,.5);
  border-color: rgba(167,152,120,.55);
}
.shirt-img { position: relative; overflow: hidden; background: linear-gradient(170deg,#FFFFFF 0%,#F2EFE7 100%); }
.shirt-img img { width: 100%; height: auto; display: block; transition: transform 1.05s cubic-bezier(.22,1,.36,1); }
.shirt-card:hover .shirt-img img { transform: scale(1.055); }
.shirt-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-120%);
}
.shirt-card:hover .shirt-img::after { animation: shimmer 1.15s ease; }

.shirt-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.shirt-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600;
  line-height: 1.25; color: #23282C; margin-bottom: .5rem;
}
.shirt-meta { margin-bottom: 1.15rem; }
.colour-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem .4rem .55rem; border-radius: 999px;
  background: rgba(167,152,120,.12); border: 1px solid rgba(167,152,120,.34);
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: #6F6248;
  transition: background-color .35s, border-color .35s;
}
.shirt-card:hover .colour-chip { background: rgba(167,152,120,.2); border-color: rgba(167,152,120,.55); }
.swatch {
  width: 15px; height: 15px; border-radius: 999px; flex-shrink: 0;
  border: 1px solid rgba(53,58,63,.25);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.55), 0 1px 2px rgba(53,58,63,.14);
}
.swatch-marinho { background: #1F2A44; }
.swatch-rosa    { background: #F3C9CC; }
.swatch-branca  { background: #FFFFFF; }
.swatch-preta   { background: #1A1A1A; }

.order-btn {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; padding: .75rem 1rem; border-radius: 999px; font-weight: 700; font-size: .88rem;
  color: #6F6248; background: rgba(167,152,120,.13); border: 1px solid rgba(167,152,120,.4);
  transition: background-color .3s, color .3s, border-color .3s;
}
.order-btn svg { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.order-btn:hover { background: #A79878; color: #FBFAF6; border-color: #A79878; }
.order-btn:hover svg { transform: translateX(4px); }

.shop-how {
  margin-top: 3.5rem; max-width: 44rem; margin-left: auto; margin-right: auto;
  background: #FBFAF6; border: 1px solid rgba(167,152,120,.28);
  border-radius: 1.35rem; padding: 2rem;
}
.shop-how h3 { font-family:'Cormorant Garamond',serif; font-size:1.7rem; font-weight:600; color:#23282C; margin-bottom:1.1rem; text-align:center; }
.shop-how ol { counter-reset: step; display: grid; gap: .9rem; }
.shop-how li { counter-increment: step; position: relative; padding-left: 2.4rem; color:#595F64; font-size:.94rem; line-height:1.65; }
.shop-how li::before {
  content: counter(step); position: absolute; left: 0; top: -1px;
  width: 1.7rem; height: 1.7rem; border-radius: 999px;
  background: rgba(167,152,120,.16); color: #6F6248;
  font-size: .78rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.shop-how strong { color: #343A3F; }

/* ---------- Modal de encomenda ---------- */
.order-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.order-modal[hidden] { display: none; }
.order-backdrop {
  position: absolute; inset: 0; background: rgba(35,40,44,.55);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  opacity: 0; transition: opacity .35s ease;
}
.order-modal.open .order-backdrop { opacity: 1; }
.order-panel {
  position: relative; width: 100%; max-width: 25rem; text-align: center;
  background: #FBFAF6; border: 1px solid rgba(167,152,120,.3);
  border-radius: 1.5rem; padding: 2.25rem 1.75rem 1.75rem;
  box-shadow: 0 40px 80px -30px rgba(35,40,44,.6);
  opacity: 0; transform: translateY(18px) scale(.94);
  transition: opacity .42s cubic-bezier(.22,1,.36,1), transform .42s cubic-bezier(.22,1,.36,1);
}
.order-modal.open .order-panel { opacity: 1; transform: none; }

.order-close {
  position: absolute; top: .85rem; right: .85rem; width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center; border-radius: 999px;
  color: #7C838A; transition: background-color .25s, color .25s;
}
.order-close svg { width: 17px; height: 17px; }
.order-close:hover { background: rgba(167,152,120,.15); color: #454B50; }

.order-eyebrow { font-size: .64rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #A79878; margin-bottom: .5rem; }
.order-design { font-family:'Cormorant Garamond',serif; font-size: 1.75rem; font-weight: 600; line-height: 1.2; color:#23282C; margin-bottom: .45rem; }
.order-price { font-size: .88rem; color: #7C838A; margin-bottom: 1.6rem; }
.order-dot { opacity: .5; margin: 0 .2rem; }

.order-actions { display: grid; gap: .7rem; }
.order-opt {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, background-color .3s, border-color .3s, color .3s;
}
.order-opt svg { width: 19px; height: 19px; }
.order-opt:hover { transform: translateY(-2px); }
.order-opt-ig {
  color: #FBFAF6;
  background: linear-gradient(115deg, #A87A5E 0%, #B5766F 38%, #8F6F84 72%, #6E6A8E 100%);
  box-shadow: 0 12px 26px -14px rgba(110,106,142,.95);
}
.order-opt-ig:hover { box-shadow: 0 18px 32px -14px rgba(110,106,142,1); }
.order-opt-sms { color:#454B50; background: transparent; border: 1.5px solid rgba(167,152,120,.55); }
.order-opt-sms:hover { background: rgba(167,152,120,.13); border-color: #A79878; }
.order-opt[hidden] { display: none; }

.order-hint {
  margin-top: 1.15rem; font-size: .76rem; line-height: 1.55; color: #A79878;
}

/* ---------- Zona de atuação ---------- */
.local-line {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.75rem; font-size: .88rem; font-weight: 600; color: #8F7F5E;
}
.local-line svg { width: 17px; height: 17px; flex-shrink: 0; }
