/* ================================
   PRISMA Inteligência Contábil
   Tema moderno preto e dourado
   Responsivo: mobile, tablet, desktop
================================ */

:root {
  --bg: #0f1113;
  --card: #0f1316;
  --surface: #0b0b0b;
  --gold: #caa85a;
  --muted: #9aa0a6;
  --white: #ffffff;
  --radius: 12px;
  --max-width: 1200px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
}

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

body {
  background: linear-gradient(180deg, #777d82 0%, #0f1113 100%);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ================================
   HEADER
================================ */

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  font-size: 14px;
}

.client-area {
  background: var(--gold);
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

/* LOGO */
.brand-wrap {
  text-align: center;
  padding: 24px 0;
}

.logo {
  max-height: 200px;
  margin: 0 auto;
}

/* NAVBAR */
.main-nav {
  background: var(--surface);
  padding: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.main-nav ul {
  display: flex;
  gap: 20px;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 6px;
  font-weight: 500;
  transition: 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(202, 168, 90, 0.1);
  color: var(--gold);
}

/* ================================
   HERO
================================ */

.hero {
  position: relative;
  height: 60vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('logosite.jpeg');
  background-size: cover;
  background-position: center;
  padding: 20px;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 850px;
  z-index: 2;
}

.hero-inner h2,
.hero-inner p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero h2 {
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 10px;
}

.hero-sub {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: clamp(14px, 2vw, 18px);
}

/* BOTÕES */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  margin: 8px;
  transition: 0.3s;
}

.btn-primary {
  background: var(--gold);
  color: #000;
}

.btn-primary:hover {
  background: #e6c16b;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: rgba(202, 168, 90, 0.1);
}

/* ================================
   LAYOUT GERAL
================================ */

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

.section {
  padding: 50px 0;
}

.section h3 {
  font-size: clamp(22px, 4vw, 30px);
  margin-bottom: 8px;
  color: #e6c16b;
}

.section-sub {
  color: #ffffffd8;
  margin-bottom: 18px;
}

/* ================================
   QUEM SOMOS
================================ */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
}

.about p {
  color: #ffffffd8;
}

/* ================================
   SERVIÇOS
================================ */

.services .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* CARD PADRÃO */
.card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.card h4 {
  color: #e6c16b;
}

/* ================================
   ORÇAMENTO + CONTATO (UNIFICADO)
================================ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* FORMULÁRIOS PADRÃO */
.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(202, 168, 90, 0.2);
  color: white;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 12px;
  transition: 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(202, 168, 90, 0.3);
}

/* BOTÃO OCUPA LARGURA */
.contact-form button {
  width: 100%;
}

/* ================================
   REDES SOCIAIS
================================ */

.socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.socials a {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.socials a:hover {
  background: rgba(202, 168, 90, 0.25);
  color: var(--gold);
}

.socials i {
  font-size: 18px;
  color: var(--gold);
}

/* ================================
   FOOTER
================================ */

.site-footer {
  background: #0d0d0d;
  padding: 30px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: auto;
  gap: 20px;
}

.footer-copy {
  color: var(--muted);
  font-size: 14px;
}

/* ================================
   RESPONSIVIDADE
================================ */

@media (max-width: 991px) {
  .hero {
    height: auto;
    padding: 50px 20px;
  }

  .hero-inner h2 {
    font-size: clamp(26px, 6vw, 40px);
  }

  .logo {
    max-height: 160px;
  }

  .topbar {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 768px) {

  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img {
    max-width: 220px;
    margin: 0 auto;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .hero-inner h2 {
    font-size: 24px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 15px;
  }
}
