/*
Theme Name: 2A Consultoria
Theme URI: https://example.com/
Author: OpenAI
Description: Tema WordPress institucional da 2A Consultoria LTDA.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: 2a-consultoria
*/

:root {
  --bg: #f7f4ec;
  --surface: #fffdf8;
  --surface-soft: #f1ece1;
  --primary: #b64b3a;
  --primary-dark: #943b2c;
  --text: #30261f;
  --muted: #6f6259;
  --line: rgba(48, 38, 31, 0.1);
  --shadow: 0 20px 60px rgba(80, 53, 37, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(182, 75, 58, 0.08), transparent 28%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
  color: var(--text);
}

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

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

.site-shell {
  min-height: 100vh;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(251, 248, 242, 0.72);
  border-bottom: 1px solid rgba(48, 38, 31, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #d26a57);
  color: white;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}

.brand-text {
  display: grid;
  gap: 4px;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.84rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.menu a {
  color: var(--muted);
  font-weight: 600;
}

.menu a:hover {
  color: var(--primary-dark);
}

.hero {
  padding: 76px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(182, 75, 58, 0.1);
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.04;
  margin: 18px 0 18px;
  letter-spacing: -0.04em;
}

.hero-copy p,
.section-heading p,
.about-copy p,
.cta-box p,
.footer-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 30px 0 26px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #d6634c);
  color: white;
  box-shadow: 0 16px 30px rgba(182, 75, 58, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(182, 75, 58, 0.14);
  color: var(--text);
  font-weight: 600;
}

.hero-card {
  position: relative;
}

.card-glow {
  position: absolute;
  inset: auto 40px -30px 40px;
  height: 180px;
  background: rgba(182, 75, 58, 0.18);
  filter: blur(60px);
  z-index: 0;
}

.hero-panel {
  position: relative;
  z-index: 1;
  padding: 30px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.service-preview {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.service-preview article,
.service-card,
.cta-box {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(48, 38, 31, 0.07);
  box-shadow: var(--shadow);
}

.service-preview article {
  padding: 22px;
  border-radius: 22px;
}

.service-preview h2,
.section-heading h2,
.about h2,
.cta-box h2,
.footer h2 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.service-preview h2 {
  font-size: 1.15rem;
}

.service-preview p,
.service-card p,
.footer-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-block {
  padding: 40px 0 32px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2,
.about h2,
.cta-box h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(182, 75, 58, 0.12);
  color: var(--primary-dark);
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.alt-surface {
  padding-top: 56px;
}

.about-grid,
.cta-box,
.footer-grid {
  display: grid;
  gap: 30px;
}

.about-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.about-copy {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(48, 38, 31, 0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.cta {
  padding-bottom: 60px;
}

.cta-box {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 30px;
  border-radius: 30px;
}

.footer {
  padding: 36px 0 28px;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(48, 38, 31, 0.08);
}

.footer-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.footer-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.footer-details span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
}

.footer-details a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(48, 38, 31, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .footer-grid,
  .cta-box,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .footer-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav {
    padding: 14px 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .brand-text small {
    display: none;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .hero-panel,
  .service-card,
  .about-copy,
  .cta-box {
    padding: 22px;
  }

  .hero-highlights {
    gap: 10px;
  }

  .hero-highlights li {
    width: 100%;
    text-align: center;
  }

  .btn {
    width: 100%;
  }
}
