/* =========================================================
   PROTECMIND GROUP — Design System v3
   Estrutura inspirada na Redbelt Security | Identidade Protecmind
   Verde Petróleo & Grafite | Montserrat + Inter
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --verde-petroleo: #0B3D3A;
  --verde-petroleo-700: #093330;
  --verde-petroleo-900: #062220;
  --verde-accent: #17C79B;
  --grafite: #1F1F1F;
  --cinza-medio: #4A4A4A;
  --cinza-claro: #E6E8EA;
  --branco: #FFFFFF;

  --bg: var(--branco);
  --bg-alt: #F3F6F5;
  --text: var(--grafite);
  --text-soft: var(--cinza-medio);
  --border: #E2E6E5;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(6, 34, 32, .08);
  --shadow-lg: 0 24px 60px rgba(6, 34, 32, .18);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.14; letter-spacing: -0.015em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
:focus-visible { outline: 2px solid var(--verde-accent); outline-offset: 2px; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--verde-petroleo); color: #EAF3F1; }

.eyebrow {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--verde-accent); margin-bottom: 14px;
}
.eyebrow--dark { color: var(--verde-accent); }
.eyebrow--center { text-align: center; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-head p { margin-top: 18px; font-size: 1.1rem; color: var(--text-soft); }
.section--dark .section-head p { color: #B9D4CF; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700;
  font-size: .96rem; padding: 16px 30px; border-radius: 999px; border: 1.5px solid transparent;
  transition: all .22s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .22s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--verde-accent); color: var(--verde-petroleo-900); }
.btn--primary:hover { background: #22DDAF; box-shadow: 0 14px 30px rgba(23,199,155,.35); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--dark { background: var(--verde-petroleo); color: #fff; }
.btn--dark:hover { background: var(--verde-petroleo-700); box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--verde-petroleo); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--verde-petroleo); background: var(--bg-alt); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; color: var(--verde-petroleo); }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--font-display); font-weight: 700; font-size: .86rem; padding: 10px 16px; border-radius: 999px; color: var(--grafite); transition: all .2s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-alt); color: var(--verde-petroleo); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--verde-petroleo); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 130px 0 110px;
  background: radial-gradient(1200px 600px at 15% -10%, rgba(23,199,155,.35), transparent 60%),
              radial-gradient(900px 500px at 100% 0%, rgba(23,199,155,.18), transparent 55%),
              linear-gradient(160deg, var(--verde-petroleo-900), var(--verde-petroleo) 55%, var(--verde-petroleo-700));
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 900; }
.hero p.lead { margin-top: 24px; font-size: 1.2rem; color: #C9DEDA; max-width: 620px; }
.hero__ctas { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Client strip ---------- */
.client-strip { padding: 44px 0; border-bottom: 1px solid var(--border); }
.client-strip__label { font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); text-align: center; margin-bottom: 28px; }
.client-strip__row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 40px 56px; }
.client-strip__row img { height: 30px; width: auto; object-fit: contain; filter: grayscale(1) opacity(.55); transition: filter .25s var(--ease); }
.client-strip__row img:hover { filter: grayscale(0) opacity(1); }

/* ---------- Stats ---------- */
.stats-block { display: flex; flex-wrap: wrap; gap: 40px 64px; margin-top: 40px; }
.stats-block__item { min-width: 120px; }
.stats-block__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--verde-petroleo); line-height: 1; }
.section--dark .stats-block__num { color: #fff; }
.stats-block__caption { margin-top: 8px; font-size: .96rem; color: var(--text-soft); font-weight: 500; }
.section--dark .stats-block__caption { color: #B9D4CF; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.icon-hex {
  width: 56px; height: 56px; flex: none; border-radius: var(--radius-sm); background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.icon-hex svg { width: 46%; height: 46%; color: var(--verde-petroleo); }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: .96rem; }
.card .tag-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--font-display); font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--bg-alt); color: var(--verde-petroleo); }

/* ---------- Numbered problem list (estilo "as empresas confiam em nós") ---------- */
.problem-list { display: flex; flex-direction: column; }
.problem-item { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 34px 0; border-top: 1px solid var(--border); }
.problem-item:last-child { border-bottom: 1px solid var(--border); }
.problem-item__num { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--verde-accent); }
.problem-item h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.problem-item p { color: var(--text-soft); font-size: 1rem; max-width: 640px; }

/* ---------- Diferenciais / vantagens ---------- */
.check-list li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.check-list li:last-child { border-bottom: none; }
.check-list .ic { flex: none; width: 24px; height: 24px; color: var(--verde-accent); margin-top: 2px; }
.check-list strong { font-family: var(--font-display); font-weight: 700; display: block; margin-bottom: 4px; }
.check-list p { color: var(--text-soft); font-size: .96rem; }
.bullet-list li { display: flex; gap: 12px; padding: 9px 0; }
.bullet-list .ic { flex: none; width: 20px; height: 20px; color: var(--verde-petroleo); margin-top: 3px; }
.section--dark .bullet-list .ic { color: var(--verde-accent); }

/* ---------- Service category blocks ---------- */
.svc-category { padding: 60px 0; border-bottom: 1px solid var(--border); }
.svc-category:last-of-type { border-bottom: none; }
.svc-category__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 34px; }
.svc-category__num { font-family: var(--font-display); font-weight: 900; font-size: 1rem; color: #fff; background: var(--verde-petroleo); border-radius: 50%; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; flex: none; }
.svc-category__head h2 { font-size: 1.45rem; }

/* ---------- Vertical tabs ---------- */
.vtabs__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.vtabs__btn { font-family: var(--font-display); font-weight: 700; font-size: .88rem; padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; color: var(--text-soft); transition: all .2s var(--ease); display: inline-flex; align-items: center; gap: 9px; }
.vtabs__btn svg { width: 18px; height: 18px; }
.vtabs__btn:hover { border-color: var(--verde-petroleo); color: var(--verde-petroleo); }
.vtabs__btn.is-active { background: var(--verde-petroleo); border-color: var(--verde-petroleo); color: #fff; }
.vtabs__panel { display: none; }
.vtabs__panel.is-active { display: block; animation: fadeUp .35s var(--ease); }
.vtabs__content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; background: var(--bg-alt); border-radius: var(--radius); padding: 46px; }
.vtabs__content h3 { font-size: 1.6rem; margin-bottom: 18px; }
.vtabs__content p { color: var(--text-soft); font-size: 1.02rem; }
.vtabs__related { font-family: var(--font-display); font-weight: 800; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--verde-petroleo); margin-bottom: 14px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Logo grid (Cases) ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.logo-tile { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); height: 132px; display: flex; align-items: center; justify-content: center; padding: 28px; filter: grayscale(1) opacity(.7); transition: all .3s var(--ease); }
.logo-tile:hover { filter: grayscale(0) opacity(1); transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-tile img { max-height: 56px; max-width: 100%; object-fit: contain; }

/* ---------- Leadership ---------- */
.leader { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.leader__photo { position: relative; }
.leader__photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 3/4; object-fit: cover; box-shadow: var(--shadow-lg); }
.leader__badge { position: absolute; bottom: -18px; left: -18px; background: var(--verde-petroleo); color: #fff; padding: 15px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-family: var(--font-display); }
.leader__badge strong { display: block; font-size: .96rem; }
.leader__badge span { font-size: .78rem; color: var(--verde-accent); }
.leader__body h3 { font-size: 1.6rem; margin-bottom: 18px; }
.leader__body p { color: var(--text-soft); margin-bottom: 16px; font-size: 1.02rem; }

/* ---------- Timeline mini (fundação) ---------- */
.founding-strip { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.founding-strip .pin { color: var(--verde-accent); flex: none; width: 26px; height: 26px; }

/* ---------- Action words band ---------- */
.action-band { background: var(--verde-petroleo-900); padding: 56px 0; overflow: hidden; }
.action-band__row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.action-band__word { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.6rem); color: rgba(255,255,255,.9); }
.action-band__word span { color: var(--verde-accent); }

/* ---------- Newsletter band ---------- */
.newsletter { background: var(--bg-alt); padding: 72px 0; }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.newsletter__text h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; }
.newsletter__text p { margin-top: 10px; color: var(--text-soft); max-width: 460px; }
.newsletter__form { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.newsletter__form input { padding: 15px 20px; border-radius: 999px; border: 1.5px solid var(--border); min-width: 280px; background: #fff; }
.newsletter__form input:focus { outline: none; border-color: var(--verde-petroleo); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--verde-petroleo); color: #fff; text-align: center; padding: 88px 0; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); max-width: 780px; margin: 0 auto 34px; font-weight: 800; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; }
.contact-card { background: var(--verde-petroleo); color: #fff; border-radius: var(--radius); padding: 44px; }
.contact-card h3 { font-size: 1.3rem; margin-bottom: 26px; }
.contact-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ic { flex: none; width: 22px; height: 22px; color: var(--verde-accent); margin-top: 3px; }
.contact-item strong { display: block; font-family: var(--font-display); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #A9CFC9; margin-bottom: 3px; }
.contact-item a, .contact-item span { font-size: 1rem; }
.contact-item a:hover { color: var(--verde-accent); }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.3rem; }
.form-card > p { color: var(--text-soft); margin-top: 10px; margin-bottom: 30px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .86rem; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fbfcfc; transition: border-color .2s var(--ease), background .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--verde-petroleo); background: #fff; outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field textarea { resize: vertical; min-height: 110px; }
.form-msg { display: none; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .92rem; margin-top: 18px; font-weight: 500; }
.form-msg.is-visible { display: block; }
.form-msg--ok { background: #E6F8F1; color: #0B7A55; border: 1px solid #A9E6CC; }
.form-msg--error { background: #FBEAEA; color: #B23A3A; border: 1px solid #F0C4C4; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 56px; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--grafite); color: #C9C9C9; padding: 72px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 800; margin-bottom: 16px; }
.footer__brand img { height: 34px; }
.footer p.desc { font-size: .92rem; color: #9CA3A3; max-width: 260px; line-height: 1.7; }
.footer h4 { font-family: var(--font-display); color: #fff; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul li { margin-bottom: 12px; }
.footer a { font-size: .92rem; color: #C9C9C9; transition: color .2s; }
.footer a:hover { color: var(--verde-accent); }
.footer address, .footer span.static { font-style: normal; font-size: .92rem; color: #C9C9C9; line-height: 1.6; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: .84rem; color: #7C8383; flex-wrap: wrap; gap: 12px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.footer__social svg { width: 18px; height: 18px; }
.footer__social a:hover { border-color: var(--verde-accent); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.text-center { text-align: center; }
.muted { color: var(--text-soft); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .leader { grid-template-columns: 1fr; }
  .leader__photo { max-width: 320px; margin: 0 auto; }
  .vtabs__content { grid-template-columns: 1fr; padding: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .problem-item { grid-template-columns: 60px 1fr; }
  .newsletter__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav { position: fixed; inset: 74px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 20px; gap: 4px; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding: 14px 16px; }
  .nav-toggle { display: block; }
  .header__cta .btn span { display: none; }
  .header__cta .btn { padding: 12px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .vtabs__nav { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .client-strip__row { gap: 28px 32px; }
  .action-band__row { gap: 24px; }
  .newsletter__form input { min-width: 0; width: 100%; }
}
