/* ===========================
   Roma Contabilidade — Premium Design
   Classical Authority meets Modern Finance
   =========================== */

/* --- Design Tokens --- */
:root {
  --primary: #152C45;
  --primary-medium: #1E3F63;
  --primary-light: #2A5580;
  --gold: #C9A84C;
  --gold-light: #E4CB7A;
  --gold-dark: #A68A3A;
  --cream: #FAF8F4;
  --cream-dark: #F0EDE6;
  --dark: #0A1628;
  --whatsapp: #25D366;
  --text: #2C2C2C;
  --text-muted: #6B7280;
  --card-bg: #FFFFFF;
  --white: #FFFFFF;

  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1200px;
  --topbar-h: 32px;
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h));
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 600; }

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1.15;
  font-weight: 400;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label--light {
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  margin-bottom: 1rem;
}

.section-title--left {
  text-align: left;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 auto 1rem;
  border-radius: 1px;
}

.section-divider--left {
  margin-left: 0;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn svg, .btn i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn--whatsapp:hover {
  background: #1fba59;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

/* ===========================
   Top Bar
   =========================== */
.topbar {
  background: var(--dark);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 0.45rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar__text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.topbar__text strong {
  color: var(--gold);
  font-weight: 700;
}

.topbar__contact {
  display: flex;
  gap: 1.5rem;
}

.topbar__contact a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}

.topbar__contact a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .topbar__contact { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ===========================
   Header
   =========================== */
.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  transition: all 0.4s var(--ease-out);
}

.header--scrolled {
  background: rgba(10, 22, 40, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(201, 168, 76, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo-img {
  height: 42px;
  width: auto;
  mix-blend-mode: screen;
  opacity: 0.95;
  transition: opacity 0.3s;
}

.header__logo:hover .header__logo-img {
  opacity: 1;
}

.header__nav {
  display: flex;
}

.header__menu {
  display: flex;
  gap: 0.25rem;
}

.header__link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s;
  padding: 0.5rem 1rem;
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
}

.header__link:hover {
  color: var(--white);
}

.header__link:hover::after {
  width: 60%;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
}

.header__cta svg {
  width: 16px;
  height: 16px;
}

.header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--white);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Drawer */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}

.drawer-overlay.active {
  display: block;
  opacity: 1;
}

/* ===========================
   Hero
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(170deg, rgba(10, 22, 40, 0.85) 0%, rgba(21, 44, 69, 0.7) 40%, rgba(30, 63, 99, 0.75) 100%),
    url('../img/hero-bg.jpg') center/cover no-repeat;
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
  animation: heroFadeIn 1s var(--ease-out) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 2px;
  margin-bottom: 2.5rem;
  animation: heroFadeIn 1s var(--ease-out) 0.2s both;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0;
  animation: heroFadeIn 1s var(--ease-out) 0.3s both;
}

.hero__title--accent {
  color: var(--gold-light);
  font-style: italic;
}

.hero__divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2rem auto;
  animation: heroFadeIn 1s var(--ease-out) 0.5s both;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.8;
  animation: heroFadeIn 1s var(--ease-out) 0.6s both;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeIn 1s var(--ease-out) 0.7s both;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: heroFadeIn 1s var(--ease-out) 1.2s both;
}

.hero__scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===========================
   Sede
   =========================== */
.sede {
  padding: 6rem 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.sede__inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.sede__photo {
  flex: 0 0 55%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(21, 44, 69, 0.12),
    0 0 0 1px rgba(21, 44, 69, 0.05);
}

.sede__img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.sede__photo:hover .sede__img {
  transform: scale(1.03);
}

.sede__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.3), transparent);
  pointer-events: none;
}

.sede__content {
  flex: 1;
}

.sede__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(21, 44, 69, 0.06);
  border: 1px solid rgba(21, 44, 69, 0.1);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.sede__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.sede__title--accent {
  color: var(--gold);
  font-style: italic;
}

.sede__divider {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1.5rem 0;
  border-radius: 1px;
}

.sede__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.sede__desc strong {
  color: var(--primary);
}

.sede__trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.sede__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s var(--ease-out);
}

.sede__trust-item i {
  color: var(--gold);
}

.sede__trust-item:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 4px 12px rgba(21, 44, 69, 0.06);
}

@media (max-width: 768px) {
  .sede { padding: 4rem 0; }

  .sede__inner {
    flex-direction: column;
    gap: 2rem;
  }

  .sede__photo {
    flex: none;
    width: 100%;
  }

  .sede__img {
    height: 260px;
  }

  .sede__content {
    text-align: center;
  }

  .sede__divider {
    margin: 1.5rem auto;
  }

  .sede__trust {
    justify-content: center;
  }
}

/* ===========================
   Serviços
   =========================== */
.servicos {
  padding: 7rem 0;
  background: var(--white);
  position: relative;
}

.servicos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.servico-card {
  background: var(--card-bg);
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.servico-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.servico-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(21, 44, 69, 0.08), 0 4px 12px rgba(21, 44, 69, 0.04);
}

.servico-card:hover::before {
  transform: scaleX(1);
}

.servico-card__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--cream-dark);
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  line-height: 1;
  transition: color 0.4s;
}

.servico-card:hover .servico-card__number {
  color: rgba(201, 168, 76, 0.15);
}

.servico-card__icon {
  color: var(--gold);
  margin-bottom: 1.25rem;
  transition: transform 0.4s var(--ease-spring);
}

.servico-card:hover .servico-card__icon {
  transform: scale(1.1);
}

.servico-card__icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.servico-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.servico-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===========================
   Photo Strip
   =========================== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 280px;
  overflow: hidden;
}

.photo-strip__item {
  position: relative;
  overflow: hidden;
}

.photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.6s;
  filter: saturate(0.7);
}

.photo-strip__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 22, 40, 0.15), rgba(10, 22, 40, 0.35));
  transition: opacity 0.4s;
}

.photo-strip__item:hover img {
  transform: scale(1.08);
  filter: saturate(1);
}

.photo-strip__item:hover::after {
  opacity: 0.3;
}

@media (max-width: 768px) {
  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
    height: 320px;
  }
}

@media (max-width: 480px) {
  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
    height: 240px;
  }
}

/* ===========================
   ContaWise ERP
   =========================== */
.contawise {
  padding: 0;
  background: linear-gradient(170deg, var(--dark) 0%, var(--primary) 50%, var(--primary-medium) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contawise__grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Hero do produto */
.contawise__hero {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 5rem 0 3rem;
  position: relative;
  z-index: 1;
}

.contawise__hero-text {
  flex: 0 0 360px;
}

.contawise__title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contawise__title--thin {
  font-style: italic;
  color: var(--gold-light);
}

.contawise__divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.contawise__tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* Browser Mockup */
.contawise__browser {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.contawise__browser:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.15);
}

.contawise__browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contawise__browser-dots {
  display: flex;
  gap: 6px;
}

.contawise__browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.contawise__browser-dots span:nth-child(1) { background: #ff5f57; }
.contawise__browser-dots span:nth-child(2) { background: #ffbd2e; }
.contawise__browser-dots span:nth-child(3) { background: #28c840; }

.contawise__browser-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-family: monospace;
}

.contawise__browser-body {
  padding: 0;
}

/* Dashboard inside browser */
.contawise__dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contawise__dash-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
}

.contawise__dash-nav {
  display: flex;
  gap: 6px;
}

.contawise__dash-nav span {
  width: 40px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
}

.contawise__dash-nav span.active {
  background: var(--gold);
  opacity: 0.5;
  width: 55px;
}

.contawise__dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 20px;
}

.contawise__dash-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 14px;
}

.contawise__dash-card-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.contawise__dash-card-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
}

.contawise__dash-card-value span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.contawise__dash-card-trend {
  font-size: 0.7rem;
  margin-top: 6px;
  color: rgba(255,255,255,0.35);
}

.contawise__dash-card-trend.up {
  color: #28c840;
}

.contawise__dash-chart {
  padding: 0 20px 16px;
}

.contawise__chart-svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* Benefits section */
.contawise__benefits {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3.5rem 0 1.5rem;
}

.contawise__benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contawise__benefit {
  text-align: center;
  padding: 2rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  transition: all 0.4s var(--ease-out);
}

.contawise__benefit:hover {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-4px);
}

.contawise__benefit-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 10px;
  color: var(--gold-light);
  transition: all 0.3s var(--ease-out);
}

.contawise__benefit:hover .contawise__benefit-icon {
  background: rgba(201,168,76,0.2);
  transform: scale(1.08);
}

.contawise__benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.contawise__benefit-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contawise__benefit-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* CTA bottom */
.contawise__cta {
  text-align: center;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contawise__cta-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .contawise__benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .contawise__dash-grid { gap: 8px; }
  .contawise__dash-card { padding: 10px; }
  .contawise__dash-card-value { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .contawise__hero {
    flex-direction: column;
    text-align: center;
    padding: 4rem 0 2rem;
  }

  .contawise__hero-text { flex: none; }
  .contawise__divider { margin: 1.5rem auto; }
  .contawise__browser { max-width: 100%; }
  .contawise__dash-grid { grid-template-columns: 1fr; }

  .contawise__cta {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .contawise__benefits-grid { grid-template-columns: 1fr; }
  .contawise__dash-card-value { font-size: 1rem; }
}

/* ===========================
   Sobre
   =========================== */
.sobre {
  padding: 7rem 0;
  background: var(--cream);
}

.sobre__inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.sobre__image {
  flex: 0 0 340px;
  position: relative;
}

.sobre__img {
  border-radius: 6px;
  width: 100%;
  height: 420px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(21, 44, 69, 0.15);
}

.sobre__image-accent {
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  opacity: 0.3;
}

.sobre__text {
  flex: 1;
}

.sobre__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.sobre__desc strong {
  color: var(--primary);
}

.sobre__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
}

.sobre__stat {
  text-align: center;
}

.sobre__stat-number {
  display: block;
  font-size: 2.5rem;
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.sobre__stat-number sup {
  font-size: 0.5em;
  color: var(--gold);
}

.sobre__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sobre__stat-divider {
  width: 1px;
  height: 50px;
  background: var(--cream-dark);
}

/* ===========================
   CTA Banner
   =========================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 60%, var(--primary-medium) 100%);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  min-height: 480px;
}

.cta-banner__photo {
  flex: 0 0 420px;
  position: relative;
  overflow: hidden;
}

.cta-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.cta-banner__photo::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--primary));
  pointer-events: none;
}

.cta-banner__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 3rem;
  color: var(--white);
}

.cta-banner__title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.cta-banner__title--accent {
  color: var(--gold-light);
  font-style: italic;
}

.cta-banner__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2rem;
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-banner__inner {
    flex-direction: column;
    min-height: auto;
  }

  .cta-banner__photo {
    flex: none;
    height: 360px;
  }

  .cta-banner__photo::after {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--primary));
  }

  .cta-banner__content {
    padding: 2.5rem 1.5rem 3rem;
    text-align: center;
    align-items: center;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ===========================
   Contato
   =========================== */
.contato {
  padding: 7rem 0;
  background: var(--white);
  position: relative;
}

.contato::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contato__inner {
  display: flex;
  gap: 3rem;
}

.contato__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contato__item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contato__icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  color: var(--gold);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.contato__item:hover .contato__icon-wrap {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--gold-light);
}

.contato__icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.contato__item strong {
  display: block;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contato__item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contato__item a {
  color: var(--primary-light);
  transition: color 0.2s;
}

.contato__item a:hover {
  color: var(--gold);
}

.contato__map {
  flex: 1;
  min-height: 340px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.contato__map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--dark);
  padding: 3rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer__brand {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__logo {
  height: 36px;
  margin: 0 auto 0.75rem;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.footer__tagline {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 0.85rem;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s var(--ease-out);
}

.footer__socials a:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.footer__socials svg {
  width: 18px;
  height: 18px;
}

/* ===========================
   WhatsApp Floating Button
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--ease-spring);
  z-index: 998;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: waPulse 2.5s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0; }
}

/* ===========================
   Scroll Reveal Animations
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .servicos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contawise__visual {
    flex: 0 0 340px;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }

  /* Header Mobile */
  .header__hamburger { display: flex; }

  .header__nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.4s var(--ease-out);
    z-index: 1000;
    border-left: 1px solid rgba(201, 168, 76, 0.1);
  }

  .header__nav.active { right: 0; }

  .header__menu {
    flex-direction: column;
    gap: 0;
  }

  .header__link {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-transform: none;
    letter-spacing: 0;
  }

  .header__link::after { display: none; }

  .header__cta { display: none; }

  /* Hero Mobile */
  .hero { min-height: 100svh; }
  .hero__badge { margin-bottom: 1.5rem; padding: 0.4rem 1rem; }
  .hero__title { font-size: 2rem; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__scroll { display: none; }

  /* Services Mobile */
  .servicos { padding: 5rem 0; }
  .section-header { margin-bottom: 3rem; }

  /* Sobre Mobile */
  .sobre { padding: 5rem 0; }
  .sobre__inner { flex-direction: column; text-align: center; }
  .sobre__image { flex: none; width: 100%; max-width: 400px; margin: 0 auto; }
  .sobre__img { height: 300px; }
  .sobre__image-accent { display: none; }
  .section-title--left { text-align: center; }
  .section-divider--left { margin: 0 auto 1rem; }
  .sobre__stats { justify-content: center; }

  /* Contato Mobile */
  .contato { padding: 5rem 0; }
  .contato__inner { flex-direction: column; }
  .contato__map { min-height: 280px; }
}

@media (max-width: 480px) {
  .servicos__grid { grid-template-columns: 1fr; }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .sobre__stats { gap: 1rem; }
  .sobre__stat-number { font-size: 2rem; }
}
