/* ==========================================================================
   AGF - ASSESSORIA PERICIAL E CONTÁBIL
   Folha de Estilos Oficial (HTML5 / CSS3 Puro)
   Design Fiel ao agfpericias.com.br
   ========================================================================== */

/* --- VARIÁVEIS DO TEMA --- */
:root {
  --primary-navy: #0c2340;
  --secondary-navy: #0f3856;
  --accent-blue: #0875c5;
  --accent-blue-hover: #065e9f;
  --gold-accent: #f5c842;
  --gold-text: #222222;
  --slate-badge-bg: #b8cede;
  --slate-badge-text: #0f3856;
  --bg-light: #f4f4f4;
  --bg-white: #ffffff;
  --text-dark: #181818;
  --text-body: #4a4a4a;
  --text-muted: #6c757d;
  --text-light: #ffffff;
  --border-light: #e0e0e0;
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.45);
  
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Poppins', sans-serif;
  --font-btn: 'Roboto', sans-serif;
  
  --container-max: 1200px;
  --header-height: 75px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- BOTÕES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-btn);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 117, 197, 0.35);
}

.btn-white {
  background-color: #ffffff;
  color: var(--secondary-navy);
}

.btn-white:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.btn-dark {
  background-color: var(--secondary-navy);
  color: #ffffff;
  width: 100%;
}

.btn-dark:hover {
  background-color: var(--primary-navy);
  box-shadow: 0 4px 12px rgba(15, 56, 86, 0.35);
}

/* --- TAGS & BADGES --- */
.badge-gold {
  display: inline-block;
  background-color: var(--gold-accent);
  color: var(--gold-text);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.badge-tag {
  display: inline-block;
  background-color: var(--slate-badge-bg);
  color: var(--slate-badge-text);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
  margin-top: 6px;
}

.badge-new {
  display: inline-block;
  background-color: var(--slate-badge-bg);
  color: var(--slate-badge-text);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  background: rgba(12, 35, 64, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header.scrolled {
  background: rgba(12, 35, 64, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  height: 68px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 1px;
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 3px;
  letter-spacing: 0.5px;
}

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

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-blue);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #ffffff;
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  background: url('../assets/img/bg.jpg') center center/cover no-repeat;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 35, 64, 0.94) 0%, rgba(15, 56, 86, 0.88) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-box:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   SEÇÃO PERICIAL (#pericial)
   ========================================================================== */
.section-pericial {
  padding: 90px 0 60px;
  background-color: var(--bg-white);
}

.section-grid-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.section-intro-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--secondary-navy);
  line-height: 1.25;
  text-transform: uppercase;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-dark);
}

.divider-gold {
  width: 60px;
  height: 3px;
  background-color: var(--accent-blue);
  margin: 8px 0;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
}

.section-intro-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Grade 9 Cards Serviços */
.services-grid-section {
  padding: 60px 0 80px;
  background-color: var(--bg-light);
}

.services-grid-9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-header-flex {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
}

.card-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.card-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

/* Banners de Destaque 2 colunas */
.highlight-banners-section {
  padding: 50px 0 80px;
  background-color: var(--secondary-navy);
}

.banners-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.banner-glass-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(5px);
}

.banner-glass-box h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 10px 0 12px;
}

.banner-glass-box p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin-bottom: 24px;
}

.banner-glass-box .btn {
  align-self: flex-start;
}

/* ==========================================================================
   SEÇÃO CONTÁBIL (#contabil)
   ========================================================================== */
.section-contabil {
  padding: 90px 0 60px;
  background-color: var(--bg-white);
}

/* Banner Situação Irregular */
.irregular-banner-section {
  padding: 70px 0;
  background-color: var(--secondary-navy);
  color: #ffffff;
}

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

.irregular-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.irregular-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
}

.irregular-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.irregular-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.irregular-checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #ffffff;
  color: var(--text-dark);
  padding: 35px 30px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.check-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--secondary-navy);
  margin-top: 3px;
}

.check-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.check-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.check-text p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* 4 Cards de Dores Frequentes */
.pain-points-section {
  padding: 40px 0 70px;
  background-color: var(--secondary-navy);
}

.pain-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pain-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 25px 20px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pain-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary-navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.pain-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ==========================================================================
   SEÇÃO DIFERENCIAIS (#diferencial)
   ========================================================================== */
.section-diferenciais {
  padding: 90px 0;
  background-color: var(--bg-white);
  text-align: center;
}

.section-header-center {
  margin-bottom: 55px;
}

.section-pretitle {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.diferenciais-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  text-align: left;
}

.diferencial-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  border-top: 4px solid var(--accent-blue);
  transition: var(--transition);
}

.diferencial-card:hover {
  transform: translateY(-5px);
  background-color: #ffffff;
  box-shadow: var(--shadow-hover);
}

.diferencial-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary-navy);
  margin-bottom: 12px;
}

.diferencial-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   SEÇÃO PARA QUEM (#para-quem)
   ========================================================================== */
.section-para-quem {
  padding: 90px 0;
  background-color: var(--secondary-navy);
  color: #ffffff;
  text-align: center;
}

.section-para-quem .section-title {
  color: #ffffff;
  margin-bottom: 50px;
}

.profiles-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: left;
}

.profile-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.profile-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--secondary-navy);
  margin: 10px 0 12px;
  text-transform: uppercase;
}

.profile-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.tags-cloud span {
  background-color: #b8cede;
  color: #0f3856;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   SEÇÃO DEPOIMENTOS (#depoimentos)
   ========================================================================== */
.section-depoimentos {
  padding: 90px 0;
  background-color: var(--bg-light);
  text-align: center;
}

.section-depoimentos .section-title {
  margin-bottom: 45px;
}

.reviews-wrapper {
  max-width: 750px;
  margin: 0 auto;
}

.google-review-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-card);
  text-align: left;
}

.review-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #e8f0fe;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.reviewer-details h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.reviewer-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars-rating {
  color: #fbbc04;
  font-size: 1.1rem;
  display: flex;
  gap: 3px;
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #5f6368;
}

.review-content-text {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.65;
  font-style: italic;
}

/* ==========================================================================
   SEÇÃO CONTATO (#contato)
   ========================================================================== */
.section-contato {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-col .section-title {
  text-align: left;
}

.contact-intro-p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: var(--text-dark);
  font-weight: 500;
}

.channel-item:hover {
  background-color: #e9ecef;
  transform: translateX(4px);
  color: var(--accent-blue);
}

.channel-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.channel-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Formulário de Contato */
.contact-form-box {
  background-color: var(--bg-light);
  padding: 40px 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ced4da;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(8, 117, 197, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Feedback do envio */
.form-feedback {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  font-size: 0.92rem;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* ==========================================================================
   FOOTER (MEGA FOOTER CORPORATIVO MULTI-COLUNAS)
   ========================================================================== */
.site-footer {
  background-color: #07162c;
  color: #ffffff;
  border-top: 1px solid rgba(197, 160, 89, 0.25);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.1fr 1fr 1.1fr;
  gap: 40px;
  padding: 70px 0 50px;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 1px;
}

.footer-brand-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin: 14px 0 18px;
}

.footer-crc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-crc-badge .badge-icon {
  width: 16px;
  height: 16px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 20px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list li,
.footer-links-list a,
.footer-links-list span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.45;
}

.footer-links-list a:hover,
.footer-links-list button:hover {
  color: #ffffff;
}

.footer-hours {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.82rem !important;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  color: var(--gold-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-contact-link:hover .footer-contact-icon {
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-link-btn {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.88rem !important;
  font-family: inherit !important;
  cursor: pointer;
  text-align: left;
  line-height: 1.45;
  transition: color 0.2s ease;
  display: inline;
}

.footer-link-btn:hover {
  color: #ffffff !important;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-right a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-bottom-right a:hover {
  color: var(--gold-primary);
}

@media (max-width: 992px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 576px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 50px 0 40px;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ==========================================================================
   RESPONSIVIDADE (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .section-grid-intro {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .services-grid-9 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pain-grid-4,
  .diferenciais-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-grid-intro,
  .banners-grid-2,
  .irregular-grid,
  .profiles-grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .section-grid-intro {
    text-align: center;
  }
  
  .divider-gold {
    margin-left: auto;
    margin-right: auto;
  }
  :root {
    --header-height: 65px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: rgba(12, 35, 64, 0.98);
    padding: 25px 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }
  
  .main-nav.active {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    width: 100%;
    padding: 0 6px;
  }

  .nav-list li {
    width: 100%;
    text-align: left;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 1.15rem;
    padding: 8px 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .services-grid-9,
  .pain-grid-4,
  .diferenciais-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   WHATSAPP FLUTUANTE (REGRA 7)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff;
  padding: 11px 20px 11px 13px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 6px 14px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.whatsapp-icon-box {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.whatsapp-pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  border: 2px solid rgba(37, 211, 102, 0.85);
  animation: whatsappPulse 2.2s infinite;
  pointer-events: none;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.08);
    opacity: 0;
  }
  100% {
    transform: scale(0.96);
    opacity: 0;
  }
}

@media (max-width: 576px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    padding: 10px 15px 10px 10px;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   CARD DE COOKIES FLUTUANTE (LGPD - PADRÃO OFICIAL)
   ========================================================================== */
.cookie-card {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: calc(100% - 50px);
  max-width: 390px;
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 12px;
  padding: 20px 22px;
  z-index: 998;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
}

.cookie-card.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cookie-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.cookie-card-title-wrap h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
}

.cookie-card-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #555555;
  margin: 0 0 16px;
}

.cookie-privacy-link {
  background: none;
  border: none;
  color: var(--primary-navy);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}

.cookie-privacy-link:hover {
  color: var(--gold-primary);
}

.cookie-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.btn-cookie-action {
  padding: 9px 4px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  border: 1px solid transparent;
}

/* 1. Botão Preferências */
.btn-cookie-pref {
  background-color: #f1f5f9;
  color: var(--primary-navy);
  border-color: #cbd5e1;
}

.btn-cookie-pref:hover {
  background-color: #e2e8f0;
  color: #000000;
}

/* 2. Botão Recusar */
.btn-cookie-reject {
  background-color: #f8fafc;
  color: #64748b;
  border-color: #cbd5e1;
}

.btn-cookie-reject:hover {
  background-color: #eef2f6;
  color: #334155;
}

/* 3. Botão Aceitar (CTA Principal na Identidade da Marca) */
.btn-cookie-accept {
  background-color: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  box-shadow: 0 2px 6px rgba(12, 35, 64, 0.25);
}

.btn-cookie-accept:hover {
  background-color: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #0c2340;
}

@media (max-width: 576px) {
  .cookie-card {
    bottom: 15px;
    left: 15px;
    right: 15px;
    width: auto;
    max-width: none;
    padding: 16px 18px;
  }
  
  .cookie-card-actions {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }
  
  .btn-cookie-action {
    padding: 8px 2px;
    font-size: 0.78rem;
  }

  body.has-cookie-card .whatsapp-float-btn {
    bottom: 230px;
  }
}

/* Modal de Política de Privacidade */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  color: var(--text-dark);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background-color: var(--primary-navy);
  color: #ffffff;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.modal-close:hover {
  opacity: 1;
  color: var(--gold-primary);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #444444;
}

.modal-body h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--primary-navy);
  margin: 18px 0 8px;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 14px;
}

.modal-body a {
  color: var(--primary-navy);
  font-weight: 600;
  text-decoration: underline;
}

.modal-footer {
  padding: 16px 24px;
  background-color: #f8f9fa;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #eeeeee;
}

