/* =========================================================
   Portfólio Gustavo Simões
   Cores, fontes e medidas ficam nas variáveis abaixo:
   mude aqui e o site inteiro acompanha.
   ========================================================= */
:root {
  --bg: #09090B;
  --bg-alt: #0F0F12;
  --surface: #141418;
  --surface-2: #1A1A1F;
  --border: #26262C;
  --text: #F5F2EC;
  --muted: #A6A39D;

  --gold: #E2B867;
  --gold-dark: #B8893A;
  --gold-light: #F5DDA6;
  --gold-gradient: linear-gradient(135deg, #F5DDA6 0%, #E2B867 45%, #B8893A 100%);
  --gold-ink: #1A1206;      /* texto em cima do dourado */
  --whats: #25D366;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-title: "Sora", var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-title);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.025em;
  font-weight: 600;
}
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: var(--gold-gradient);
  color: var(--gold-ink);
  box-shadow: 0 8px 30px -10px rgba(226, 184, 103, .55);
}
.btn--gold:hover { box-shadow: 0 12px 36px -8px rgba(226, 184, 103, .7); }
.btn--outline { border-color: rgba(226, 184, 103, .45); color: var(--text); }
.btn--outline:hover { border-color: var(--gold); background: rgba(226, 184, 103, .06); }
.btn--sm { padding: 11px 18px; font-size: .92rem; }
.btn--lg { padding: 18px 32px; font-size: 1.08rem; }

/* ===== Logo ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo__mark { height: 32px; width: auto; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__text strong {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .95rem;
}
.logo__text small {
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* ===== Menu ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  font-size: .95rem;
  transition: color .2s;
}
.nav a:not(.btn):hover { color: var(--gold-light); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--text); transition: transform .25s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 90px 0 100px;
  background:
    radial-gradient(700px 420px at 78% 40%, rgba(226, 184, 103, .16), transparent 70%),
    radial-gradient(500px 300px at 0% 0%, rgba(226, 184, 103, .06), transparent 70%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(226, 184, 103, .45);
  border-radius: 999px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 700; }
.hero__text { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__features {
  list-style: none;
  padding: 0;
  margin: 52px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
}
.hero__features li { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.hero__features strong { white-space: nowrap; display: block; color: var(--text); font-size: .9rem; font-weight: 600; }
.hero__features svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Notebook + celular */
/* O notebook ocupa a largura toda (com a base sobrando igual dos dois lados);
   o celular fica apoiado no canto inferior direito, por cima do notebook. */
.devices {
  position: relative;
  padding: 0 13% 7% 3%;
  margin-right: -3%;
}
/* brilho dourado suave atrás dos aparelhos */
.devices::before {
  content: "";
  position: absolute;
  inset: 10% 5% 0;
  background: radial-gradient(closest-side, rgba(226, 184, 103, .22), transparent);
  filter: blur(30px);
  z-index: -1;
}

/* Notebook */
.laptop { position: relative; }
.laptop__lid {
  position: relative;
  padding: 2.4% 2.4% 3.2%;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(160deg, #2e2e35, #17171b 60%);
  box-shadow: 0 0 0 1px #3a3a42, inset 0 0 0 1px rgba(255, 255, 255, .04);
}
/* câmera */
.laptop__lid::before {
  content: "";
  position: absolute;
  top: 1%;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #0b0b0d;
  box-shadow: inset 0 0 0 1px #2a2a30;
}
.laptop__display {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #0d0d10;
}
.laptop__display img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop__base {
  position: relative;
  height: 14px;
  margin: 0 -1.5%;
  border-radius: 2px 2px 14px 14px / 2px 2px 10px 10px;
  background: linear-gradient(#55555e, #2a2a31 45%, #141418);
  box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .9);
}
/* entalhe para abrir a tampa */
.laptop__base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: #1c1c21;
}

/* Celular */
.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24%;
  padding: 1.5%;
  border-radius: 15% / 7%;
  background: linear-gradient(145deg, #3c3c44, #18181c 55%, #2a2a31);
  box-shadow: 0 0 0 1px #45454e, 0 30px 60px -12px rgba(0, 0, 0, .95);
}
/* botões laterais */
.phone::after {
  content: "";
  position: absolute;
  top: 20%;
  right: -2px;
  width: 2px;
  height: 14%;
  border-radius: 0 2px 2px 0;
  background: #3a3a42;
}
.phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 12% / 5.6%;
  padding-top: 11%;            /* barra de status */
  background: #0b0d17;          /* mesma cor do topo do site mostrado */
}
/* câmera frontal ("ilha") */
.phone__screen::before {
  content: "";
  position: absolute;
  top: 1.8%;
  left: 50%;
  width: 28%;
  height: 2.9%;
  max-height: 22px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #000;
}
.phone__screen img { display: block; width: 100%; height: auto; }

/* ===== Nichos ===== */
.niches { border-block: 1px solid var(--border); background: var(--bg-alt); padding: 40px 0; }
.niches__inner { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.niches__head h2 { font-size: 1.5rem; margin-bottom: .3em; }
.niches__head p { color: var(--muted); margin: 0; font-size: .95rem; }
.niches__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.niches__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 18px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.3;
}
.niches__list svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Seções ===== */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head p:last-child { color: var(--muted); margin: 0; }
.eyebrow {
  color: var(--gold);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--text); }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Projetos ===== */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.project:hover { border-color: rgba(226, 184, 103, .6); transform: translateY(-4px); }
.project__image { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--border); }
.project__image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.project:hover .project__image img { transform: scale(1.04); }
.project__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
}
.project__info h3 { margin-bottom: .2em; font-size: 1.25rem; }
.project__info p { color: var(--muted); margin: 0; font-size: .92rem; }
.project__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: background .25s, border-color .25s;
}
.project__link svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2; }
.project:hover .project__link { background: var(--gold); border-color: var(--gold); }
.project:hover .project__link svg { stroke: var(--gold-ink); }

/* ===== Cards de serviço ===== */
.card, .feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .25s, transform .25s;
}
.card:hover, .feature:hover { border-color: rgba(226, 184, 103, .5); transform: translateY(-4px); }
.card p, .feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.card__icon, .feature svg {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Processo ===== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.step__num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-title);
  font-weight: 600;
  margin-bottom: 20px;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -16px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--gold-dark);
  border-right: 2px solid var(--gold-dark);
  transform: rotate(45deg);
  z-index: 1;
}

/* ===== Sobre ===== */
.about {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: center;
}
.about__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.82) contrast(1.06) saturate(.9) sepia(.12);
}
/* Escurece as bordas da foto para ela combinar com o site escuro */
.about__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(9, 9, 11, .85) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 35%, transparent 45%, rgba(9, 9, 11, .55) 100%),
    linear-gradient(135deg, rgba(226, 184, 103, .12), transparent 60%);
}
.about__content p { color: var(--muted); }
.about__content .lead { color: var(--text); }
.quote {
  margin: 32px 0 0;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.quote p { color: var(--text) !important; font-size: 1.05rem; font-style: italic; margin-bottom: .6em; }
.quote footer { color: var(--gold); font-weight: 600; font-size: .92rem; }

/* ===== Planos ===== */
.plans { align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.plan--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(226, 184, 103, .09), var(--surface) 40%);
}
.plan__flag {
  position: absolute;
  top: -14px;
  left: 30px;
  background: var(--gold-gradient);
  color: var(--gold-ink);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin: 0;
}
.plan__desc { color: var(--muted); }
.plan__price {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 6px 0 26px;
  line-height: 1.1;
}
.plan__price span {
  display: block;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 4px;
}
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 11px; flex: 1; }
.plan li { padding-left: 28px; position: relative; color: var(--muted); font-size: .97rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.extra { border: 1px dashed var(--border); border-radius: var(--radius); padding: 22px 24px; }
.extra h3 { font-size: 1rem; margin-bottom: .4em; }
.extra p { color: var(--muted); margin: 0; font-size: .92rem; }
.extra strong { color: var(--gold-light); font-weight: 600; }

/* ===== FAQ ===== */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-wrap .section__head { margin: 0; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(226, 184, 103, .5); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 14px 0 0; }

/* ===== CTA ===== */
.cta-section { padding: 0 0 110px; }
.cta {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
  padding: 48px 52px;
  border-radius: 24px;
  border: 1px solid rgba(226, 184, 103, .35);
  background:
    radial-gradient(600px 240px at 0% 0%, rgba(226, 184, 103, .28), transparent 70%),
    linear-gradient(135deg, #2a2011, #141418 70%);
}
.cta__actions { display: flex; flex-direction: column; gap: 12px; }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: .3em; }
.cta p { color: var(--muted); margin: 0; }
.cta__checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.cta__checks li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 10px; }

/* ===== Rodapé ===== */
.footer { border-top: 1px solid var(--border); padding: 40px 0 0; background: var(--bg-alt); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer__info { text-align: center; color: var(--muted); font-size: .9rem; }
.footer__info p { margin: 0; }
.footer__info a { color: var(--gold-light); text-decoration: none; }
.footer__info a:hover { text-decoration: underline; }
.footer__whats {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gold);
  transition: border-color .2s;
}
.footer__whats:hover { border-color: var(--gold); }
.footer__bottom {
  margin-top: 32px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .82rem;
}
.footer__bottom p { margin: 0; }

/* ===== WhatsApp flutuante ===== */
.whats-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whats);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
  transition: transform .2s;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 32px; height: 32px; }

/* ===== Animação ao rolar ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Notebook / tablet ===== */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .devices { max-width: 680px; margin: 0 auto; width: 100%; }
  .niches__inner { grid-template-columns: 1fr; gap: 24px; }
  .grid--4, .extras { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__photo { max-width: 420px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .cta { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .projects { grid-template-columns: 1fr; }
  .niches__list { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Celular ===== */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .cta-section { padding-bottom: 80px; }
  .hero { padding: 56px 0 72px; }
  .hero__actions .btn { width: 100%; }
  .hero__features { flex-direction: column; gap: 18px; margin-top: 40px; }
  .devices { padding: 0 13% 8% 7%; margin-right: 0; }
  .grid--3, .grid--4, .extras, .steps { grid-template-columns: 1fr; }
  .plans { max-width: none; }
  .niches__list { grid-template-columns: 1fr 1fr; }
  .cta { padding: 36px 24px; }
  .cta .btn { width: 100%; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__bottom { text-align: center; }

  .menu-toggle { display: flex; }
  .logo__text small { display: none; }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .3s, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav__cta { margin-top: 18px; }
}
