/* ============================================================
   PELICOMTECH AI — Design System
   Palette & type derived from pelicomtech.com.br
   Brand blue #0170B9 · cyan #6EC1E4 · green #61CE70
   Montserrat (headings) + Roboto (body)
   ============================================================ */

:root {
  /* Brand */
  --blue:        #0170B9;
  --blue-deep:   #014e80;
  --cyan:        #6EC1E4;
  --green:       #61CE70;
  --purple:      #6a11cb;

  /* Neutrals */
  --ink:         #0c1b2a;   /* near-black navy text */
  --navy:        #0a1827;   /* dark section bg */
  --navy-2:      #0e2236;
  --slate:       #51657a;   /* muted body text */
  --line:        #e3e9f0;
  --soft:        #f4f8fc;   /* light section tint */
  --white:       #ffffff;

  /* Dark-section text */
  --d-text:      #c7d6e6;
  --d-muted:     #8ba2bb;

  /* Effects */
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 55%, var(--blue-deep) 100%);
  --grad-soft: linear-gradient(120deg, #eaf6fd 0%, #f4f8fc 100%);
  --shadow-sm: 0 4px 16px rgba(12, 27, 42, .06);
  --shadow-md: 0 16px 44px rgba(12, 27, 42, .10);
  --shadow-lg: 0 30px 70px rgba(1, 78, 128, .18);
  --radius:    18px;
  --radius-sm: 12px;

  --maxw: 1160px;
  --pad:  clamp(20px, 5vw, 40px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Roboto', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.12; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.tm { font-size: .45em; vertical-align: super; -webkit-text-fill-color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(1, 112, 185, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(1, 112, 185, .45); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.04rem; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(10, 24, 39, 0);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(10, 24, 39, .82);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.brand { display: flex; align-items: center; }
.brand-img {
  display: block; height: 56px; width: auto;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .94rem;
  color: rgba(255,255,255,.92); opacity: .95; transition: opacity .2s, color .2s;
}
.nav > a:hover { opacity: 1; color: var(--cyan); }
.nav .nav-cta { color: #fff !important; opacity: 1; }
.nav .nav-cta:hover { color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark { background: radial-gradient(120% 120% at 80% -10%, var(--navy-2) 0%, var(--navy) 60%); color: var(--d-text); overflow: hidden; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 14px; }

.kicker {
  display: inline-block; font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.kicker.on-dark { color: var(--cyan); }
.lead-muted { color: var(--slate); font-size: 1.06rem; }
.section-dark .lead-muted { color: var(--d-muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(130% 100% at 70% -20%, var(--navy-2) 0%, var(--navy) 55%);
  color: #fff; overflow: hidden; padding-top: 84px;
}
.hero-glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  top: -16%; right: -8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(110,193,228,.35) 0%, rgba(1,112,185,.18) 40%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.glow-2 { left: -10%; right: auto; top: auto; bottom: -20%; background: radial-gradient(circle, rgba(97,206,112,.22) 0%, rgba(1,112,185,.15) 45%, transparent 70%); }
.glow-3 { top: -30%; left: 50%; transform: translateX(-50%); right: auto; background: radial-gradient(circle, rgba(110,193,228,.28) 0%, transparent 65%); }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.eyebrow {
  display: inline-block; font-family: 'Montserrat', sans-serif; font-weight: 700;
  letter-spacing: .28em; font-size: .82rem; color: var(--cyan); margin-bottom: 22px;
  padding: 8px 16px; border: 1px solid rgba(110,193,228,.35); border-radius: 999px;
  background: rgba(110,193,228,.08);
}
.hero-title { font-size: clamp(2.3rem, 6.2vw, 4.4rem); font-weight: 900; color: #fff; margin-bottom: 24px; }
.hero-lead { font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: var(--d-text); max-width: 660px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Problem / intersection ---------- */
.problem { text-align: center; max-width: 880px; margin: 0 auto 44px; }
.problem-title { font-size: clamp(1.6rem, 4.2vw, 2.8rem); margin-bottom: 22px; color: #fff; }
.chips {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 880px; margin: 0 auto 44px;
}
.chips li {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .95rem; color: var(--d-text);
  padding: 11px 20px; border: 1px solid rgba(110,193,228,.28); border-radius: 999px;
  background: rgba(110,193,228,.06); transition: transform .2s, border-color .2s, background .2s;
}
.chips li:hover { transform: translateY(-3px); border-color: var(--cyan); background: rgba(110,193,228,.14); }
.closing-line { text-align: center; font-size: clamp(1.05rem, 2.3vw, 1.4rem); color: var(--d-muted); }
.closing-line strong { color: #fff; font-family: 'Montserrat', sans-serif; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-text h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 18px; }
.split-text p { color: var(--slate); margin-bottom: 14px; }
.section-dark .split-text p { color: var(--d-text); }

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.check-list li {
  position: relative; padding-left: 34px; font-weight: 500; font-size: 1.02rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat var(--blue);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- Cards (entregas) ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 34px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-num {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem; color: var(--cyan);
  letter-spacing: .1em; margin-bottom: 14px;
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(110,193,228,.18), rgba(1,112,185,.12));
  color: var(--blue); margin-bottom: 18px; transition: transform .3s;
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { transform: scale(1.06) rotate(-3deg); }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card-sub { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--blue); font-size: .96rem; margin-bottom: 14px; }
.card-desc { color: var(--slate); font-size: 1rem; margin-bottom: 20px; }
.card-desc:last-child { margin-bottom: 0; }
.mini-list { display: grid; gap: 9px; }
.mini-list li { position: relative; padding-left: 22px; font-size: .96rem; color: var(--ink); }
.mini-list li::before {
  content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad);
}

/* ---------- Prose (quem somos) ---------- */
.prose { max-width: 820px; margin: 0 auto; text-align: center; }
.prose p { color: var(--slate); font-size: 1.08rem; margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Equipe ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.member {
  position: relative; padding: 36px 32px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  transition: transform .25s, background .25s, border-color .25s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.member:hover {
  transform: translateY(-6px); background: rgba(110,193,228,.06);
  border-color: rgba(110,193,228,.35); box-shadow: 0 24px 60px rgba(1,112,185,.25);
}
.member-photo {
  width: 112px; height: 112px; border-radius: 50%; margin-bottom: 22px;
  position: relative; overflow: hidden;
  background: var(--grad);
  box-shadow: 0 14px 34px rgba(1,112,185,.4);
}
.member-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block; border-radius: 50%;
}
.member-photo::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(110,193,228,.3); pointer-events: none;
}
.member h3 { color: #fff; font-size: 1.18rem; margin-bottom: 6px; line-height: 1.2; }
.member-role {
  font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--cyan);
  font-size: .9rem; margin-bottom: 18px; line-height: 1.4;
}
.member-bio { color: var(--d-text); font-size: .94rem; line-height: 1.6; margin-bottom: 12px; }
.member-spec-label {
  font-family: 'Montserrat', sans-serif; font-weight: 700; color: #fff;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  margin: 20px 0 12px;
}
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.spec-chips li {
  font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: .78rem; color: var(--d-text);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(110,193,228,.22); background: rgba(110,193,228,.06);
  transition: border-color .2s, background .2s;
}
.spec-chips li:hover { border-color: var(--cyan); background: rgba(110,193,228,.14); color: #fff; }

/* ---------- Framework ---------- */
.framework { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fw-item {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  transition: transform .25s, background .25s, border-color .25s;
}
.fw-item:hover { transform: translateY(-5px); background: rgba(110,193,228,.10); border-color: rgba(110,193,228,.4); }
.fw-dot { display: block; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); margin-bottom: 18px; box-shadow: 0 8px 22px rgba(1,112,185,.4); }
.fw-item h3 { font-size: 1.18rem; margin-bottom: 8px; color: #fff; }
.fw-item p { color: var(--d-muted); font-size: .98rem; }

/* ---------- Tag list (especialistas / about) ---------- */
.tag-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tag-list li {
  position: relative; padding: 14px 18px 14px 42px; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--line); font-weight: 500; font-size: .98rem;
  box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s;
}
.tag-list li:hover { transform: translateX(4px); border-color: var(--cyan); }
.tag-list li::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 2px; background: var(--grad);
}
.section-dark .tag-list li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--d-text); box-shadow: none; }
.tag-list.compact li { padding: 11px 14px 11px 36px; font-size: .92rem; }
.tag-list.compact li::before { left: 14px; }

/* ---------- Value grid (diferencial) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 920px; margin: 0 auto; }
.value {
  text-align: center; padding: 30px 22px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .3s;
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value strong { font-family: 'Montserrat', sans-serif; font-size: 1.06rem; color: var(--ink); }

/* ---------- Moments ---------- */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.moment {
  padding: 24px 24px; border-radius: var(--radius); font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 1.04rem; color: var(--ink); background: var(--grad-soft); border: 1px solid var(--line);
  border-left: 3px solid var(--blue); transition: transform .2s, box-shadow .25s;
}
.moment:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ---------- About ---------- */
.about { align-items: center; }
.about-photo { display: flex; justify-content: center; }
.photo-frame {
  position: relative; width: 100%; max-width: 380px; aspect-ratio: 4/5; border-radius: 24px;
  background: linear-gradient(150deg, rgba(110,193,228,.18), rgba(1,112,185,.10));
  border: 1px solid rgba(110,193,228,.3); display: grid; place-items: center;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.photo-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: 24px;
  background: radial-gradient(80% 60% at 50% 0%, rgba(110,193,228,.2), transparent 70%);
}
.photo-placeholder { position: relative; z-index: 1; text-align: center; font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--cyan); letter-spacing: .04em; }
.exp-label { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #fff !important; margin: 22px 0 14px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- CTA / Contact ---------- */
.cta-section { background: var(--grad-soft); overflow: hidden; }
.cta-inner { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.cta-inner h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); margin-bottom: 16px; }
.cta-inner > .lead-muted { margin-bottom: 40px; }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .86rem; color: var(--ink); }
.field input, .field textarea {
  font-family: 'Roboto', sans-serif; font-size: 1rem; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--soft); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(1,112,185,.12);
}
.field input::placeholder, .field textarea::placeholder { color: #9fb1c3; }
.form-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 6px; }
.form-actions .btn { width: 100%; max-width: 420px; }
.form-note { font-size: .92rem; color: var(--slate); min-height: 1.2em; text-align: center; }
.form-note.ok { color: #1a9b4a; font-weight: 600; }
.form-note.err { color: #d23b3b; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--d-muted); padding-top: 60px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { display: block; height: 72px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 360px; font-size: .96rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.footer-nav a { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .94rem; color: var(--d-text); transition: color .2s; }
.footer-nav a:hover { color: var(--cyan); }
.footer-bottom { padding: 22px 0 28px; font-size: .86rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .cards, .cards-3 { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .framework { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .moments { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 24, 39, .96); backdrop-filter: blur(14px); padding: 14px var(--pad) 24px;
    box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .35s ease; pointer-events: none;
  }
  .nav.open { transform: translateY(0); pointer-events: auto; }
  .nav > a { color: rgba(255,255,255,.92) !important; padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.08); opacity: 1; }
  .nav .nav-cta { margin-top: 14px; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .brand-img { height: 46px; }

  .cards, .cards-3, .framework, .value-grid, .moments, .check-list, .tag-list, .contact-form { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
