/* Identidade extraída do Figma "Café com Faro":
   Inter · títulos Semi Bold, entrelinha 92%, tracking -10% · apoio Regular #D2D2D2
   preto e branco · fundo escuro com textura de papel · destaque por sublinhado */
:root {
  --black: #0b0b0b;
  --black-2: #1e1e1e;
  --white: #ffffff;
  --cream: #faf8f5;
  --paper: #f1ede6;
  --ink: #141312;
  --muted: #5f5b56;
  --muted-dark: #d2d2d2;
  --line: #e3ded6;
  --line-dark: rgba(255,255,255,.14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --track-display: -0.07em;
  --radius: 26px;
  --radius-lg: 44px;
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --scribble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9c40-5 80-6 120-4s90 4 120 1c22-2 40-3 56-2' fill='none' stroke='%23141312' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --scribble-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9c40-5 80-6 120-4s90 4 120 1c22-2 40-3 56-2' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --halftone: radial-gradient(circle, currentColor 1.1px, transparent 1.4px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; letter-spacing: -0.015em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
.section-shell { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }

/* Sublinhado editorial do Figma, com traço feito à mão */
u { text-decoration: none; background: var(--scribble) left bottom / 100% .16em no-repeat; padding-bottom: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.grain u { background-image: var(--scribble-light); }

/* Papel claro com textura */
.paper-grain { position: relative; isolation: isolate; background: var(--paper); overflow-x: clip; }
.paper-grain::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain-dark); opacity: .07; pointer-events: none; }

/* Fundo escuro com textura, como o frame de capa */
.grain { position: relative; isolation: isolate; background: radial-gradient(120% 90% at 50% 0%, #2a2a2a 0%, #141414 45%, var(--black) 100%); color: var(--white); }
.grain::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .09; pointer-events: none; }

/* Marca: avatar do Faro + nome, no formato dos posts */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.avatar img { width: 92%; height: 92%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-weight: 600; font-size: 16px; letter-spacing: -0.05em; }
.brand-text small { font-size: 11px; color: #9a9a9a; letter-spacing: -0.02em; }

.site-header { height: 84px; padding: 0 max(36px, calc((100% - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; }
.desktop-nav { display: flex; gap: 34px; font-size: 14px; color: var(--muted); }
.desktop-nav a, .header-cta, .text-link { transition: opacity .2s ease; }
.desktop-nav a:hover, .header-cta:hover, .text-link:hover { opacity: .6; }
.header-cta { font-size: 14px; font-weight: 500; padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: 999px; }
.hero-wrap .brand-text small { color: var(--muted); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-block: 72px 96px; }
.eyebrow { margin: 0 0 22px; font-size: 13px; font-weight: 500; color: var(--muted-dark); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
h1, h2 { font-weight: 600; letter-spacing: var(--track-display); }
.hero h1 { font-size: clamp(46px, 6vw, 84px); line-height: .92; margin: 0 0 28px; max-width: 640px; }
.hero-wrap .eyebrow { color: var(--muted); }
.hero-description { max-width: 470px; font-size: 19px; line-height: 1.45; color: var(--muted); letter-spacing: -0.03em; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-note { margin: 0; font-size: 13px; color: var(--muted); }
.hero-note span { margin: 0 8px; }

.button { min-height: 54px; padding: 0 30px; display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 999px; font: 600 15px var(--font); letter-spacing: -0.03em; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--black); }
.button-light:hover { background: #ece8e1; }
.button-dark { background: var(--ink); color: var(--cream); }
.button-dark:hover { background: #2c2a27; }

/* Hero: bilhete de bom dia, marca de xícara e o Faro em adesivo */
.hero-art { position: relative; min-height: 500px; display: grid; place-items: center; color: var(--ink); }
.coffee-ring { position: absolute; width: 250px; right: -2%; top: -2%; color: #8b7d6b; transform: rotate(14deg); }
.letter { position: relative; z-index: 2; width: min(100%, 380px); padding: 38px 36px 34px; background: var(--cream); border-radius: 6px 6px 30px 6px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 22px 40px -18px rgba(60,45,30,.25); transform: rotate(-3deg); }
.letter::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grain-dark); opacity: .05; pointer-events: none; }
.letter-hi { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.letter-title { margin: 0 0 22px; font-size: clamp(28px, 2.7vw, 36px); font-weight: 600; line-height: .98; letter-spacing: -0.075em; }
.letter-line { display: block; height: 7px; margin-bottom: 11px; border-radius: 99px; background: #e4ded4; }
.letter-line.short { width: 68%; }
.letter-sign { margin: 22px 0 0; font-size: 14px; color: var(--muted); text-align: right; }
.letter-sign span { display: block; margin-top: 4px; color: var(--ink); font-weight: 600; }
.sticker.sticker-hero { position: absolute; z-index: 3; left: 2%; bottom: 4%; width: 150px; height: 150px; transform: rotate(-10deg); box-shadow: 0 16px 30px -10px rgba(60,45,30,.35); border: 6px solid var(--cream); }
.sticker.sticker-hero img { width: 112px; height: 112px; }
.steam { position: absolute; z-index: 1; width: 60px; right: 12%; bottom: 6%; color: var(--ink); opacity: .7; }
.hand-note { position: absolute; z-index: 3; left: 2%; top: 8%; font-size: 15px; line-height: 1.2; color: var(--muted); transform: rotate(-6deg); }

.hero-bottomline { display: flex; align-items: center; gap: 18px; padding-bottom: 32px; font-size: 12px; color: var(--muted); }
.hero-bottomline .line { flex: 1; height: 1px; background: var(--line); }

/* Seções claras */
.section-label { display: flex; gap: 14px; align-items: baseline; font-size: 13px; font-weight: 500; color: var(--muted); }
.section-label span { font-weight: 600; color: var(--ink); }
.intro, .faq-section { display: grid; grid-template-columns: .5fr 1fr; gap: 40px; }
.intro { padding-block: 120px; }
.intro-content h2, .topics-heading h2, .preview-copy h2, .faq-content h2, .signup-copy h2 { font-size: clamp(38px, 4.4vw, 62px); line-height: .95; margin: 0 0 26px; }
.intro-content > p { max-width: 620px; font-size: 18px; line-height: 1.55; color: var(--muted); letter-spacing: -0.025em; }
.intro-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.intro-stats div { display: flex; flex-direction: column; gap: 6px; }
.intro-stats strong { font-size: 24px; font-weight: 600; letter-spacing: -0.06em; }
.intro-stats span { font-size: 14px; color: var(--muted); }

.topics-section { position: relative; isolation: isolate; background: var(--paper); padding-block: 110px; margin-inline: 16px; border-radius: var(--radius-lg); }
.topics-section::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--grain-dark); opacity: .06; pointer-events: none; }
.topics-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin: 40px 0 40px; }
.topics-heading h2 { margin: 0; }
.topics-heading p { max-width: 320px; margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.topic-card { position: relative; overflow: hidden; min-height: 250px; padding: 22px 22px 24px; background: var(--cream); border-radius: var(--radius); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.topic-card::after { content: ""; position: absolute; right: -18px; top: -18px; width: 96px; height: 96px; border-radius: 50%; color: var(--ink); background: var(--halftone) 0 0 / 8px 8px; opacity: .14; -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); }
.topic-card:nth-child(even) { transform: rotate(.8deg); }
.topic-card:nth-child(odd) { transform: rotate(-.6deg); }
.topic-card:hover { transform: translateY(-5px) rotate(0deg); box-shadow: 0 18px 30px -16px rgba(60,45,30,.3); }
.card-number { font-size: 13px; font-weight: 500; color: #9a9a9a; }
.topic-card h3 { margin: auto 0 10px; font-size: 26px; font-weight: 600; letter-spacing: -0.07em; line-height: 1; }
.topic-card p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.topics-footnote { margin: 26px 0 0; font-size: 14px; color: var(--muted); }

.preview-section { padding-block: 120px; }
.preview-layout { display: grid; grid-template-columns: .85fr 1fr; gap: 10%; align-items: center; margin-top: 48px; }
.preview-copy > p { max-width: 380px; font-size: 18px; line-height: 1.55; color: var(--muted); margin-bottom: 28px; }
.text-link { font-size: 15px; font-weight: 600; padding-bottom: 6px; background: var(--scribble) left bottom / 100% 6px no-repeat; }
.email-mock { max-width: 500px; background: var(--white); border-radius: 8px 8px 32px 8px; padding: 26px 32px 24px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 26px 50px -22px rgba(60,45,30,.3); transform: rotate(1.2deg); }
.email-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: #9a9a9a; }
.brand-sm { gap: 8px; color: var(--ink); }
.brand-sm .avatar { width: 28px; height: 28px; box-shadow: 0 0 0 1px var(--line); }
.brand-sm b { font-size: 14px; font-weight: 600; letter-spacing: -0.05em; }
.email-greeting { margin-top: 24px; font-size: 14px; color: var(--muted); }
.email-mock h3 { margin: 6px 0 10px; font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -0.07em; }
.mock-intro, .mock-body { font-size: 14px; line-height: 1.55; color: var(--muted); }
.mock-divider { height: 1px; background: var(--line); margin: 20px 0; }
.mock-kicker { margin-bottom: 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #8a8a8a; }
.email-mock h4 { margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 1.1; letter-spacing: -0.05em; }
.mock-body { margin-bottom: 10px; }
.mock-read { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.mock-bottom { margin-top: 22px; font-size: 12px; color: #9a9a9a; }

/* Inscrição */
.signup-section { margin-inline: 16px; border-radius: var(--radius-lg); overflow: hidden; }
.signup-shell { width: min(1180px, calc(100% - 72px)); margin: 0 auto; padding-block: 110px; display: grid; grid-template-columns: .8fr 1fr; gap: 8%; align-items: center; }
.signup-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; min-height: 380px; }
.sticker { width: 220px; height: 220px; border-radius: 50%; background: var(--white); display: grid; place-items: center; transform: rotate(-6deg); box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.sticker img { width: 146px; height: 146px; }
.sticker-note { font-size: 15px; line-height: 1.25; text-align: center; color: var(--muted-dark); transform: rotate(3deg); }
.signup-copy { max-width: 540px; }
.signup-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.5; color: var(--muted-dark); letter-spacing: -0.03em; }
.signup-form { margin-top: 28px; }
.signup-form > input[type="email"] { width: 100%; height: 56px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: var(--white); font: 16px var(--font); outline: none; }
.signup-form > input[type="email"]::placeholder { color: #a8a8a8; }
.signup-form > input[type="email"]:focus { border-color: var(--white); }
.form-hint { margin: 22px 0 12px; font-size: 14px; color: var(--muted-dark); }
.interest-options { display: flex; flex-wrap: wrap; gap: 8px; }
.interest-options label { position: relative; }
.interest-options input { position: absolute; opacity: 0; pointer-events: none; }
.interest-options span { display: inline-flex; padding: 9px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 14px; cursor: pointer; transition: background .18s, color .18s, border-color .18s; }
.interest-options input:checked + span { background: var(--white); color: var(--black); border-color: var(--white); }
.interest-options input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; font-size: 13px; line-height: 1.5; color: var(--muted-dark); }
.consent-row input { margin: 3px 0 0; accent-color: var(--white); }
.consent-row a { text-decoration: underline; text-underline-offset: 2px; }
.signup-form .button { min-width: 220px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-form .button[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-status { min-height: 20px; margin: 14px 0 0; font-size: 13px; color: #a8a8a8; }
.form-status.is-error { color: var(--white); }
.form-status.is-success { color: var(--white); }

/* FAQ */
.faq-section { padding-block: 120px; }
.faq-content { max-width: 720px; }
.faq-content h2 { margin-bottom: 34px; }
.faq-content details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-content details:last-child { border-bottom: 1px solid var(--line); }
.faq-content summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 20px; font-weight: 600; letter-spacing: -0.05em; }
.faq-content summary::-webkit-details-marker { display: none; }
.faq-content summary::after { content: "+"; font-weight: 400; }
.faq-content details[open] summary::after { content: "−"; }
.faq-content details p { margin: 14px 0 0; max-width: 580px; font-size: 16px; line-height: 1.55; color: var(--muted); }

.site-footer { padding: 34px max(36px, calc((100% - 1180px)/2)); display: flex; align-items: center; gap: 28px; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .brand-text small { color: var(--muted); }
.site-footer p { margin: 0; color: var(--muted); font-size: 14px; }
.site-footer p a, .faq-content details p a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer > small { margin-left: auto; color: var(--muted); font-size: 12px; }

/* Política de privacidade */
.legal-header { border-bottom: 1px solid var(--line); }
.legal { max-width: 720px; padding-block: 72px 96px; }
.legal h1 { font-size: clamp(38px, 5vw, 58px); line-height: .95; margin: 0 0 22px; }
.legal .eyebrow { color: var(--muted); }
.legal-lead { font-size: 19px; line-height: 1.5; color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 24px; letter-spacing: -0.05em; line-height: 1.1; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--ink); }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal li { margin-bottom: 6px; }
.legal a:not(.text-link) { text-decoration: underline; text-underline-offset: 3px; }
.legal-back { margin-top: 48px; }

/* Página pós-confirmação */
.confirm-page { min-height: 100vh; padding: 64px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.confirm-page .sticker { width: 170px; height: 170px; margin-bottom: 36px; box-shadow: 0 18px 34px -12px rgba(60,45,30,.35); border: 6px solid var(--cream); }
.confirm-page .sticker img { width: 120px; height: 120px; }
.confirm-page h1 { max-width: 640px; margin: 0 0 20px; font-size: clamp(38px, 6vw, 64px); line-height: .95; }
.confirm-page p { max-width: 460px; margin: 0 0 12px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.confirm-page .confirm-tip { font-size: 14px; margin-bottom: 32px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 960px) {
  .section-shell, .signup-shell { width: min(100% - 48px, 720px); }
  .site-header { padding-inline: 24px; }
  .desktop-nav { gap: 20px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 48px 72px; }
  .hero-art { min-height: 460px; max-width: 560px; }
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .intro, .faq-section { grid-template-columns: .3fr 1fr; }
  .preview-layout { grid-template-columns: 1fr; gap: 48px; }
  .signup-shell { grid-template-columns: 1fr; gap: 24px; }
  .signup-art { min-height: 280px; order: 2; }
}
@media (max-width: 640px) {
  .section-shell, .signup-shell { width: calc(100% - 32px); }
  .site-header { height: 68px; padding-inline: 16px; }
  .desktop-nav, .site-header .brand-text small { display: none; }
  .header-cta { font-size: 13px; padding: 8px 14px; }
  .hero { padding-block: 36px 56px; gap: 40px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 56px); }
  .hero-description { font-size: 17px; }
  .hero-actions { gap: 14px; }
  .button { width: 100%; }
  .hero-art { min-height: 440px; }
  .letter { width: calc(100% - 28px); padding: 30px 26px 28px; }
  .coffee-ring { width: 180px; right: -14%; top: -4%; }
  .sticker.sticker-hero { width: 112px; height: 112px; left: -2%; bottom: 0; border-width: 4px; }
  .sticker.sticker-hero img { width: 84px; height: 84px; }
  .steam { width: 44px; right: 6%; bottom: 2%; }
  .hand-note { display: none; }
  .topics-section, .signup-section { margin-inline: 8px; border-radius: 30px; }
  .hero-bottomline { font-size: 11px; gap: 10px; }
  .intro, .faq-section { display: block; padding-block: 80px; }
  .intro .section-label, .faq-section .section-label { margin-bottom: 28px; }
  .intro-content h2, .topics-heading h2, .preview-copy h2, .faq-content h2, .signup-copy h2 { font-size: 40px; }
  .intro-content > p, .preview-copy > p, .signup-copy > p:not(.eyebrow) { font-size: 16px; }
  .intro-stats { grid-template-columns: 1fr; gap: 16px; }
  .topics-section, .preview-section { padding-block: 80px; }
  .topics-heading { display: block; margin: 28px 0; }
  .topics-heading p { margin-top: 16px; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .topic-card { min-height: 200px; padding: 18px; }
  .topic-card h3 { font-size: 22px; }
  .topic-card p { font-size: 13px; }
  .email-mock { padding: 22px 20px; transform: rotate(.5deg); }
  .email-top > span:last-child { display: none; }
  .signup-shell { padding-block: 80px; }
  .sticker { width: 180px; height: 180px; }
  .site-footer { flex-wrap: wrap; gap: 12px 18px; padding: 28px 16px; }
  .site-footer p { flex-basis: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
