/* ============================================================
   Contabilidade Informe — Estilos personalizados
   Tema: Astra (base) | Visual: consultivo e moderno
   ============================================================ */

:root {
  --if-blue: #0B4E9C;
  --if-blue-dark: #08356E;
  --if-navy: #0B2545;
  --if-teal: #0E8AB0;
  --if-green: #12B76A;
  --if-gold: #FFC93C;
  --if-bg: #F4F7FB;
  --if-text: #3E4C63;
  --if-heading: #0B2545;
  --if-white: #FFFFFF;
  --if-radius: 14px;
  --if-shadow: 0 12px 34px rgba(11, 37, 69, 0.10);
  --if-shadow-sm: 0 6px 18px rgba(11, 37, 69, 0.08);
  --if-font-head: 'Poppins', sans-serif;
  --if-font-body: 'Inter', sans-serif;
}

/* ---------- Base / Astra overrides ---------- */
body {
  font-family: var(--if-font-body) !important;
  color: var(--if-text) !important;
  background: var(--if-white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--if-font-head) !important;
  color: var(--if-heading);
  font-weight: 700;
  line-height: 1.25;
}
a { color: var(--if-blue); transition: color .2s ease; }
a:hover { color: var(--if-teal); }
#primary, .ast-container { background: transparent; }
/* Blog, posts e páginas do Astra: largura confortável */
.ast-container { max-width: 1280px !important; }
/* Páginas do site (Home, Quem Somos, Serviços, etc.): container em largura TOTAL,
   reforçando o full-bleed das seções. O conteúdo interno (.if-container)
   permanece centralizado em 1280px. */
body.page .ast-container,
body.home .ast-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.ast-separate-container #primary { margin: 0; padding: 0; }
.ast-plain-container.ast-no-sidebar #primary { margin-top: 0 !important; margin-bottom: 0 !important; }
.ast-article-single, .ast-separate-container .ast-article-single { background: transparent !important; padding: 0 !important; }
.entry-content p { margin-bottom: 1.1em; }
.entry-title a { color: var(--if-heading); }

/* ---------- Barra superior ---------- */
.if-topbar {
  background: var(--if-navy);
  color: #CDD9EA;
  font-size: 13.5px;
  padding: 9px 0;
  line-height: 1.4;
}
.if-topbar .if-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.if-topbar a { color: #fff; text-decoration: none; margin: 0 12px 0 0; white-space: nowrap; }
.if-topbar a:hover { color: var(--if-gold); }
.if-topbar .if-topbar-left, .if-topbar .if-topbar-right { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.if-topbar .if-topbar-right { color: #9FB3CC; }
.if-topbar svg { vertical-align: -3px; margin-right: 4px; opacity: .9; }

/* ---------- Cabeçalho (Astra) ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(11, 37, 69, 0.06);
  position: relative;
  z-index: 99;
}
.main-header-menu .menu-link, .main-navigation .menu-link {
  color: var(--if-navy) !important;
  font-family: var(--if-font-head);
  font-size: 15px;
  font-weight: 500;
}
.main-header-menu .menu-link:hover, .main-navigation .menu-link:hover {
  color: var(--if-blue) !important;
}
.ast-header-break-point .main-header-menu .menu-link { color: var(--if-navy) !important; }

/* Item de menu Contato: sem fundo azul, apenas destaque no texto */
.main-navigation li.menu-cta > a,
.main-header-menu li.menu-cta > a {
  background: transparent !important;
  color: var(--if-blue) !important;
  border-radius: 8px;
  padding: 8px 16px !important;
  margin-left: 8px;
  font-weight: 600;
}
.main-navigation li.menu-cta > a:hover,
.main-header-menu li.menu-cta > a:hover { color: var(--if-teal) !important; background: rgba(11, 78, 156, 0.06) !important; }
.ast-header-break-point .main-header-menu li.menu-cta > a { margin: 8px 16px; width: auto; }

/* Logo */
.site-logo-img, .custom-logo, .ast-custom-logo img { max-height: 52px; width: auto; }
.site-branding .ast-site-title-wrap { display: none !important; }

/* Rodapé padrão do tema oculto (usamos rodapé próprio) */
.site-footer { display: none !important; }

/* Segurança: sem sidebar em páginas/posts */
.ast-right-sidebar #secondary, .ast-left-sidebar #secondary, #secondary { display: none !important; }
.ast-right-sidebar #primary, .ast-left-sidebar #primary { width: 100% !important; float: none !important; }
.ast-right-sidebar .ast-container, .ast-left-sidebar .ast-container { max-width: 1280px !important; }

/* ---------- Container e seções ---------- */
.if-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.if-section { padding: 84px 0; }
/* FULL-BLEED DEFINITIVO.
   O Astra limita os filhos do entry-content com:
     .entry-content[data-ast-blocks-layout] > * { max-width: 1240px; margin: auto; }
   (por isso as seções ficavam com largura pré-definida e margem automática).
   Usamos o MESMO seletor + !important para vencer, replicando a fórmula
   do hero/alignfull que já funciona. */
.entry-content[data-ast-blocks-layout] > .if-section,
.entry-content[data-ast-blocks-layout] > .if-page-hero {
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.if-section--light { background: var(--if-bg); }
.if-section--white { background: #fff; }
.if-section--dark { background: var(--if-navy); }

/* Cabeçalho de seção */
.if-sec-head { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.if-sec-head--left { margin-left: 0; text-align: left; }
.if-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--if-blue); font-weight: 700; font-size: 13px;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 12px;
}
.if-kicker::before { content: ""; width: 26px; height: 2.5px; background: var(--if-gold); border-radius: 2px; display: inline-block; }
.if-sec-head--center .if-kicker::after { content: ""; width: 26px; height: 2.5px; background: var(--if-gold); border-radius: 2px; display: inline-block; }
.if-title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 16px; letter-spacing: -0.5px; }
.if-sub { font-size: 17px; color: var(--if-text); margin: 0; }

/* ---------- Header: margem lateral ----------
   Descola a logo da borda esquerda e afasta o menu da borda direita.
   Seletor com ID vence o padding 0 do container da página.
   max-width: none garante o header em largura total em TODAS as páginas
   (inclusive Blog e artigos, onde o body é blog/single e não page). */
#masthead .site-primary-header-wrap {
  max-width: none !important;
  width: 100% !important;
  padding-left: 44px !important;
  padding-right: 44px !important;
}
@media (max-width: 768px) {
  #masthead .site-primary-header-wrap {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ---------- Hero (Home) ---------- */
.if-hero { position: relative; min-height: 560px; display: flex; align-items: center; }
.if-hero .wp-block-cover__inner-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; position: relative; z-index: 2; }
/* Sem overlay: imagem completa e viva */
/* Hero em largura total da tela */
.if-hero.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* Remove o espaçamento padrão que o Astra aplica em blocos de topo (gap abaixo do header) */
.entry-content > .wp-block-cover,
.entry-content > .wp-block-group,
.entry-content > .wp-block-columns {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.if-hero .wp-block-cover__inner-container { position: relative; z-index: 2; }
.if-hero-inner { max-width: 720px; padding: 96px 0 104px; color: #fff; }
.if-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff !important; padding: 7px 16px; border-radius: 50px; font-size: 13px; font-weight: 600;
  letter-spacing: .4px; margin-bottom: 22px; backdrop-filter: blur(4px);
}
.if-hero-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--if-gold); }
.if-hero-title { color: #fff !important; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.12; margin: 0 0 20px; letter-spacing: -1px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 4px 18px rgba(0, 0, 0, 0.40); }
.if-hero-title .if-accent { color: var(--if-gold) !important; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 4px 18px rgba(0, 0, 0, 0.40); }
.if-hero-text { font-size: 18.5px; line-height: 1.75; color: #F0F6FD !important; margin: 0 0 34px; max-width: 640px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.60); }
.if-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.if-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: 50px; font-family: var(--if-font-head);
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: all .25s ease; border: none; line-height: 1.2;
}
.if-btn--primary { background: linear-gradient(135deg, var(--if-blue) 0%, var(--if-teal) 100%); color: #fff; box-shadow: 0 10px 24px rgba(11, 78, 156, 0.35); }
.if-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 78, 156, 0.42); color: #fff; }
.if-btn--gold { background: var(--if-gold); color: var(--if-navy); box-shadow: 0 10px 24px rgba(255, 201, 60, 0.35); }
.if-btn--gold:hover { transform: translateY(-2px); color: var(--if-navy); background: #FFD45E; }
.if-btn--outline { background: transparent; border: 2px solid rgba(255, 255, 255, 0.65); color: #fff; }
.if-btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.10); color: #fff; }
.if-btn--ghost { background: #fff; color: var(--if-blue); box-shadow: 0 8px 20px rgba(11, 37, 69, 0.12); }
.if-btn--ghost:hover { transform: translateY(-2px); color: var(--if-blue); }
.if-btn--green { background: #25D366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35); }
.if-btn--green:hover { transform: translateY(-2px); color: #fff; background: #2EE06F; }
.if-btn svg { width: 18px; height: 18px; }

.if-hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; color: #fff !important; font-size: 14px; }
.if-hero-trust div { display: flex; align-items: center; gap: 9px; }
.if-hero-trust svg { width: 20px; height: 20px; color: var(--if-gold); }
/* Força a cor dos botões do hero (o CSS do cover pode herdar cor escura) */
.if-hero .if-btn--primary, .if-hero .if-btn--outline { color: #fff !important; }
.if-hero .if-btn--gold { color: var(--if-navy) !important; }

/* ---------- Faixa de estatísticas ---------- */
.if-stats { background: linear-gradient(120deg, var(--if-navy) 0%, var(--if-blue-dark) 100%); color: #fff; padding: 52px 0; }
.if-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.if-stat { text-align: center; padding: 10px; }
.if-stat-num { font-family: var(--if-font-head); font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: #fff; line-height: 1.1; }
.if-stat-num .if-plus { color: var(--if-gold); }
.if-stat-label { color: #B9CCE4; font-size: 14.5px; margin-top: 8px; }

/* ---------- Cards de serviços ---------- */
.if-grid { display: grid; gap: 26px; }
.if-grid--3 { grid-template-columns: repeat(3, 1fr); }
.if-grid--2 { grid-template-columns: repeat(2, 1fr); }
.if-grid--4 { grid-template-columns: repeat(4, 1fr); }

.if-card {
  background: #fff; border: 1px solid #E7EDF5; border-radius: var(--if-radius);
  padding: 34px 30px; box-shadow: var(--if-shadow-sm); transition: all .3s ease; position: relative; overflow: hidden;
}
.if-card:hover { transform: translateY(-6px); box-shadow: var(--if-shadow); border-color: transparent; }
.if-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--if-blue), var(--if-teal)); transition: width .35s ease;
}
.if-card:hover::before { width: 100%; }
.if-icon {
  width: 62px; height: 62px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--if-blue) 0%, var(--if-teal) 100%);
  color: #fff; margin-bottom: 22px; box-shadow: 0 10px 22px rgba(11, 78, 156, 0.28);
}
.if-icon svg { width: 30px; height: 30px; }
.if-icon--gold { background: linear-gradient(135deg, var(--if-gold) 0%, #FFB020 100%); box-shadow: 0 10px 22px rgba(255, 176, 32, 0.3); color: var(--if-navy); }
.if-icon--green { background: linear-gradient(135deg, var(--if-green) 0%, #0D9E5B 100%); box-shadow: 0 10px 22px rgba(18, 183, 106, 0.3); }
.if-card h3 { font-size: 19.5px; margin: 0 0 10px; }
.if-card p { margin: 0 0 16px; font-size: 15px; }
.if-card-link { font-weight: 600; font-size: 14.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.if-card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.if-card:hover .if-card-link svg { transform: translateX(4px); }

/* Lista com check */
.if-check-list { list-style: none; margin: 0; padding: 0; }
.if-check-list li { position: relative; padding: 7px 0 7px 34px; font-size: 15.5px; }
.if-check-list li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(18, 183, 106, 0.14); display: flex; align-items: center; justify-content: center;
}
.if-check-list li::after {
  content: ""; position: absolute; left: 5px; top: 15px; width: 8px; height: 5px;
  border-left: 2.2px solid var(--if-green); border-bottom: 2.2px solid var(--if-green); transform: rotate(-45deg);
}
.if-check-list--blue li::before { background: rgba(11, 78, 156, 0.12); }
.if-check-list--blue li::after { border-color: var(--if-blue); }

/* ---------- Grid de diferenciais ---------- */
.if-feature { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid #E7EDF5; border-radius: var(--if-radius); padding: 26px 24px; box-shadow: var(--if-shadow-sm); transition: all .3s ease; }
.if-feature:hover { transform: translateY(-4px); box-shadow: var(--if-shadow); }
.if-feature .if-icon { width: 52px; height: 52px; border-radius: 14px; margin: 0; flex-shrink: 0; }
.if-feature .if-icon svg { width: 26px; height: 26px; }
.if-feature h3 { font-size: 17px; margin: 0 0 6px; }
.if-feature p { margin: 0; font-size: 14.5px; }

/* ---------- Valores / chips ---------- */
.if-chips { display: flex; flex-wrap: wrap; gap: 14px; }
.if-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #E2EAF4; border-radius: 50px; padding: 12px 22px;
  font-family: var(--if-font-head); font-weight: 600; font-size: 14.5px; color: var(--if-navy);
  box-shadow: var(--if-shadow-sm); transition: all .25s ease;
}
.if-chip:hover { border-color: var(--if-blue); color: var(--if-blue); transform: translateY(-2px); }
.if-chip svg { width: 18px; height: 18px; color: var(--if-blue); }

/* ---------- Segmentos ---------- */
.if-segment {
  display: flex; align-items: center; gap: 16px; background: #fff;
  border: 1px solid #E7EDF5; border-radius: var(--if-radius); padding: 20px 22px;
  box-shadow: var(--if-shadow-sm); transition: all .25s ease; text-decoration: none; color: var(--if-heading);
}
.if-segment:hover { transform: translateY(-4px); box-shadow: var(--if-shadow); border-color: var(--if-blue); color: var(--if-heading); }
.if-segment .if-icon { width: 48px; height: 48px; border-radius: 13px; margin: 0; flex-shrink: 0; }
.if-segment .if-icon svg { width: 24px; height: 24px; }
.if-segment strong { font-family: var(--if-font-head); font-size: 15.5px; display: block; line-height: 1.3; }

/* ---------- Depoimentos ---------- */
.if-testimonial {
  background: #fff; border: 1px solid #E7EDF5; border-radius: var(--if-radius);
  padding: 30px 30px 26px; box-shadow: var(--if-shadow-sm); position: relative;
}
.if-testimonial::before {
  content: "\201C"; position: absolute; top: 14px; right: 24px; font-family: Georgia, serif;
  font-size: 84px; line-height: 1; color: rgba(11, 78, 156, 0.10); font-weight: 700;
}
.if-testimonial .if-stars { color: var(--if-gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 16px; }
.if-testimonial p { font-size: 15.5px; margin: 0 0 18px; }
.if-testimonial-author { display: flex; align-items: center; gap: 14px; }
.if-testimonial-author .if-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--if-blue), var(--if-teal));
  color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--if-font-head); font-weight: 700; font-size: 17px; flex-shrink: 0;
}
.if-testimonial-author strong { display: block; font-family: var(--if-font-head); font-size: 15px; color: var(--if-heading); }
.if-testimonial-author span { font-size: 13px; color: #7C8BA5; }

/* ---------- FAQ ---------- */
.if-faq { max-width: 860px; margin: 0 auto; }
.if-faq details {
  background: #fff; border: 1px solid #E7EDF5; border-radius: var(--if-radius);
  margin-bottom: 14px; overflow: hidden; box-shadow: var(--if-shadow-sm); transition: box-shadow .25s ease;
}
.if-faq details[open] { box-shadow: var(--if-shadow); border-color: var(--if-blue); }
.if-faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; font-family: var(--if-font-head); font-weight: 600; font-size: 16.5px; color: var(--if-heading);
}
.if-faq summary::-webkit-details-marker { display: none; }
.if-faq summary .if-faq-ico {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(11, 78, 156, 0.10); color: var(--if-blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .25s ease;
}
.if-faq summary .if-faq-ico svg { width: 16px; height: 16px; }
.if-faq details[open] summary .if-faq-ico { transform: rotate(45deg); background: var(--if-blue); color: #fff; }
.if-faq .if-faq-body { padding: 0 26px 24px; font-size: 15.5px; }

/* ---------- CTA ---------- */
.if-cta-band {
  background: linear-gradient(120deg, var(--if-blue-dark) 0%, var(--if-blue) 55%, var(--if-teal) 100%);
  border-radius: 22px; padding: 60px 56px; color: #fff; position: relative; overflow: hidden;
}
.if-cta-band::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.06);
}
.if-cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 14px; }
.if-cta-band p { color: #DCE9F7; font-size: 17px; margin: 0 0 28px; max-width: 640px; }
.if-cta-flex { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 2; }

/* ---------- Hero de páginas internas ---------- */
.if-page-hero {
  background: linear-gradient(120deg, var(--if-navy) 0%, var(--if-blue-dark) 60%, var(--if-blue) 100%);
  color: #fff; padding: 74px 0 80px; position: relative; overflow: hidden;
}
.if-page-hero::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.if-page-hero::after {
  content: ""; position: absolute; left: 10%; bottom: -120px; width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255, 201, 60, 0.08);
}
.if-page-hero .if-container { position: relative; z-index: 2; }
.if-page-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 46px); margin: 0 0 14px; letter-spacing: -0.5px; }
.if-page-hero p { color: #D6E4F5; font-size: 17.5px; max-width: 700px; margin: 0; }
.if-page-hero .if-kicker { color: var(--if-gold); }
.if-page-hero .if-kicker::before { background: var(--if-gold); }

/* ---------- Timeline (Reforma Tributária) ---------- */
.if-timeline { max-width: 820px; margin: 0 auto; position: relative; padding-left: 34px; }
.if-timeline::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--if-blue), var(--if-teal)); }
.if-tl-item { position: relative; padding: 0 0 34px 22px; }
.if-tl-item:last-child { padding-bottom: 0; }
.if-tl-item::before {
  content: ""; position: absolute; left: -31px; top: 6px; width: 17px; height: 17px; border-radius: 50%;
  background: #fff; border: 4px solid var(--if-blue); box-shadow: 0 0 0 4px rgba(11, 78, 156, 0.15);
}
.if-tl-year { font-family: var(--if-font-head); font-weight: 700; color: var(--if-blue); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.if-tl-item h3 { font-size: 19px; margin: 0 0 8px; }
.if-tl-item p { margin: 0; font-size: 15.5px; }

/* ---------- Tabelas ---------- */
.if-table-wrap { overflow-x: auto; border-radius: var(--if-radius); box-shadow: var(--if-shadow-sm); border: 1px solid #E7EDF5; }
.if-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
.if-table th { background: var(--if-navy); color: #fff; text-align: left; padding: 15px 18px; font-family: var(--if-font-head); font-size: 14.5px; font-weight: 600; }
.if-table td { padding: 14px 18px; border-bottom: 1px solid #EEF2F8; font-size: 14.5px; }
.if-table tr:nth-child(even) td { background: #F8FAFD; }
.if-table tr:last-child td { border-bottom: none; }
.if-table td:first-child { font-weight: 600; color: var(--if-heading); }

/* ---------- Caixas de destaque ---------- */
.if-note {
  border-left: 4px solid var(--if-blue); background: #F0F6FE; border-radius: 0 12px 12px 0;
  padding: 20px 24px; margin: 26px 0; font-size: 15.5px;
}
.if-note--green { border-left-color: var(--if-green); background: #EFFAF4; }
.if-note--gold { border-left-color: var(--if-gold); background: #FFF9E8; }
.if-note strong { color: var(--if-heading); }

/* ---------- Formulário CF7 ---------- */
.if-form { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid #E7EDF5; border-radius: var(--if-radius); padding: 40px 38px; box-shadow: var(--if-shadow); }
.if-form label { display: block; font-family: var(--if-font-head); font-weight: 600; font-size: 14px; color: var(--if-heading); margin: 0 0 8px; }
.if-form input[type="text"], .if-form input[type="email"], .if-form input[type="tel"], .if-form select, .if-form textarea {
  width: 100%; border: 1.5px solid #DCE4EF; border-radius: 10px; padding: 13px 16px;
  font-family: var(--if-font-body); font-size: 15px; color: var(--if-heading); background: #FAFBFE; margin-bottom: 20px;
  transition: border-color .2s, box-shadow .2s;
}
.if-form input:focus, .if-form select:focus, .if-form textarea:focus { outline: none; border-color: var(--if-blue); box-shadow: 0 0 0 4px rgba(11, 78, 156, 0.12); background: #fff; }
.if-form .wpcf7-submit {
  background: linear-gradient(135deg, var(--if-blue) 0%, var(--if-teal) 100%); color: #fff; border: none;
  padding: 15px 42px; border-radius: 50px; font-family: var(--if-font-head); font-weight: 600; font-size: 15.5px;
  cursor: pointer; box-shadow: 0 10px 24px rgba(11, 78, 156, 0.32); transition: all .25s ease;
}
.if-form .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 78, 156, 0.4); }
.if-form .wpcf7-response-output { border-radius: 10px; padding: 14px 18px; font-size: 14.5px; margin: 10px 0 0; }
.if-form .wpcf7-spinner { margin: 0 12px; }
.if-contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.if-contact-info .if-feature { margin-bottom: 16px; }

/* ---------- Rodapé ---------- */
.if-footer { background: var(--if-navy); color: #B9CBE0; font-size: 15px; }
.if-footer-top { padding: 64px 0 44px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; }
.if-footer h4 { color: #fff; font-size: 15.5px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 20px; }
.if-footer a { color: #B9CBE0; text-decoration: none; }
.if-footer a:hover { color: var(--if-gold); }
.if-footer .if-footer-about p { margin: 0 0 18px; }
.if-footer ul { list-style: none; margin: 0; padding: 0; }
.if-footer ul li { margin-bottom: 10px; }
.if-footer .if-footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
/* Telefones do rodapé: não quebrar o número no meio */
.if-footer .if-footer-contact li > span a { white-space: nowrap; }
.if-footer .if-footer-contact svg { width: 19px; height: 19px; color: var(--if-gold); flex-shrink: 0; margin-top: 3px; }
.if-footer .if-footer-social { display: flex; gap: 12px; margin-top: 20px; }
.if-footer .if-footer-social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center; transition: all .25s ease;
}
.if-footer .if-footer-social a:hover { background: var(--if-blue); transform: translateY(-2px); }
.if-footer .if-footer-social svg { width: 18px; height: 18px; color: #fff; }
.if-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.10); padding: 22px 0; font-size: 13.5px; }
.if-footer-bottom .if-container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.if-footer-bottom a { color: #9FB3CC; }

/* ---------- WhatsApp flutuante ---------- */
.if-whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 99999;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); transition: transform .25s ease;
  animation: if-pulse 2.4s infinite;
}
.if-whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.if-whatsapp-float svg { width: 32px; height: 32px; }
.if-whatsapp-float .if-wa-tip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: var(--if-navy); color: #fff; font-size: 13px; font-family: var(--if-font-body);
  padding: 8px 14px; border-radius: 8px; white-space: nowrap; opacity: 0; visibility: hidden; transition: all .25s ease;
}
.if-whatsapp-float:hover .if-wa-tip { opacity: 1; visibility: visible; }
@keyframes if-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Blog ---------- */
.ast-article-post { background: #fff; border: 1px solid #E7EDF5; border-radius: var(--if-radius); box-shadow: var(--if-shadow-sm); overflow: hidden; transition: all .3s ease; }
.ast-article-post:hover { transform: translateY(-4px); box-shadow: var(--if-shadow); }
.ast-article-post .ast-blog-featured-section { margin: 0; }
.ast-article-post .ast-post-format-, .ast-article-post .ast-article-inner { padding: 0; }
.ast-article-post .post-content { padding: 24px; }
.ast-article-post .entry-title { font-size: 20px; margin-bottom: 10px; }
.ast-article-post .entry-meta { font-size: 13.5px; }
.ast-archive-header .page-title { font-family: var(--if-font-head); }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .if-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .if-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .if-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .if-footer-top { grid-template-columns: 1fr 1fr; }
  .if-contact-grid { grid-template-columns: 1fr; }
  .if-section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .if-grid--4, .if-grid--3, .if-grid--2 { grid-template-columns: 1fr; }
  .if-hero { min-height: auto; }
  .if-hero-inner { padding: 56px 0 68px; }
  .if-cta-band { padding: 44px 28px; }
  .if-footer-top { grid-template-columns: 1fr; gap: 34px; }
  .if-topbar .if-topbar-right { display: none; }
  .if-form { padding: 30px 22px; }
  .if-whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .if-whatsapp-float svg { width: 28px; height: 28px; }
}
