/* ===== Protec Services — preto & dourado ===== */
:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --surface: #16161a;
  --line: rgba(212, 175, 55, .18);
  --text: #f3efe6;
  --muted: #a7a29a;
  --gold-1: #f7e08a;
  --gold-2: #d4a72c;
  --gold-3: #9c7313;
  --gold: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 45%, var(--gold-3) 100%);
  --radius: 18px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.hidden { display: none; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.gold-text {
  background: var(--gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  font: 700 12px/1 var(--head);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-2);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-2); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 14px/1 var(--head); letter-spacing: .06em; text-transform: uppercase;
  padding: 18px 28px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s;
}
.btn svg { width: 20px; height: 20px; }
.btn--gold { background: var(--gold); color: #141006; box-shadow: 0 10px 30px -10px rgba(212, 167, 44, .6); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(212, 167, 44, .75); }
.btn--ghost { border-color: rgba(243, 239, 230, .25); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-1); }
.btn--sm { padding: 12px 20px; font-size: 12px; }
.btn--block { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11, 11, 12, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--head); }
.brand__text strong { font-weight: 900; font-size: 20px; letter-spacing: .08em; }
.brand__text small { font-weight: 600; font-size: 10px; letter-spacing: .42em; color: var(--gold-2); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  font: 600 14px/1 var(--head); color: var(--muted); position: relative; transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px;
  background: var(--gold-2); transform: scaleX(0); transition: transform .25s;
}
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 75% 45%, rgba(212, 167, 44, .20), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(212, 167, 44, .08), transparent 70%),
    linear-gradient(180deg, #0b0b0c 0%, #0e0d0b 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 900; margin: 22px 0 24px; text-transform: uppercase; }
.form select:invalid { color: #5f5b55; }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 540px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__badges { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero__badges li { display: flex; align-items: center; gap: 8px; font: 600 13px/1 var(--head); color: var(--text); opacity: .85; }
.hero__badges svg { width: 18px; height: 18px; color: var(--gold-2); }

.hero__visual { display: grid; place-items: center; }
.crest { position: relative; width: min(420px, 100%); aspect-ratio: 460 / 510; display: grid; place-items: center; }
.crest img { position: relative; width: 88%; height: auto; filter: drop-shadow(0 30px 50px rgba(212, 167, 44, .35)); animation: float 6s ease-in-out infinite; }
.crest__ring {
  position: absolute; inset: 4% -2%; border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle, rgba(212, 167, 44, .16), transparent 62%);
}
.crest__ring::before, .crest__ring::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(212, 175, 55, .22);
}
.crest__ring::before { inset: -6%; animation: spin 60s linear infinite; }
.crest__ring::after { inset: 10%; border-style: solid; border-color: rgba(212, 175, 55, .1); }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(243, 239, 230, .3); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-2); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== Ticker ===== */
.ticker { background: var(--gold); color: #141006; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: -10px -20px 0; position: relative; z-index: 2; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.ticker span { font: 900 18px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.ticker i { font-style: normal; font-size: 12px; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid rgba(255, 255, 255, .04); }
.section__head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold-2); }
.section__head h2, .about__copy h2, .contact__copy h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin: 18px 0 18px; }
.section__head p { color: var(--muted); font-size: 17px; }

/* ===== Service cards ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 36px 32px 34px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), #111114);
  border: 1px solid rgba(255, 255, 255, .06);
  overflow: hidden; isolation: isolate;
  transition: transform .35s ease, border-color .35s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(80% 60% at 0% 0%, rgba(212, 167, 44, .16), transparent 70%);
  transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--gold-2); color: var(--gold-1); margin-bottom: 26px;
  background: radial-gradient(circle, rgba(212, 167, 44, .14), transparent 70%);
}
.card__icon svg { width: 32px; height: 32px; }
.card__tag {
  position: absolute; top: 30px; right: 28px;
  font: 800 12px/1 var(--head); letter-spacing: .08em; color: var(--gold-2);
  border: 1px solid var(--line); padding: 7px 10px; border-radius: 999px;
}
.card h3 { font-size: 20px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 180px; gap: 14px; }
.ph { margin: 0; border-radius: 14px; overflow: hidden; position: relative; border: 1px solid var(--line); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; filter: saturate(.9) contrast(1.05); }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 11, 12, .55)); }
.ph:hover img { transform: scale(1.05); }
.ph--tall { grid-row: span 2; }
.ph--wide { grid-column: span 2; }
.about__copy > p:not(.eyebrow):not(.signature) { color: var(--muted); font-size: 17px; }
.audience { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.audience li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06);
  font: 700 14px/1 var(--head); text-transform: uppercase; letter-spacing: .04em;
}
.audience svg { width: 22px; height: 22px; color: var(--gold-2); flex: none; }
.signature { font: italic 600 clamp(26px, 3vw, 34px)/1.2 "Playfair Display", serif; }
.signature { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { padding: 42px 30px; text-align: center; position: relative; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature svg { width: 52px; height: 52px; color: var(--gold-2); margin: 0 auto 22px; display: block; }
.feature h3 { font-size: 16px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; letter-spacing: .02em; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { padding: 34px 30px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .06); background: var(--surface); position: relative; }
.step__n { font: 900 54px/1 var(--head); background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; display: block; margin-bottom: 18px; }
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 60px; right: -22px; width: 22px; height: 1px; background: var(--gold-2);
}

/* ===== Contact ===== */
.contact { background:
  radial-gradient(50% 70% at 0% 50%, rgba(212, 167, 44, .12), transparent 70%), var(--bg); }
.contact__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact__copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.whats-card {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 16px;
  padding: 16px 26px 16px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03); transition: border-color .25s, transform .25s;
}
.whats-card:hover { border-color: var(--gold-2); transform: translateY(-2px); }
.whats-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: #141006; display: grid; place-items: center; }
.whats-card__icon svg { width: 28px; height: 28px; }
.whats-card small { display: block; color: var(--muted); font-size: 13px; }
.whats-card strong { font: 800 20px/1.2 var(--head); }

.form {
  padding: clamp(26px, 4vw, 42px); border-radius: 24px;
  background: linear-gradient(180deg, var(--surface), #101013);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font: 600 13px/1 var(--head); color: var(--muted); letter-spacing: .02em; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 15px/1.4 var(--body); color: var(--text);
  background: #0d0d10; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23d4a72c' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form select option { background: #16161a; }
.form textarea { resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #5f5b55; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(212, 167, 44, .15); }
.form__note { font-size: 12.5px; color: #77726b; text-align: center; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); background: #08080a; padding: 56px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand img { width: 64px; }
.footer__brand strong { font: 900 18px/1 var(--head); letter-spacing: .08em; }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { color: var(--muted); font: 600 14px/1 var(--head); transition: color .2s; }
.footer__nav a:hover { color: var(--gold-1); }
.footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .05); color: #6c6862; font-size: 13px; }

/* ===== Floating WhatsApp ===== */
.float-whats {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .25s;
}
.float-whats svg { width: 32px; height: 32px; }
.float-whats:hover { transform: scale(1.08); }
.float-whats::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { to { transform: scale(1.6); opacity: 0; } }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 80px 0 auto; flex-direction: column; gap: 0; padding: 12px 20px 26px;
    background: rgba(11, 11, 12, .97); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 18px 0; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 16px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; width: 100%; }
  .header.menu-open { background: rgba(11, 11, 12, .97); }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { order: -1; }
  .crest { width: min(190px, 52vw); }
  .hero { padding-top: 104px; min-height: auto; }
  .hero__inner { gap: 18px; }
  .hero h1 { margin-top: 14px; }
  .hero .eyebrow::before { display: none; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas, .hero__badges { justify-content: center; }
  .scroll-cue { display: none; }

  .about, .contact__inner { grid-template-columns: 1fr; }
  .about__gallery { grid-template-rows: 170px 170px 150px; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .services, .features { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .form__row { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr 1fr; }
  .audience li { font-size: 12px; padding: 12px; }
  .hero__ctas .btn { width: 100%; }
  .whats-card { width: 100%; }
  .ticker span { font-size: 15px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== v2: área restrita, contatos, erro do formulário ===== */
.nav a.nav__login { color: var(--gold-2); }
.contact__copy .whats-card { display: flex; width: fit-content; max-width: 100%; }
.contact__copy .whats-card + .whats-card { margin-top: 12px; }
.mail-text { font-size: 16px !important; word-break: break-all; }
.form__erro { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .35); color: #fca5a5; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.footer__contact { display: grid; gap: 10px; }
.footer__contact a { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; transition: color .2s; }
.footer__contact a:hover { color: var(--gold-1); }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-2); flex: none; }
@media (max-width: 600px) { .contact__copy .whats-card { width: 100%; } }
