/* ==========================================================
   ALVES & CO — Marketing & Performance
   Design System — Vermelho #E31E24 | Preto #0A0A0A | Branco
   ========================================================== */

:root {
  --red: #E31E24;
  --red-dark: #B01218;
  --red-light: #FF3B41;
  --black: #0A0A0A;
  --black-soft: #141414;
  --black-card: #1B1B1B;
  --white: #FFFFFF;
  --gray-100: #F6F6F6;
  --gray-300: #D9D9D9;
  --gray-500: #8A8A8A;
  --gray-700: #444444;
  --radius: 16px;
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, .18);
  --shadow-red: 0 12px 40px rgba(227, 30, 36, .35);
  --transition: all .35s cubic-bezier(.4, 0, .2, 1);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============ Typography ============ */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.section-tag::before {
  content: '';
  width: 34px; height: 2px;
  background: var(--red);
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 18px;
}
.section-title .accent { color: var(--red); }

.section-sub {
  font-size: 1.08rem;
  color: var(--gray-500);
  max-width: 640px;
  margin-bottom: 12px;
}

section { padding: 110px 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 38px;
  border-radius: 60px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-3px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); transform: translateY(-3px); }
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--black-card); transform: translateY(-3px); }

/* ============ Header ============ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 22px 0;
  background: transparent;
}
header.scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(18px);
  padding: 14px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .06em;
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 11px 26px !important;
  border-radius: 60px;
  font-weight: 700 !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--red-dark); transform: translateY(-2px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ Hero Slider ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
  padding: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s ease;
}
.hero-slide.active .slide-bg { transform: scale(1); }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,10,10,.94) 30%, rgba(10,10,10,.72) 55%, rgba(227,30,36,.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 24px 100px;
  width: 100%;
}
.hero-inner { max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(227,30,36,.14);
  border: 1px solid rgba(227,30,36,.45);
  color: #ff8a8d;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 60px;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227,30,36,.6); }
  50% { box-shadow: 0 0 0 8px rgba(227,30,36,0); }
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--red); }
.hero p {
  font-size: 1.18rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* Slider controls */
.hero-dots {
  position: absolute;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.hero-dots button {
  width: 40px; height: 4px;
  border-radius: 4px;
  border: none;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dots button.active { background: var(--red); width: 60px; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  animation: floaty 2.4s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ============ Marquee ============ */
.marquee {
  background: var(--red);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 22s linear infinite;
}
.marquee-track span {
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-right: 56px;
}
.marquee-track .sep { opacity: .55; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Stats ============ */
.stats {
  background: var(--black);
  padding: 90px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat {
  text-align: center;
  padding: 24px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(160deg, rgba(255,255,255,.04), transparent);
  transition: var(--transition);
}
.stat:hover { border-color: rgba(227,30,36,.5); transform: translateY(-6px); }
.stat .num {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.stat .num small { font-size: .55em; }
.stat .label {
  margin-top: 12px;
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ============ Services ============ */
.services { background: var(--gray-100); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.service-card .card-img {
  height: 210px;
  overflow: hidden;
  position: relative;
}
.service-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.service-card:hover .card-img img { transform: scale(1.08); }
.service-card .card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.55));
}
.service-card .card-body {
  padding: 30px 28px 34px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--gray-500); font-size: .96rem; flex: 1; }
.card-link {
  margin-top: 22px;
  color: var(--red);
  font-weight: 700;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.card-link:hover { gap: 14px; }

.icon-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(227,30,36,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; stroke: var(--red); }

/* ============ Cases ============ */
.cases-section { background: var(--black); }
.cases-section .section-sub { color: rgba(255,255,255,.6); }
.cases-section .section-title { color: var(--white); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.case-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  cursor: pointer;
  display: block;
}
.case-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.case-card:hover img { transform: scale(1.1); }
.case-card .case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, transparent 30%, rgba(10,10,10,.92) 82%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  transition: var(--transition);
}
.case-card:hover .case-overlay { background: linear-gradient(185deg, rgba(227,30,36,.25) 0%, rgba(10,10,10,.95) 80%); }
.case-card .case-cat {
  color: var(--red-light);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.case-card h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 8px; }
.case-card .case-metric {
  color: var(--white);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--red-light);
}
.case-card p { color: rgba(255,255,255,.65); font-size: .9rem; margin-top: 8px; }

/* ============ About preview ============ */
.about-preview { background: var(--white); overflow: hidden; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap .main-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.about-img-wrap .floating-card {
  position: absolute;
  bottom: -28px;
  right: -20px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow-red);
}
.about-img-wrap .floating-card .big { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.about-img-wrap .floating-card .small { font-size: .85rem; opacity: .9; margin-top: 6px; }
.about-content .checklist { margin: 28px 0 36px; }
.about-content .checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--gray-700);
}
.check-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(227,30,36,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.check-icon svg { width: 13px; height: 13px; stroke: var(--red); stroke-width: 3; }

/* ============ Process ============ */
.process { background: var(--gray-100); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 56px;
}
.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 28px;
  position: relative;
  transition: var(--transition);
  border-top: 4px solid transparent;
}
.process-step:hover { border-top-color: var(--red); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.process-step .step-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(227,30,36,.15);
  line-height: 1;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.process-step p { color: var(--gray-500); font-size: .92rem; }

/* ============ Blog ============ */
.blog-section { background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: var(--transition);
  display: block;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-card .blog-img { height: 200px; overflow: hidden; }
.blog-card .blog-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.07); }
.blog-card .blog-body { padding: 26px 26px 30px; }
.blog-card .blog-meta {
  display: flex;
  gap: 14px;
  font-size: .78rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.blog-card .blog-meta .cat { color: var(--red); }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; transition: var(--transition); }
.blog-card:hover h3 { color: var(--red); }
.blog-card p { color: var(--gray-500); font-size: .92rem; }

/* ============ CTA ============ */
.cta-section {
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(227,30,36,.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(227,30,36,.22), transparent 40%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  color: var(--white);
  margin-bottom: 22px;
}
.cta-inner h2 .accent { color: var(--red-light); }
.cta-inner p { color: rgba(255,255,255,.7); font-size: 1.12rem; margin-bottom: 42px; }

/* ============ Contact form ============ */
.contact-section { background: var(--gray-100); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-top: 50px;
}
.contact-info-card {
  background: var(--black);
  border-radius: var(--radius);
  padding: 46px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-info-card::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(227,30,36,.3);
  filter: blur(20px);
}
.contact-info-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.contact-info-card > p { color: rgba(255,255,255,.65); margin-bottom: 34px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.contact-item .ci-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(227,30,36,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item .ci-icon svg { width: 20px; height: 20px; stroke: var(--red-light); }
.contact-item .ci-label { font-size: .75rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; }
.contact-item .ci-value { font-weight: 600; font-size: .95rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 46px 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #ECECEC;
  border-radius: 12px;
  font-size: .95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--gray-100);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(227,30,36,.08);
}
.form-msg { display: none; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; font-size: .9rem; }
.form-msg.success { display: block; background: #E8F8EC; color: #1B7A34; border: 1px solid #9ADBA9; }
.form-msg.error { display: block; background: #FDECEC; color: var(--red-dark); border: 1px solid #F5B5B7; }

/* ============ Page hero (internal pages) ============ */
.page-hero {
  position: relative;
  background: var(--black);
  padding: 200px 0 110px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(227,30,36,.4), transparent 42%),
    radial-gradient(circle at 5% 95%, rgba(227,30,36,.2), transparent 38%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumb {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-hero .breadcrumb a { color: var(--red-light); }
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 18px;
}
.page-hero h1 .accent { color: var(--red); }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.12rem; max-width: 640px; }

/* ============ Team ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 56px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-card .team-photo {
  height: 240px;
  background: linear-gradient(160deg, var(--black) 0%, var(--red-dark) 130%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card .team-photo .initials {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}
.team-card .team-body { padding: 24px 20px 28px; }
.team-card h3 { font-size: 1.08rem; margin-bottom: 5px; }
.team-card .role { color: var(--red); font-size: .85rem; font-weight: 700; }

/* ============ Values ============ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
}
.value-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
}
.value-card:hover { border-color: rgba(227,30,36,.55); transform: translateY(-8px); }
.value-card h3 { color: var(--white); font-size: 1.2rem; margin: 18px 0 12px; }
.value-card p { color: rgba(255,255,255,.6); font-size: .93rem; }

/* ============ Timeline ============ */
.timeline { position: relative; margin-top: 60px; padding-left: 36px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, var(--red), rgba(227,30,36,.15));
  border-radius: 3px;
}
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px; top: 6px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--white);
  border: 5px solid var(--red);
}
.timeline-item .tl-year {
  color: var(--red);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.timeline-item p { color: var(--gray-500); max-width: 620px; }

/* ============ Blog post ============ */
.post-content { max-width: 780px; margin: 0 auto; }
.post-content h2 { font-size: 1.7rem; margin: 44px 0 18px; }
.post-content h3 { font-size: 1.3rem; margin: 34px 0 14px; }
.post-content p { margin-bottom: 18px; color: var(--gray-700); font-size: 1.04rem; }
.post-content ul, .post-content ol { margin: 0 0 22px 24px; color: var(--gray-700); }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 10px; }
.post-content strong { color: var(--black); }
.post-content blockquote {
  border-left: 4px solid var(--red);
  background: var(--gray-100);
  padding: 22px 28px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
  font-style: italic;
}
.post-cover {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 44px;
  box-shadow: var(--shadow-lg);
}

/* ============ Footer ============ */
footer {
  background: var(--black);
  color: var(--white);
  width: 100%;
}
.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 90px 24px 60px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 50px;
}
.footer-brand img { height: 32px; margin-bottom: 22px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .93rem; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 26px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--red); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: var(--white); }
.footer-col h4 {
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 24px;
}
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul a {
  color: rgba(255,255,255,.6);
  font-size: .93rem;
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--white); padding-left: 6px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: rgba(255,255,255,.6);
  font-size: .92rem;
}
.footer-contact-item svg { width: 17px; height: 17px; stroke: var(--red-light); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  width: 100%;
}
.footer-bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.45);
  font-size: .85rem;
}

/* ============ WhatsApp float ============ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: var(--transition);
  animation: floaty 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .services-grid, .cases-grid, .blog-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .about-img-wrap .floating-card { right: 10px; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(10,10,10,.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: right .45s cubic-bezier(.4,0,.2,1);
    box-shadow: -20px 0 60px rgba(0,0,0,.5);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.05rem; }
  header { background: rgba(10,10,10,.92); backdrop-filter: blur(18px); padding: 14px 0; }
  .hero-content { padding: 120px 24px 90px; }
  .hero-scroll { display: none; }
  .services-grid, .cases-grid, .blog-grid, .values-grid, .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form, .contact-info-card { padding: 34px 26px; }
  .page-hero { padding: 150px 0 80px; }
  .about-img-wrap .main-img { height: 340px; }
  .post-cover { height: 240px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ============ Complementos v2 ============ */

/* Page hero com imagem de fundo */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .28;
  filter: saturate(.9);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.82) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.page-hero-content .hero-badge { margin-bottom: 22px; }
.page-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 18px;
  max-width: 820px;
}
.page-hero-content h1 .accent { color: var(--red); }
.page-hero-content p { color: rgba(255,255,255,.72); font-size: 1.12rem; max-width: 640px; }
.page-hero-post .page-hero-content h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.post-meta-row {
  display: flex;
  gap: 10px;
  color: rgba(255,255,255,.6);
  font-size: .92rem;
  font-weight: 600;
  margin-top: 14px;
}

/* Container estreito */
.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}
.post-section { padding: 90px 0; background: var(--white); }

/* Missão / Visão / Propósito */
.mvv-section { padding: 110px 0; background: var(--black); }
.mvv-section .section-title { color: var(--white); }
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
}
.mvv-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 44px 34px;
  transition: var(--transition);
}
.mvv-card:hover { border-color: rgba(227,30,36,.55); transform: translateY(-8px); }
.mvv-card h3 { color: var(--white); font-size: 1.3rem; margin: 20px 0 12px; }
.mvv-card p { color: rgba(255,255,255,.62); font-size: .96rem; }
.mvv-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
}
.mvv-icon svg { width: 26px; height: 26px; stroke: var(--white); }

/* Valores em pills */
.values-section { padding: 110px 0; background: var(--gray-100); }
.values-section .values-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.value-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  border-bottom: 4px solid transparent;
  transition: var(--transition);
}
.value-item:hover { transform: translateY(-6px); border-bottom-color: var(--red); box-shadow: var(--shadow-lg); }
.value-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: rgba(227,30,36,.09);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg { width: 22px; height: 22px; stroke: var(--red); }

/* Team com foto */
.team-section { padding: 110px 0; background: var(--white); }
.team-img { height: 320px; overflow: hidden; }
.team-info { padding: 30px 34px 38px; text-align: center; }
.team-info h3 { font-size: 1.25rem; margin-bottom: 4px; }
.team-info p { color: var(--gray-500); font-size: .93rem; line-height: 1.7; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.team-card:hover .team-img img { transform: scale(1.06); }
.team-body { padding: 24px 22px 30px; text-align: left; }
.team-role {
  display: block;
  color: var(--red);
  font-size: .84rem;
  font-weight: 700;
  margin: 4px 0 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.team-body p { color: var(--gray-500); font-size: .9rem; }

/* Contact channels */
.contact-channels { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 4px 18px rgba(0,0,0,.05);
  transition: var(--transition);
}
a.contact-channel:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.channel-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.channel-icon svg { width: 24px; height: 24px; stroke: var(--white); fill: none; }
.contact-channel a .channel-icon svg,
.contact-channel:first-child .channel-icon svg { fill: var(--white); stroke: none; }
.contact-channel strong { display: block; font-size: 1rem; }
.contact-channel span { color: var(--gray-500); font-size: .92rem; }

/* Formulário de contato */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}
.contact-section { padding: 110px 0; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success svg { stroke: #1B7A34; margin: 0 auto 18px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 10px; }
.form-success p { color: var(--gray-500); }
.form-error {
  background: #FDECEC;
  color: var(--red-dark);
  border: 1px solid #F5B5B7;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 600;
  font-size: .9rem;
}

/* Pacotes de serviço */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 56px;
}
.package-card {
  position: relative;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 2px solid transparent;
  transition: var(--transition);
}
.package-card.popular { border-color: var(--red); background: var(--white); box-shadow: var(--shadow-lg); }
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.package-badge {
  position: absolute;
  top: -13px; left: 32px;
  background: var(--red);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 5px 14px;
  border-radius: 999px;
}
.package-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.package-price { font-size: 1.9rem; font-weight: 800; color: var(--red); margin-bottom: 12px; }
.package-card > p { color: var(--gray-500); font-size: .94rem; margin-bottom: 18px; }
.package-card .checklist { margin-bottom: 26px; }

/* Compartilhar post */
.post-share {
  max-width: 780px;
  margin: 48px auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-300);
  font-weight: 700;
  font-size: .92rem;
}
.post-share a {
  background: var(--gray-100);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: .86rem;
  transition: var(--transition);
}
.post-share a:hover { background: var(--red); color: var(--white); }

/* Grid completa de serviços */
.services-grid-full { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .mvv-grid { grid-template-columns: 1fr; }
  .services-grid-full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services-grid-full { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
  .cases-grid[style] { grid-template-columns: 1fr !important; }
  .stats-grid[style] { grid-template-columns: 1fr !important; }
}


/* ===== Carreiras / Vagas ===== */
.jobs-list { display: flex; flex-direction: column; gap: 24px; max-width: 900px; margin: 0 auto; }
.job-card { background: var(--white); border: 1px solid rgba(0,0,0,.08); border-radius: 16px; padding: 32px; transition: transform .3s, box-shadow .3s; }
.job-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.job-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.job-card-head h3 { font-family: 'Sora', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.job-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tag { display: inline-block; background: rgba(227,30,36,.08); color: var(--red); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.job-body { font-size: .95rem; line-height: 1.7; color: var(--gray-700); }
.job-body ul { padding-left: 20px; margin: 8px 0; list-style: disc; }
.job-body li { margin-bottom: 4px; }
.btn-sm { padding: 10px 22px !important; font-size: .8rem !important; white-space: nowrap; }

/* ===== Formulário: select e file ===== */
.contact-form select {
  width: 100%; padding: 14px 16px; border: 1.5px solid rgba(0,0,0,.12); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: .95rem; background-color: #fff; color: #141414;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  transition: border-color .2s;
}
.contact-form select:focus { outline: none; border-color: var(--red); }
.contact-form input[type="file"] {
  width: 100%; padding: 12px; border: 1.5px dashed rgba(0,0,0,.2); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: .9rem; background: rgba(0,0,0,.02); cursor: pointer;
}
.contact-form input[type="file"]::file-selector-button {
  background: var(--black); color: #fff; border: none; padding: 8px 16px; border-radius: 8px;
  font-weight: 600; margin-right: 12px; cursor: pointer; font-family: 'Inter', sans-serif;
}

/* ===== Page hero pequeno + conteúdo de página gerenciável ===== */
.page-hero-sm { min-height: 46vh !important; }
.page-content h2 { font-family: 'Sora', sans-serif; font-size: 1.5rem; margin: 32px 0 12px; }
.page-content h3 { font-family: 'Sora', sans-serif; font-size: 1.2rem; margin: 24px 0 10px; }
.page-content p { margin-bottom: 14px; line-height: 1.8; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 14px; line-height: 1.8; list-style: disc; }
.section-gray { background: var(--gray-100); }
.btn-outline-light { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); transform: translateY(-3px); }

/* ===== Section dark (bloco escuro genérico, ex.: CTA da página Equipe) ===== */
.section-dark {
  background: linear-gradient(160deg, var(--black) 0%, var(--red-dark) 140%);
  color: #fff;
}
.section-dark .section-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-dark .section-tag { justify-content: center; }
.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,.72); margin-left: auto; margin-right: auto; max-width: 640px; }
