/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #08080f;
  --bg2:       #0f0f1a;
  --bg3:       #13131f;
  --surface:   #1a1a2e;
  --border:    rgba(255,255,255,.07);
  --text:      #e8e8f0;
  --muted:     #8888aa;
  --accent:    #10b981;
  --accent2:   #06b6d4;
  --green:     #22c55e;
  --wa:        #25d366;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 4px 32px rgba(0,0,0,.45);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── Typography ── */
h1, h2, h3 { line-height: 1.15; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { color: var(--muted); }

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Container ── */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 0 24px rgba(16,185,129,.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(16,185,129,.55); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: .5rem 1rem; font-size: .85rem; }
.btn--full { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(8,8,15,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: .7rem 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo {
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
  color: #fff;
  letter-spacing: -.02em;
}
.nav__logo span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin-left: auto;
}
.nav__links a {
  text-decoration: none;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav__links a:hover { color: var(--text); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: .25rem;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 500px; height: 500px;
  background: rgba(16,185,129,.18);
  top: -120px; left: -80px;
}
.hero__glow--2 {
  width: 400px; height: 400px;
  background: rgba(6,182,212,.14);
  bottom: 0; right: -100px;
}
.hero__inner { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.3);
  color: #86efac;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.hero__badge::before { content: '●'; color: var(--green); font-size: .55rem; }

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  max-width: 760px;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: .15rem; }
.stat__num {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat__label { font-size: .78rem; color: var(--muted); font-weight: 500; }
.stat__divider { width: 1px; height: 32px; background: var(--border); }

/* ── SECTIONS ── */
.section { padding: 6rem 0; }
.section--dark { background: var(--bg2); }

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section__tag {
  display: inline-block;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.25);
  color: #86efac;
  padding: .3rem .85rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section__title { margin-bottom: .75rem; }
.section__sub { color: var(--muted); font-size: 1.05rem; margin-top: .5rem; }

/* ── CARDS (SERVIÇOS) ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.cards--two {
  max-width: 780px;
  margin-inline: auto;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}
.card:hover { border-color: rgba(16,185,129,.4); transform: translateY(-4px); box-shadow: var(--shadow); }
.card--highlight {
  border-color: rgba(16,185,129,.5);
  background: linear-gradient(145deg, rgba(16,185,129,.1), rgba(6,182,212,.06));
  box-shadow: 0 0 0 1px rgba(16,185,129,.2), var(--shadow);
}
.card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .8rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.card__icon { font-size: 2rem; margin-bottom: 1rem; }
.card__title { margin-bottom: .6rem; color: var(--text); }
.card__text { font-size: .9rem; margin-bottom: 1.25rem; }
.card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.card__list li {
  font-size: .875rem;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
}
.card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── PORTFOLIO ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(16,185,129,.3); }

.portfolio-card__img {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-card__img--nutri {
  background-image: url('images/site-nutri.png');
  background-size: cover;
  background-position: center top;
}
.portfolio-card__img--limports {
  background-image: url('images/site-imports.png');
  background-size: cover;
  background-position: center top;
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}
.portfolio-card__tag--soon { background: rgba(251,146,60,.25); color: #fb923c; }

.portfolio-card__wip {
  font-size: .9rem;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}

.portfolio-card__info { padding: 1.5rem; }
.portfolio-card__info h3 { color: var(--text); margin-bottom: .5rem; font-size: 1.05rem; }
.portfolio-card__info p  { font-size: .875rem; margin-bottom: 1rem; }

.portfolio-card__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: .25rem;
  transition: var(--transition);
}
.portfolio-card__link:hover { gap: .55rem; }

/* ── SOBRE ── */
.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: center;
}
.sobre__img-wrap {
  position: relative;
}
.sobre__img-wrap::after {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 2px solid rgba(16,185,129,.35);
  border-radius: 18px;
  z-index: 0;
}
.sobre__img-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  background-color: var(--bg3);
}
.sobre__img-badge {
  position: absolute;
  bottom: -1rem; right: -1rem;
  background: var(--surface);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--radius);
  padding: .75rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: var(--shadow);
}
.sobre__content { display: flex; flex-direction: column; gap: 1.25rem; }
.sobre__content p { font-size: .95rem; line-height: 1.75; }
.sobre__features { display: flex; flex-direction: column; gap: .9rem; margin-top: .5rem; }
.feature {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.feature__icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}
.feature div { display: flex; flex-direction: column; gap: .1rem; }
.feature strong { font-size: .9rem; color: var(--text); font-weight: 600; }
.feature span   { font-size: .82rem; color: var(--muted); }

/* ── STEPS ── */
.steps {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
}
.step:hover { border-color: rgba(16,185,129,.35); }
.step__num {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .75rem;
}
.step h3 { font-size: .95rem; color: var(--text); margin-bottom: .5rem; }
.step p  { font-size: .85rem; }
.step__arrow {
  color: var(--muted);
  font-size: 1.5rem;
  flex-shrink: 0;
  align-self: center;
}

/* ── CONTATO ── */
.contato__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contato__info { display: flex; flex-direction: column; gap: 1rem; }
.contato__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}
.contato__card:hover { border-color: rgba(16,185,129,.35); transform: translateX(4px); }
.contato__card--wa  { border-color: rgba(37,211,102,.25); }
.contato__card--wa:hover { border-color: var(--wa); }
.contato__card--info { cursor: default; }
.contato__card--info:hover { transform: none; }
.contato__card > div { display: flex; flex-direction: column; gap: .1rem; flex: 1; }
.contato__card strong { font-size: .9rem; font-weight: 600; }
.contato__card span  { font-size: .8rem; color: var(--muted); }
.contato__card-arrow { color: var(--muted); font-size: 1.1rem; margin-left: auto; flex-shrink: 0; }

/* ── FORM ── */
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__group { display: flex; flex-direction: column; gap: .45rem; }
.form__group label { font-size: .82rem; font-weight: 600; color: var(--text); }
.form__group input,
.form__group textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  width: 100%;
  transition: var(--transition);
  resize: none;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(136,136,170,.55); }
.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}
.form__note { font-size: .76rem; text-align: center; margin-top: -.5rem; }

/* ── FOOTER ── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.footer p { font-size: .85rem; }
.footer__copy { font-size: .78rem; color: rgba(136,136,170,.45); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  background: var(--wa);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--transition);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }

/* ── AOS (scroll animations) ── */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8,8,15,.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 1.2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.1rem; }
  .nav__burger { display: flex; z-index: 1001; }

  .hero__title { font-size: clamp(1.9rem, 8vw, 3rem); }

  .sobre__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .sobre__img-wrap { max-width: 300px; margin-inline: auto; padding-right: 12px; }
  .sobre__img-badge { right: 0; }

  .contato__inner { grid-template-columns: 1fr; }

  .steps { flex-direction: column; }
  .step__arrow { display: none; }

  .form__row { grid-template-columns: 1fr; }

  .hero__stats { gap: 1.25rem; }
  .stat__num { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}
