/*
Theme Name: PAK Contabilidade
Theme URI: https://pakcontabilidade.com.br
Author: Marcos
Description: Tema PAK Contabilidade
Version: 1.0
*/

@charset "utf-8";

/* =====================
   RESET E BASE
===================== */

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  color: #333333;
  background-color: #ffffff;
  background-image: url('imagens/fundo.png');
  background-position: right top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 55% auto;
}

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

a:hover {
  color: #1b4678;
  text-decoration: underline;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
}

/* =====================
   CONTAINER
===================== */

.site-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #dde3f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(36, 91, 154, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* LOGO */

.site-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 265px;
  width: auto;
}

.site-logo-text .logo-pak {
  font-size: 2rem;
  font-weight: 800;
  color: #245b9a;
  letter-spacing: -1px;
  line-height: 1;
}

.site-logo-text .logo-sub {
  font-size: 0.85rem;
  color: #5577aa;
  font-weight: 400;
  letter-spacing: 50px;
  text-transform: uppercase;
}

/* MENU */

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
}

.main-nav ul li a {
  display: block;
  padding: 6px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #333;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a {
  background-color: #245b9a;
  color: #ffffff;
  text-decoration: none;
}

/* =====================
   HERO (HOME)
===================== */

.hero {
  padding: 72px 0 56px 0;
  max-width: 600px;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #1a3f6f;
  line-height: 1.3;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background-color: #245b9a;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 5px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background-color: #1b4678;
  color: #ffffff;
  text-decoration: none;
}

/* =====================
   SEÇÕES GENÉRICAS
===================== */

.section {
  padding: 52px 0;
}

.section--white {
  background-color: #ffffff;
}

.section--light {
  background-color: #f0f4fb;
}

.section--blue {
  background-color: transparent;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #245b9a;
  margin-bottom: 24px;
}

.section--blue .section-title {
  color: #ffffff;
}

.section-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 14px;
  max-width: 800px;
}

.section--blue .section-text {
  color: #dde8f5;
}

/* =====================
   CARDS DE SERVIÇOS
===================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 12px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #dde3f0;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px rgba(36, 91, 154, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 6px 20px rgba(36, 91, 154, 0.13);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #245b9a;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #555;
}

/* =====================
   PÁGINA EMPRESA
===================== */

.page-empresa .section-text {
  margin-bottom: 20px;
}

/* =====================
   PÁGINA CONTATO
===================== */

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1 1 220px;
}

.contact-info p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 10px;
}

.contact-info a {
  color: transparent;
}

.contact-form-wrap {
  flex: 2 1 360px;
}

.wpcf7-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  margin-top: 14px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #c5cfe0;
  border-radius: 5px;
  font: inherit;
  font-size: 0.93rem;
  color: #333;
  background: #fff;
  transition: border 0.2s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #245b9a;
  box-shadow: 0 0 0 3px rgba(36, 91, 154, 0.1);
}

.wpcf7-form textarea {
  min-height: 130px;
  resize: vertical;
}

.wpcf7-form input[type="submit"] {
  margin-top: 18px;
  padding: 11px 28px;
  background-color: transparent;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #1b4678;
}

/* =====================
   PÁGINA ÁREA DO CLIENTE
===================== */

.cliente-box {
  background: #f0f4fb;
  border: 1px solid #dde3f0;
  border-radius: 8px;
  padding: 32px;
  max-width: 480px;
}

.cliente-box p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 24px;
  background-color: #f0f4fb;
  color: #245b9a;
  border: 2px solid #245b9a;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 5px;
  margin-top: 10px;
  transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background-color: #245b9a;
  color: #fff;
  text-decoration: none;
}

/* =====================
   CTA SECTION
===================== */

.cta-section {
  background-color: transparent;
  padding: 52px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1rem;
  color: #ccdaee;
  margin-bottom: 28px;
}

.btn-white {
  display: inline-block;
  padding: 12px 32px;
  background-color: #ffffff;
  color: #245b9a;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}

.btn-white:hover {
  background-color: #dde8f5;
  color: #1b4678;
  text-decoration: none;
}

/* =====================
   RODAPÉ
===================== */

.site-footer {
  background-color: #1a3f6f;
  color: #ccdaee;
  padding: 20px 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-inner a {
  color: #a8c4e0;
}

.footer-inner a:hover {
  color: #ffffff;
}

/* =====================
   WHATSAPP FLUTUANTE
===================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background-color: #25d366;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  transform: scale(1.08);
  text-decoration: none;
}

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

/* =====================
   RESPONSIVO
===================== */

@media (max-width: 768px) {
  body {
    background-size: 100% auto;
    background-position: right top;
  }

  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 12px 0;
    gap: 10px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .hero {
    padding: 40px 0 32px 0;
    max-width: 100%;
  }

  .hero-title {
    font-size: 1.5rem;
  }

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

  .contact-wrapper {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .home .section {
  background-color: transparent;
  }
}