:root {
  --bg-dark: #232323;
  --bg-darker: #1d1d1d;
  --bg-light: #f5f5f5;
  --text: #333333;
  --muted: #737373;
  --white: #ffffff;
  --accent: #10569d;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(29, 29, 29, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: auto;
  height: 66px;
  max-width: 220px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(29, 29, 29, 0.92), rgba(29, 29, 29, 0.68)),
    linear-gradient(135deg, #333333 0%, #242424 55%, #a98542 55%, #6d572d 100%);
}

.hero-content {
  max-width: 780px;
  padding: 90px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Merriweather", Georgia, serif;
  line-height: 1.3;
}

h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 400;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  color: var(--white);
  background: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #bb9951;
}

.button.light {
  color: var(--bg-darker);
  background: var(--white);
}

.intro,
.blog-section,
.gallery-section {
  background: var(--bg-light);
}

.intro {
  padding: 72px 0 82px;
}

.intro h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.intro > .container > p {
  max-width: 960px;
  margin: 0 0 36px;
  color: var(--muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 52px;
}

.benefits-grid h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.benefits-grid p {
  margin: 0;
  color: var(--muted);
}

.section-dark {
  padding: 86px 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--bg-dark);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 58px;
  text-align: center;
}

.section-title span {
  width: 62px;
  height: 1px;
  background: #d6d6d6;
}

.section-title.dark span {
  background: var(--line);
}

.section-title h2,
.gallery-section h2 {
  color: #333333;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title.dark h2 {
  color: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 74px 38px;
}

.course-card,
.blog-card {
  min-width: 0;
}

.course-card {
  display: block;
  transition: transform 0.2s ease;
}

.course-card:hover {
  transform: translateY(-4px);
}

.course-card:hover h3,
.course-card:hover .read-more {
  color: var(--accent);
}

.course-card:hover .card-image {
  filter: brightness(0.9);
}

.course-card h3,
.blog-card h3 {
  margin-bottom: 30px;
  color: var(--white);
  font-size: 17px;
  text-align: center;
}

.course-card p,
.blog-card p {
  margin: 0 0 16px;
  color: inherit;
}

.meta {
  color: #969696;
  font-size: 11px;
}

.course-card a,
.read-more,
.post-copy a {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-image {
  height: 150px;
  margin-bottom: 24px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.image-law {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.05), rgba(20, 20, 20, 0.12)),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=900&q=80");
}

.image-office {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.05), rgba(20, 20, 20, 0.12)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=900&q=80");
}

.image-admin {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.05), rgba(20, 20, 20, 0.12)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=80");
}

.image-lgpd {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.04), rgba(20, 20, 20, 0.16)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=900&q=80");
}

.gallery-section {
  padding: 76px 0 0;
}

.gallery-section h2 {
  margin-bottom: 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.gallery-cell {
  overflow: hidden;
  height: 190px;
  line-height: 0;
}

.gallery-item {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-section {
  padding: 86px 0 92px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
}

.blog-card h3 {
  color: #333333;
}

.blog-card {
  display: block;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card:hover h3,
.blog-card:hover .read-more {
  color: var(--accent);
}

.blog-card .card-image {
  transition: filter 0.2s ease;
}

.blog-card:hover .card-image {
  filter: brightness(0.9);
}

.image-forum {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.03), rgba(20, 20, 20, 0.10)),
    url("https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=900&q=80");
}

.image-palestra {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.03), rgba(20, 20, 20, 0.10)),
    url("https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=900&q=80");
}

.image-trabalhista {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.04), rgba(20, 20, 20, 0.16)),
    url("https://images.unsplash.com/photo-1521791055366-0d553872125f?auto=format&fit=crop&w=900&q=80");
}

.image-inovacao {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.04), rgba(20, 20, 20, 0.14)),
    url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=900&q=80");
}

.image-lgpd-talk {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.02), rgba(20, 20, 20, 0.16)),
    url("https://images.unsplash.com/photo-1563986768494-4dee2763ff3f?auto=format&fit=crop&w=900&q=80");
}

.image-risco {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.04), rgba(20, 20, 20, 0.18)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=900&q=80");
}

.image-decisao {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.04), rgba(20, 20, 20, 0.16)),
    url("https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=900&q=80");
}

.image-contratos {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.04), rgba(20, 20, 20, 0.16)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=900&q=80");
}

.image-capacitacao {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.04), rgba(20, 20, 20, 0.16)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=900&q=80");
}

.image-tributario {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.04), rgba(20, 20, 20, 0.16)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=900&q=80");
}

.image-dados {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.04), rgba(20, 20, 20, 0.16)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=900&q=80");
}

.post-page {
  padding: 60px 0 96px;
  background: var(--bg-light);
}

.post-page .container {
  max-width: 860px;
}

.post-back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-back:hover {
  text-decoration: underline;
}

.post-page .post-hero {
  height: 380px;
  margin-bottom: 40px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.post-page .meta {
  margin-bottom: 12px;
}

.post-page h1 {
  margin-bottom: 28px;
  color: #333333;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
}

.post-page .post-body p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.post-page .post-body p:last-child {
  margin-bottom: 0;
}

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

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.contact-info p {
  margin: 0 0 14px;
  color: var(--muted);
}

.contact-form {
  padding: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dddddd;
  background: #fafafa;
  color: var(--text);
  font: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.honeypot {
  display: none !important;
}

.form-status {
  margin-bottom: 18px;
  padding: 12px 14px;
  font-size: 13px;
}

.form-status.success {
  color: #1f5d3b;
  background: #e8f6ee;
  border: 1px solid #b7e0c8;
}

.form-status.error {
  color: #7a2b2b;
  background: #fdeeee;
  border: 1px solid #f0c7c7;
}

.contact-form .button {
  width: 100%;
  border: none;
  cursor: pointer;
}

.bottom-banner {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(35, 35, 35, 0.92), rgba(35, 35, 35, 0.62)),
    linear-gradient(135deg, #414141, #232323 55%, #a98542);
}

.banner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 280px;
  padding: 56px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.banner-card h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 45px);
  font-weight: 400;
}

.banner-card p:not(.eyebrow) {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  position: relative;
  padding: 56px 0 42px;
  color: var(--white);
  background: #0a3a5c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 42px;
  align-items: start;
}

.footer-brand img {
  display: block;
  width: 215px;
  max-width: 100%;
  height: auto;
  margin-bottom: 22px;
}

.footer-brand p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.8;
}

.footer-brand a {
  color: var(--white);
  font-size: 13px;
  text-decoration: underline;
}

.footer-contact,
.footer-address {
  padding-top: 111px;
}

.footer-contact ul,
.footer-location {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact li,
.footer-location {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-location {
  align-items: flex-start;
}

.footer-contact a,
.footer-address p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.7;
}

.footer-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.footer-location .footer-icon {
  margin-top: 3px;
}

.footer-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.back-to-top {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #0a3a5c;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .header-content {
    position: relative;
    align-items: center;
    flex-direction: row;
    min-height: 68px;
  }

  .logo img {
    height: 60px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 18px;
    background: rgba(29, 29, 29, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }

  .site-header.menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .banner-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .benefits-grid,
  .cards-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper,
  .form-row-split {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contact,
  .footer-address {
    padding-top: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 460px;
  }

  .intro,
  .section-dark,
  .blog-section,
  .contact-section,
  .bottom-banner {
    padding: 58px 0;
  }

  .benefits-grid,
  .cards-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    gap: 44px;
  }

  .course-card h3,
  .blog-card h3 {
    text-align: left;
  }

  .banner-card {
    padding: 30px;
  }

  .post-page .post-hero {
    height: 240px;
  }

  .back-to-top {
    left: 16px;
    bottom: 16px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}
