/* Solotrini landing — editorial dark, móvil-first */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0807;
  --bg-soft:   #16100d;
  --bg-input:  #1c1612;
  --fg:        #f0e6d8;
  --fg-soft:   #d9ccb9;
  --fg-mute:   #8b7a68;
  --fg-faint:  #4a3f37;
  --accent:    #c47a4f;    /* terracota apagado, no rosa */
  --accent-d:  #8a4f31;
  --border:    #2a201a;
  --border-mute: #1f1812;

  --serif:     'Instrument Serif', 'EB Garamond', Georgia, serif;
  --sans:      'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --maxw:      1180px;
  --maxw-text: 680px;
}

html { background: var(--bg); }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Grano sutil global */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--fg-faint);
  transition: border-color 0.2s ease, color 0.2s ease;
  padding-bottom: 1px;
}
a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* AGE BANNER */
.age-banner {
  background: #000;
  color: var(--fg-mute);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 11px 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 5;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ─────────────────── HERO ─────────────────── */
.hero {
  min-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 40px 0 56px;
  gap: 36px;
}

.hero__photo {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: var(--bg-soft);
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.7),
    0 0 0 1px var(--border-mute);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(0.92);
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,8,7,0.5) 100%);
  pointer-events: none;
}

.hero__text {
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 4px;
}

.hero__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: inline-block;
  position: relative;
  padding-left: 22px;
}
.hero__mark::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--fg-soft);
  margin-bottom: 36px;
  max-width: 420px;
}

.hero__when {
  font-family: var(--serif);
  font-style: italic;
  color: var(--fg-mute);
  font-size: 15px;
  margin: 32px 0 16px;
  letter-spacing: 0.05em;
}

.hero__when::before,
.hero__when::after {
  content: ' · ';
  color: var(--fg-faint);
}

/* ─────────────────── FORMULARIO ─────────────────── */
.signup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.signup input[type="email"],
.signup select {
  background: var(--bg-input);
  color: var(--fg);
  border: 1px solid var(--border);
  padding: 15px 16px;
  font-family: inherit;
  font-size: 16px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  letter-spacing: 0.01em;
}
.signup input[type="email"]::placeholder { color: var(--fg-mute); }

.signup select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%226%22%20viewBox%3D%220%200%2010%206%22%3E%3Cpath%20fill%3D%22%23c47a4f%22%20d%3D%22M5%206L0%200h10z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
  color: var(--fg);
}
.signup select:invalid { color: var(--fg-mute); }

.signup input[type="email"]:focus,
.signup select:focus {
  border-color: var(--accent);
  background: var(--bg-soft);
}

.signup button {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  padding: 15px 26px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.signup button:hover {
  background: var(--fg);
  border-color: var(--fg);
}
.signup button:active { transform: translateY(1px); }

.signup__note {
  color: var(--fg-mute);
  font-size: 12px;
  margin-top: 4px;
  letter-spacing: 0.05em;
  font-style: italic;
  font-family: var(--serif);
}

.signup--minimal {
  flex-direction: row;
  gap: 8px;
  margin-top: 28px;
}
.signup--minimal input[type="email"] { flex: 1; }
.signup--minimal button { white-space: nowrap; padding: 15px 22px; }

/* ─────────────────── CLAIMS ─────────────────── */
.claims {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  padding: 112px 0;
  position: relative;
}

.claims::before {
  content: '❋';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  color: var(--accent);
  padding: 0 16px;
  font-family: var(--serif);
  font-size: 18px;
}

.claims::after {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: var(--border);
}

.claims article {
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  padding-top: 8px;
}

.claims article::before {
  content: attr(data-num);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 12px;
}

.claims h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--fg);
}

.claims p {
  color: var(--fg-soft);
  font-size: 17px;
  line-height: 1.65;
}

/* ─────────────────── STORY ─────────────────── */
.story {
  padding: 112px 0;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.story::after {
  content: '—— · ——';
  display: block;
  margin: 40px auto 0;
  color: var(--fg-faint);
  font-family: var(--serif);
  letter-spacing: 0.4em;
}

.story h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
  color: var(--fg);
}

.story h2 br { display: none; }

.story p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 580px;
  margin: 0 auto 24px;
}

.story__close {
  font-family: var(--serif) !important;
  font-style: italic;
  font-size: 22px !important;
  color: var(--fg) !important;
  margin-top: 40px !important;
  line-height: 1.35 !important;
}

/* ─────────────────── AMBIENT ─────────────────── */
.ambient {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 112px 0;
  border-top: 1px solid var(--border);
  align-items: center;
}

.ambient__photo {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.7),
    0 0 0 1px var(--border-mute);
}

.ambient__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(0.9);
}

.ambient__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,8,7,0.4) 0%, transparent 50%);
  pointer-events: none;
}

.ambient__text {
  max-width: 500px;
  margin: 0 auto;
}

.ambient__text p {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 22px;
  color: var(--fg-soft);
}

.ambient__claim {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  color: var(--fg);
  margin-top: 32px !important;
  line-height: 1.3;
}

.ambient__claim em {
  color: var(--accent);
  font-style: italic;
}

/* ─────────────────── FOOTER ─────────────────── */
footer {
  padding: 72px 0 56px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--fg-mute);
  font-size: 13px;
  line-height: 1.8;
  position: relative;
}

footer::before {
  content: 'Solotrini';
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

footer p { margin-bottom: 6px; }

footer a {
  color: var(--fg-mute);
  border-bottom-color: transparent;
}
footer a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

footer .copy {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ─────────────────── RESPONSIVE ─────────────────── */
@media (min-width: 768px) {
  main { padding: 0 32px; }

  .hero {
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
    padding: 56px 0 112px;
  }
  .hero__photo { max-width: none; margin: 0; }
  .hero__text { margin: 0; padding: 0; max-width: 520px; }
  .hero h1 { font-size: 76px; }
  .hero__sub { font-size: 21px; max-width: 460px; }
  .hero__when { text-align: left; }

  .claims {
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
    padding: 152px 0;
  }
  .claims article { margin: 0; }
  .claims h2 { font-size: 26px; }
  .claims p { font-size: 16px; }

  .story { padding: 152px 0; }
  .story h2 { font-size: 56px; line-height: 1.05; }
  .story h2 br { display: block; }
  .story p { font-size: 19px; }
  .story__close { font-size: 26px !important; }

  .ambient {
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    padding: 152px 0;
  }
  .ambient__photo { max-width: none; margin: 0; }
  .ambient__text { margin: 0; max-width: 460px; }
  .ambient__text p { font-size: 19px; }
  .ambient__claim { font-size: 28px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 96px; letter-spacing: -0.03em; }
  .hero__sub { font-size: 22px; }
  .story h2 { font-size: 68px; }
  .ambient__claim { font-size: 32px; }
}
