/* ===================================================================
   RM & AS Representações — Landing Page
   Paleta: azul-marinho, branco, cinza claro, dourado discreto
   =================================================================== */

:root {
  --navy: #0b2545;
  --navy-deep: #071a33;
  --navy-soft: #13315c;
  --gold: #c2a36b;
  --gold-strong: #b08d4f;
  --white: #ffffff;
  --gray-50: #f6f8fb;
  --gray-100: #eef2f7;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #556579;
  --ink: #1c2b3a;
  --text: #37485a;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 16px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 14px 40px rgba(11, 37, 69, 0.10);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}
.narrow { max-width: 820px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-serif); color: var(--navy); font-weight: 600; line-height: 1.15; letter-spacing: .2px; }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  margin-bottom: 1.1rem;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: .9rem;
}
.section-tag.light { color: var(--gold); }
.section-tag::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn.full { width: 100%; }

.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-soft); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-ghost.dark { color: var(--navy); border-color: var(--navy); }
.btn-ghost.dark:hover { background: var(--navy); color: #fff; }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--gray-200); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-strong); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: var(--navy); letter-spacing: .5px; }
.brand-mark .amp { color: var(--gold); margin: 0 1px; }
.brand-sub { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gray-600); margin-top: 3px; }

.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-list a {
  display: inline-block;
  padding: 9px 14px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-list a:hover { color: var(--navy); background: var(--gray-50); }
.nav-list a.nav-cta {
  color: #fff;
  background: var(--navy);
  margin-left: 8px;
}
.nav-list a.nav-cta:hover { background: var(--navy-soft); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(90px, 16vh, 170px) 0 clamp(80px, 14vh, 140px);
  background:
    linear-gradient(120deg, rgba(7,26,51,.94) 0%, rgba(11,37,69,.86) 55%, rgba(19,49,92,.78) 100%),
    url("https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(1000px 500px at 80% -10%, rgba(194,163,107,.16), transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 820px; }
.eyebrow {
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1.2rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin-bottom: 2.3rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions.center { justify-content: center; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--gray-50); }
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-intro, .lead { color: var(--gray-600); font-size: 1.08rem; }
.section-intro { margin-top: .4rem; }

.prose p { margin-bottom: 1.2rem; color: var(--text); font-size: 1.08rem; }
.prose p:last-child { margin-bottom: 0; }

.center { text-align: center; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.align-center { align-items: center; }
.align-start { align-items: start; }

/* ---------- Service cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gray-200); }
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--gold);
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.card p { color: var(--gray-600); font-size: .98rem; }

/* ---------- Split sections ---------- */
.split-text .section-title { margin-bottom: 1rem; }
.split-text .btn { margin-top: 1.6rem; }
.grid-2.reverse .check-list { order: 2; }

.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li {
  position: relative;
  padding: 16px 18px 16px 52px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.section-alt .check-list li { background: #fff; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 18px; top: 50%;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  background: var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.9);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 24px; top: 50%;
  width: 5px; height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-65%) rotate(45deg);
}

/* ---------- Brands ---------- */
.brand-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.brand-card.featured { border-color: var(--gold); box-shadow: 0 18px 44px rgba(194,163,107,.18); }
.brand-badge {
  position: absolute; top: 18px; right: 18px;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-strong); font-weight: 700;
  background: rgba(194,163,107,.12);
  padding: 5px 10px; border-radius: 999px;
}
.brand-name { font-size: 1.7rem; margin-bottom: .2rem; }
.brand-sector { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-strong); font-weight: 600; margin-bottom: 1rem; }
.brand-card p { color: var(--gray-600); margin-bottom: 1.6rem; flex-grow: 1; }
.brand-card .btn { margin-top: auto; }
.brand-card.placeholder { background: var(--gray-50); border-style: dashed; border-color: var(--gray-200); }
.brand-plus {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--gold-strong); font-weight: 300;
  background: #fff; border: 1px solid var(--gray-200);
  margin-bottom: 16px;
}

/* ---------- Dark section (timeline) ---------- */
.section-dark { background: var(--navy-deep); color: rgba(255,255,255,.85); }
.section-dark .section-title { color: #fff; }
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.timeline-step {
  position: relative;
  padding: 30px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
}
.timeline-step h3 { color: #fff; font-size: 1.35rem; margin: .3rem 0 .5rem; }
.timeline-step p { color: rgba(255,255,255,.72); font-size: .96rem; }
.step-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

/* ---------- Features / diferenciais ---------- */
.features { gap: 18px; }
.feature {
  display: flex; align-items: center; gap: 16px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.feature p { font-weight: 500; color: var(--ink); }
.feature-dot {
  flex-shrink: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(194,163,107,.15);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
  color: #fff;
}
.cta-title { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 1.2rem; }
.cta-text { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 640px; margin: 0 auto 2.2rem; }

/* ---------- Contact ---------- */
.contact-grid { gap: 50px; }
.contact-intro .lead { margin-bottom: 1.8rem; }
.contact-whats {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; color: var(--navy);
  padding: 14px 22px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: border-color .2s, color .2s, transform .2s;
}
.contact-whats svg { color: #25d366; }
.contact-whats:hover { border-color: #25d366; transform: translateY(-2px); }

.contact-form {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans);
  font-size: .98rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(194,163,107,.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .9rem; text-align: center; min-height: 1em; }
.form-note.ok { color: #1a7f4b; }
.form-note.err { color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding-top: 60px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand .brand-mark { color: #fff; font-size: 1.7rem; }
.footer-brand .brand-mark .amp { color: var(--gold); }
.footer-legal { margin-top: 14px; font-weight: 600; color: #fff; letter-spacing: .04em; font-size: .95rem; }
.footer-tag { margin-top: 8px; max-width: 380px; font-size: .95rem; color: rgba(255,255,255,.62); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; align-content: start; }
.footer-nav a { font-size: .93rem; color: rgba(255,255,255,.72); transition: color .2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom p { font-size: .84rem; color: rgba(255,255,255,.5); }

/* ---------- WhatsApp float ---------- */
.whats-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .25s var(--ease), box-shadow .25s;
  animation: whats-pulse 2.6s infinite;
}
.whats-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37,211,102,.55); }
@keyframes whats-pulse {
  0% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); }
  70% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .nav.open { max-height: 480px; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 12px clamp(20px,5vw,40px) 22px; }
  .nav-list a { padding: 14px 8px; border-radius: 8px; }
  .nav-list a.nav-cta { margin: 8px 0 0; text-align: center; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .grid-2.reverse .check-list { order: 0; }
  .contact-grid { gap: 34px; }
  .contact-form { padding: 26px; }
  .cta-title br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
