@font-face{font-family:"Poppins";font-style:normal;font-weight:300;font-display:swap;src:url(../assets/fonts/poppins-300.woff2) format("woff2");}
@font-face{font-family:"Poppins";font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/poppins-400.woff2) format("woff2");}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url(../assets/fonts/poppins-500.woff2) format("woff2");}
@font-face{font-family:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url(../assets/fonts/poppins-600.woff2) format("woff2");}
@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url(../assets/fonts/poppins-700.woff2) format("woff2");}
/* Clube dos Joinhas — tema único escuro */
:root {
  --bg: #0C0B0A;
  --card: #17130F;
  --elev: #241913;
  --line: #2E241C;
  --copper: #D6641F;
  --copper-vivid: #E97D30;
  --copper-accent: #F49748;
  --glow: #FAC078;
  --copper-shadow: #8A3D12;
  --text: #F5EEE8;
  --text-2: #B9A99B;
  --metal: linear-gradient(135deg, #FAC078, #F49748, #E97D30, #D6641F, #8A3D12);
  --header-h: 72px;
  /* Proporção da faixa central do logo (altura/largura). Ajuste se o seu PNG tiver outra margem. */
  --logo-band: 0.44;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem; line-height: 1.7; font-weight: 400; overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img { max-width: 100%; display: block; }
a { color: var(--copper-accent); text-underline-offset: 3px; }
a:hover { color: var(--glow); }
:focus-visible { outline: 3px solid var(--copper-accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--copper-vivid); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Logo: mostra só a faixa central, recortando a margem transparente */
.logo-crop { overflow: hidden; aspect-ratio: 1 / var(--logo-band); display: block; }
.logo-crop img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Cabeçalho */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; background: var(--bg); }
.site-header.scrolled { background: rgba(12, 11, 10, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: block; width: 112px; flex: none; }
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-desktop a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .9rem; padding: 8px 12px; border-radius: 8px; }
.nav-desktop a:hover { background: var(--elev); }
.header-cta { display: none; }
.menu-btn { background: none; border: 1px solid var(--line); color: var(--copper-accent); border-radius: 8px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.menu-btn:hover { background: var(--elev); }
@media (min-width: 960px) {
  .nav-desktop, .header-cta { display: flex; }
  .menu-btn { display: none; }
}

/* Gaveta */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: var(--card); border-left: 1px solid var(--line); z-index: 70; transform: translateX(100%); transition: transform .3s ease; padding: 20px; display: flex; flex-direction: column; gap: 8px; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer .close { align-self: flex-end; }
.drawer ul { list-style: none; margin: 8px 0 16px; padding: 0; }
.drawer li a { display: block; padding: 12px; color: var(--text); text-decoration: none; font-weight: 500; border-radius: 8px; }
.drawer li a:hover { background: var(--elev); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 8px; font: 600 .95rem/1.2 "Poppins", sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, transform .2s; min-height: 46px; }
.btn-primary { background: var(--copper-vivid); color: var(--bg); }
.btn-primary:hover { background: var(--copper-accent); color: var(--bg); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: var(--elev); color: var(--text); }
.btn-sm { padding: 8px 16px; min-height: 40px; font-size: .875rem; }

/* Seções */
section { padding: 88px 0; position: relative; }
.eyebrow { font-weight: 500; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-accent); margin: 0 0 10px; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2::after { content: ""; display: block; width: 64px; height: 2px; background: var(--metal); margin-top: 16px; }
.lead { color: var(--text-2); max-width: 62ch; margin: 20px 0 0; font-weight: 300; font-size: 1.05em; }
.grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-photos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 480px) and (max-width: 719px) { .grid-photos { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; transition: background .2s, border-color .2s; }
.card:hover { background: var(--elev); }
.card h3 { font-size: 1.15rem; margin: 16px 0 8px; }
.card p { margin: 0; color: var(--text-2); font-size: .97em; }
.icon { width: 28px; height: 28px; stroke: var(--copper-accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.alt-bg { background: linear-gradient(180deg, #0C0B0A, #100D0B 50%, #0C0B0A); border-block: 1px solid var(--line); }

/* Hero */
.hero { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-h) + 40px) 0 64px; text-align: center; background: radial-gradient(ellipse 50% 40% at 50% 34%, rgba(214, 100, 31, .10), transparent 70%), var(--bg); }
.hero .logo-crop { width: min(440px, 80vw); margin: 0 auto 24px; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 4rem); letter-spacing: -.01em; }
.hero p { color: var(--text-2); max-width: 52ch; margin: 18px auto 0; font-weight: 300; font-size: 1.1em; }
.hero .rule { width: 64px; height: 2px; background: var(--metal); margin: 22px auto 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .actions { justify-content: center; }

/* Galeria */
.photo { aspect-ratio: 4 / 3; background: var(--card); border: 1px dashed #4a392c; border-radius: 12px; display: grid; place-items: center; text-align: center; color: var(--text-2); font-weight: 500; font-size: .9rem; letter-spacing: .08em; padding: 12px; }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.note { color: var(--text-2); font-size: .9rem; margin-top: 20px; }

/* Portal */
.checks { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.checks strong { font-weight: 500; display: block; }
.checks span { color: var(--text-2); font-size: .92em; }

.edit { background: #3a2410; color: var(--glow); padding: 1px 8px; border-radius: 6px; font-weight: 500; font-size: .92em; border: 1px dashed var(--copper); }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 48px 0 32px; }
.foot { display: grid; gap: 28px; }
@media (min-width: 800px) { .foot { grid-template-columns: 1.2fr 2fr; } }
.foot .brand { width: 112px; }
.foot-name { font-weight: 600; margin: 8px 0 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { color: var(--text-2); text-decoration: none; padding: 6px 0; display: inline-block; }
.foot a:hover { color: var(--copper-accent); }
.copy { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; color: var(--text-2); font-size: .85rem; }

/* Política */
.doc { padding-top: calc(var(--header-h) + 56px); }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); }
.doc h2 { font-size: 1.35rem; margin-top: 44px; }
.doc h2::after { margin-top: 12px; }
.doc p, .doc li { color: var(--text-2); max-width: 72ch; }
.doc ul { padding-left: 1.2em; }

/* Animação ao rolar */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
