/* ==========================================================================
   luciennewton.com.br
   Editorial escuro. Carvao, ambar e uma serifada de titulo.
   ========================================================================== */

/* ---------- fontes ---------- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrumentserif-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrumentserif-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrumentserif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */

:root {
  --bg: #0b0c0e;
  --bg-2: #0f1114;
  --surface: #14161a;
  --surface-2: #191c21;
  --line: #262a31;
  --line-soft: #1c1f25;
  --ink: #f3f3f4;
  --ink-2: #cbced3;
  --muted: #969ca5;
  --accent: #e9a13b;
  --accent-hi: #f5b862;
  --accent-soft: rgba(233, 161, 59, 0.1);
  --accent-line: rgba(233, 161, 59, 0.28);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, 'Times New Roman', serif;

  --wrap: 1140px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --radius: 14px;
  --radius-sm: 8px;
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* O navegador da 40px de margem lateral em figure por padrao. */
figure {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration-color: var(--accent-line);
  text-underline-offset: 0.22em;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a:hover {
  color: var(--accent-hi);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.85rem, 1.6rem + 5.6vw, 5.4rem);
}

h2 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
}

h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.6rem);
  line-height: 1.25;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- utilitarios ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--line-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.4rem;
}

.eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.lede {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.32rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 46ch;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #0b0c0e;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- botoes ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--sans);
  text-decoration: none;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease,
    color 0.18s ease;
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.btn--primary {
  background: var(--accent);
  color: #0b0c0e;
}

.btn--primary:hover {
  background: var(--accent-hi);
  color: #0b0c0e;
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--accent-line);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- cabecalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 14, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.4rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--ink);
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  text-transform: uppercase;
}

.lang:hover {
  color: var(--accent);
  border-color: var(--accent-line);
}

@media (max-width: 900px) {
  .site-nav a:not(.lang) {
    display: none;
  }
}

/* ---------- heroi ---------- */

.hero {
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -30% 40% 40% -20%;
  background: radial-gradient(closest-side, rgba(233, 161, 59, 0.09), transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  position: relative;
}

.hero h1 {
  margin-bottom: 0.35em;
}

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

.hero__role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.6rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero__photo {
  position: relative;
}

.hero__photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  filter: saturate(0.95) contrast(1.03);
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(to top, rgba(11, 12, 14, 0.5), transparent 45%);
  pointer-events: none;
}

/* Variante de coluna unica, usada na pagina de erro. */
.hero--simple .wrap {
  grid-template-columns: 1fr;
  max-width: 760px;
}

@media (max-width: 860px) {
  .hero {
    padding-block: 2.5rem 3.5rem;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  /* No celular a foto vem antes, mas pequena, para o nome e o botao
     caberem na primeira tela. */
  .hero__photo {
    order: -1;
    max-width: 232px;
  }
}

/* ---------- resposta direta ---------- */

.answer {
  background: var(--bg-2);
}

.answer .wrap {
  max-width: 900px;
}

.answer__box {
  border-left: 2px solid var(--accent);
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
}

.answer__box p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.1rem + 1.3vw, 2.05rem);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.6em;
}

.answer__box p:last-child {
  margin-bottom: 0;
}

.answer__box .small {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- numeros ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.stat__label {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- sobre ---------- */

.about .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.about__photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about__photo figcaption {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__text h3 {
  margin-top: 2.2rem;
}

@media (max-width: 860px) {
  .about .wrap {
    grid-template-columns: 1fr;
  }
  .about__photo {
    max-width: 320px;
  }
}

/* ---------- trajetoria ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 820px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0.7rem;
  bottom: 0.7rem;
  width: 1px;
  background: linear-gradient(var(--accent-line), var(--line-soft));
}

.timeline li {
  position: relative;
  padding-left: 2.6rem;
  padding-bottom: 2.4rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.timeline time,
.timeline .tl-when {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.timeline h3 {
  margin-bottom: 0.4rem;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

/* ---------- cards de atuacao ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
  margin-top: 3rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--line);
  transform: translateY(-3px);
}

.card h3 {
  font-size: 1.32rem;
  margin-bottom: 0.5rem;
}

.card p {
  margin-bottom: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.card__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---------- faixa franchising 4.0 ---------- */

.band {
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: grayscale(0.25) brightness(0.62);
}

.band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--bg) 22%, rgba(11, 12, 14, 0.86) 55%,
    rgba(11, 12, 14, 0.7));
}

.band .wrap {
  max-width: 820px;
  margin-inline: 0;
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}

.band__points {
  list-style: none;
  margin: 2.4rem 0 2.4rem;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.band__points li {
  padding-left: 1.9rem;
  position: relative;
}

.band__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.7rem;
  height: 1px;
  background: var(--accent);
}

.band__points strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.band__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- canais ---------- */

.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.link-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.link-card:hover {
  border-color: var(--accent-line);
  background: var(--surface-2);
  color: var(--ink);
  transform: translateY(-3px);
}

.link-card__icon {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.link-card__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.link-card b {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.link-card span {
  display: block;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.link-card--wide {
  grid-column: 1 / -1;
  align-items: center;
  background: linear-gradient(100deg, var(--surface-2), var(--surface));
  border-color: var(--line);
}

/* ---------- faq ---------- */

.faq {
  max-width: 860px;
  margin-top: 3rem;
  border-top: 1px solid var(--line-soft);
}

.faq details {
  border-bottom: 1px solid var(--line-soft);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.5rem 3rem 1.5rem 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.18s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--accent);
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 0.62rem;
  height: 0.62rem;
  margin-top: -0.42rem;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -0.15rem;
}

.faq__answer {
  padding-bottom: 1.7rem;
  max-width: 68ch;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

/* ---------- contato ---------- */

.contact {
  background: var(--bg-2);
}

.contact .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.contact h2 {
  margin-bottom: 0.3em;
}

.contact p {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 48ch;
}

@media (max-width: 780px) {
  .contact .wrap {
    grid-template-columns: 1fr;
  }
}

/* ---------- rodape ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 3rem 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.social {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
}

.social a:hover {
  border-color: var(--accent-line);
  color: var(--accent);
}

.social svg {
  width: 1.05rem;
  height: 1.05rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  align-items: center;
}

.site-footer a {
  color: var(--ink-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

/* ---------- movimento ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- impressao ---------- */

@media print {
  .site-header,
  .hero__actions,
  .band__links,
  .contact,
  .social {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  h1,
  h2,
  h3 {
    color: #000;
  }
  .faq details {
    display: block;
  }
}
