/* ===================================================================
   RibeiroVendramini IT Solutions — estilos institucionais
   =================================================================== */

:root {
  --navy-900: #01152e;
  --navy-800: #012046;
  --navy-700: #002d60;
  --navy-600: #0d3f7a;
  --navy-100: #eaf0f8;

  --orange-600: #e35400;
  --orange-500: #fc5f01;
  --orange-400: #ff7f33;
  --orange-100: #fff1e6;

  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --text: #16202e;
  --text-muted: #5c6b7d;
  --border: #e6eaf1;

  --shadow-sm: 0 2px 10px rgba(1, 21, 46, 0.06);
  --shadow-md: 0 12px 32px rgba(1, 21, 46, 0.10);
  --shadow-lg: 0 24px 60px rgba(1, 21, 46, 0.16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font-head: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 14px;
}
.eyebrow--dark { color: var(--orange-500); }

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section__head p { font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
  box-shadow: 0 10px 24px rgba(252, 95, 1, 0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(252, 95, 1, 0.36); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn--light {
  background: #fff;
  color: var(--navy-800);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--wpp {
  background: #25d366;
  color: #fff;
  margin-top: 8px;
}
.btn--wpp:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 211, 102, 0.35); }

.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  padding: 9px 24px;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}
.topbar__item:hover { color: var(--orange-400); }
.topbar__item--wpp { color: #6fe3a3; }
.topbar__item--wpp:hover { color: #9df5c2; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: auto; }
.brand__text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-800);
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__text em {
  font-style: normal;
  color: var(--orange-500);
}
.brand__text small {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav a:not(.nav__cta):hover { color: var(--orange-500); }
.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange-500);
  transition: width 0.25s ease;
}
.nav a:not(.nav__cta):hover::after { width: 100%; }

.nav a.nav__cta {
  background: var(--navy-800);
  color: #fff !important;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav a.nav__cta:hover { background: var(--orange-500); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-800);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
  overflow: hidden;
  padding: 90px 0 70px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 14% 22%, var(--orange-500) 0%, transparent 3%),
    radial-gradient(circle at 20% 30%, var(--navy-600) 0%, transparent 3%),
    radial-gradient(circle at 26% 22%, var(--navy-600) 0%, transparent 3%),
    radial-gradient(circle at 20% 38%, var(--navy-600) 0%, transparent 3%),
    radial-gradient(circle at 26% 38%, var(--orange-500) 0%, transparent 3%);
  background-size: 340px 340px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at 30% 30%, black, transparent 70%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding-top: 30px;
}
.hero__content { color: #fff; }
.hero__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  max-width: 520px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  margin-bottom: 0.4em;
}
.hero h1 span { color: var(--orange-400); }

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0 44px;
}

.hero__pillars {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 28px;
  max-width: 560px;
}
.hero__pillars strong {
  display: block;
  color: var(--orange-400);
  font-family: var(--font-head);
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.hero__pillars span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero__art {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero__art::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(340px, 90%);
  height: min(340px, 90%);
  background: radial-gradient(circle, rgba(252, 95, 1, 0.28), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.hero__logo {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.about-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy-800);
  color: var(--orange-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.about-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.about-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--orange-100);
  color: var(--orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 0.94rem; margin: 0; }

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.portfolio-card__top {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.portfolio-card__top img {
  max-height: 108px;
  width: auto;
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(1, 21, 46, 0.18);
}
.portfolio-card__top--kids { background: linear-gradient(140deg, #fff1e6, #ffe0c2); }
.portfolio-card__top--atende { background: linear-gradient(140deg, #eaf0f8, #d8e4f5); }
.portfolio-card__top--pet { background: linear-gradient(140deg, #e7f7ee, #cdeedd); }

.portfolio-card__body { padding: 26px 26px 30px; }
.portfolio-card__body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.portfolio-card__body p { font-size: 0.93rem; min-height: 96px; }

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
}
.tag-list li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy-700);
  background: var(--navy-100);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process__step {
  position: relative;
  padding: 34px 24px 26px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.process__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--orange-100);
  -webkit-text-stroke: 1.5px var(--orange-400);
  margin-bottom: 10px;
}
.process__step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process__step p { font-size: 0.9rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  padding: 64px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 1.7rem; margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, 0.72); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info__item:first-child { padding-top: 0; }
.contact-info__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--navy-800);
  color: var(--orange-400);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info__item strong { display: block; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; margin-bottom: 3px; }
.contact-info__item a,
.contact-info__item span { font-size: 1.02rem; font-weight: 600; color: var(--navy-800); }
.contact-info__item a:hover { color: var(--orange-500); }

.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { margin-bottom: 20px; }
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 7px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(252, 95, 1, 0.14);
}
.form-row textarea { resize: vertical; min-height: 120px; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.is-success { color: #1a8a4a; }
.form-status.is-error { color: #d1451f; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.7); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding: 48px 24px 36px;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 46px; }
.footer__brand strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.footer__brand span { font-size: 0.7rem; letter-spacing: 0.16em; color: var(--orange-400); font-weight: 700; }

.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer__nav a:hover { color: var(--orange-400); }

.footer__contact { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.footer__contact a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer__contact a:hover { color: var(--orange-400); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
}
.footer__tagline { color: var(--orange-400); font-weight: 600; letter-spacing: 0.04em; }

/* ---------- Floating WhatsApp ---------- */
.float-wpp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.2s ease;
}
.float-wpp:hover { transform: scale(1.08); }

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

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__art { order: -1; margin-bottom: 10px; }
  .hero__logo { width: 220px; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar__inner { justify-content: center; gap: 18px; flex-wrap: wrap; }
  .topbar__item span,
  .topbar__item { font-size: 0.78rem; }

  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 40px;
    gap: 26px;
    box-shadow: -12px 0 40px rgba(1, 21, 46, 0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 1.05rem; }
  .nav a.nav__cta { width: 100%; text-align: center; }

  .hamburger { display: flex; }

  .about-grid,
  .services-grid,
  .portfolio-grid,
  .process { grid-template-columns: 1fr; }

  .hero__pillars { grid-template-columns: 1fr; gap: 16px; max-width: none; }

  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .form-row--split { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__contact { align-items: flex-start; }
  .footer__bottom .container { flex-direction: column; text-align: left; }
}
