/*
Theme Name: Contabilidade Felipe
Theme URI: https://example.invalid/
Author: Contabilidade Felipe
Description: Tema institucional próprio da Contabilidade Felipe, com foco empresarial e contabilidade rural.
Version: 1.5.3
Text Domain: contabilidade-felipe
*/

:root {
  --cf-ink: #1e1a16;
  --cf-ink-2: #312c26;
  --cf-cream: #f4efe7;
  --cf-paper: #fbf8f3;
  --cf-copper: #aa5738;
  --cf-copper-dark: #88402a;
  --cf-olive: #77704a;
  --cf-line: rgba(56, 45, 35, .16);
  --cf-shadow: 0 18px 50px rgba(31, 24, 18, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--cf-ink); background: var(--cf-paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.cf-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.cf-kicker { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .19em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.cf-kicker::before { content: ""; width: 28px; height: 2px; background: var(--cf-copper); }
.cf-serif { font-family: Georgia, "Times New Roman", serif; }

.cf-header { position: sticky; top: 0; z-index: 30; background: rgba(251,248,243,.94); border-bottom: 1px solid rgba(0,0,0,.05); backdrop-filter: blur(12px); }
.cf-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cf-brand { display: flex; align-items: center; gap: 12px; min-width: 235px; }
.cf-mark { width: 48px; height: 48px; display: grid; place-items: center; color: var(--cf-copper); font: 700 30px/1 Georgia, serif; border-right: 1px solid var(--cf-line); padding-right: 10px; }
.cf-brand-copy { display: grid; line-height: 1.02; }
.cf-brand-copy small { font-size: 10px; letter-spacing: .22em; }
.cf-brand-copy strong { font: 500 24px/1 Georgia, serif; letter-spacing: .08em; }
.custom-logo { max-height: 58px; width: auto; }
.cf-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 650; }
.cf-nav a:hover { color: var(--cf-copper); }
.cf-mobile-toggle { display: none; border: 0; background: transparent; font-size: 25px; }
.cf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 8px; padding: 0 18px; font-weight: 700; border: 1px solid transparent; transition: transform .18s ease, background .18s ease; }
.cf-btn:hover { transform: translateY(-1px); }
.cf-btn-primary { color: white; background: var(--cf-copper); }
.cf-btn-primary:hover { background: var(--cf-copper-dark); }
.cf-btn-light { background: rgba(255,255,255,.92); color: var(--cf-ink); border-color: rgba(255,255,255,.55); }

.cf-hero { min-height: 650px; color: #fff; position: relative; display: flex; align-items: center; background-image: linear-gradient(90deg, rgba(22,21,18,.86) 0%, rgba(22,21,18,.65) 34%, rgba(22,21,18,.12) 67%, rgba(22,21,18,.08) 100%), url('assets/images/fachada-oficial-contabilidade-felipe.webp'); background-size: cover; background-position: center; }
.cf-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 72%, rgba(17,15,13,.18)); pointer-events: none; }
.cf-hero-content { position: relative; z-index: 2; max-width: 640px; padding: 86px 0; }
.cf-hero h1 { margin: 20px 0 20px; max-width: 610px; font: 500 clamp(48px, 6vw, 78px)/.98 Georgia, serif; letter-spacing: -.035em; }
.cf-hero p { max-width: 535px; margin: 0 0 30px; color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.55; }
.cf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cf-section { padding: 86px 0; }
.cf-section-heading { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.cf-section-heading .cf-kicker { color: var(--cf-copper); }
.cf-section-heading h2 { font: 500 clamp(34px, 4vw, 50px)/1.08 Georgia, serif; margin: 12px 0; }
.cf-section-heading p { color: #665d54; line-height: 1.7; }
.cf-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cf-service { position: relative; padding: 28px; min-height: 210px; border: 1px solid var(--cf-line); border-radius: 12px; background: rgba(255,255,255,.38); transition: .2s ease; }
.cf-service:hover { transform: translateY(-3px); box-shadow: var(--cf-shadow); background: white; }
.cf-service-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px; color: var(--cf-olive); background: rgba(119,112,74,.11); font-size: 22px; }
.cf-service h3 { font: 500 21px/1.2 Georgia, serif; margin: 0 0 12px; }
.cf-service p { color: #665d54; font-size: 14px; line-height: 1.6; margin: 0; }
.cf-service-arrow { position: absolute; right: 24px; bottom: 20px; color: var(--cf-copper); font-size: 26px; }

.cf-rural { color: #fff; position: relative; overflow: hidden; background: radial-gradient(circle at 82% 14%, rgba(166,151,91,.22), transparent 28%), linear-gradient(135deg, #2b2b20, #4d4a30); }
.cf-rural::before { content: ""; position: absolute; inset: -20% -5%; opacity: .16; transform: rotate(-7deg); background: repeating-linear-gradient(90deg, transparent 0 52px, rgba(255,255,255,.22) 53px 55px); }
.cf-rural-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.cf-rural h2 { font: 500 clamp(38px, 5vw, 62px)/1 Georgia, serif; margin: 14px 0 22px; }
.cf-rural p { color: rgba(255,255,255,.82); line-height: 1.75; max-width: 650px; }
.cf-rural-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cf-rural-feature { padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.05); }
.cf-rural-feature strong { display: block; margin-bottom: 8px; font-family: Georgia, serif; font-size: 18px; }
.cf-rural-feature span { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.55; }

.cf-about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.cf-about-card { background: #efe7dc; border-radius: 22px; padding: 44px; box-shadow: var(--cf-shadow); }
.cf-about-card .big { font: 500 clamp(60px, 9vw, 110px)/.85 Georgia, serif; color: var(--cf-copper); }
.cf-about-card p { margin: 18px 0 0; color: #5f554b; }
.cf-about h2 { font: 500 clamp(34px, 4vw, 52px)/1.08 Georgia, serif; margin: 12px 0 20px; }
.cf-about p { color: #665d54; line-height: 1.8; }

.cf-contact { background: #24231f; color: white; }
.cf-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.cf-contact-card { padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.035); }
.cf-contact h2 { font: 500 38px/1.1 Georgia, serif; margin: 10px 0 22px; }
.cf-contact-list { display: grid; gap: 13px; color: rgba(255,255,255,.82); }
.cf-contact-list strong { color: white; }
.cf-map { width: 100%; min-height: 350px; border: 0; border-radius: 14px; background: #ded7ca; }
.cf-footer { padding: 30px 0; background: #1b1a17; color: rgba(255,255,255,.66); font-size: 13px; }
.cf-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

@media (max-width: 980px) {
  .cf-nav { display: none; position: absolute; top: 76px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 0; background: var(--cf-paper); border: 1px solid var(--cf-line); border-radius: 12px; padding: 10px; box-shadow: var(--cf-shadow); }
  .cf-nav.is-open { display: flex; }
  .cf-nav a { padding: 13px 14px; }
  .cf-header-cta { display: none; }
  .cf-mobile-toggle { display: block; }
  .cf-services { grid-template-columns: repeat(2, 1fr); }
  .cf-rural-grid, .cf-about-grid, .cf-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .cf-wrap { width: min(100% - 28px, 1180px); }
  .cf-header-inner { min-height: 68px; }
  .cf-brand { min-width: 0; }
  .cf-mark { width: 40px; height: 40px; font-size: 24px; }
  .cf-brand-copy strong { font-size: 19px; }
  .cf-brand-copy small { font-size: 8px; }
  .cf-nav { top: 68px; }
  .cf-hero { min-height: 610px; background-position: 64% center; }
  .cf-hero-content { padding: 72px 0; }
  .cf-hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .cf-hero p { font-size: 16px; }
  .cf-btn { width: 100%; }
  .cf-section { padding: 66px 0; }
  .cf-services, .cf-rural-features { grid-template-columns: 1fr; }
  .cf-service { min-height: 180px; }
  .cf-footer-inner { align-items: flex-start; flex-direction: column; }
}

/* ===== CF CONSOLIDATED V1.0 START ===== */
/*
 * CONTABILIDADE FELIPE - HOME BASE V1.0
 * Consolidado dos ajustes aprovados de layout, header,
 * menu e tipografia.
 */

@media (min-width: 981px) {

  .cf-wrap {
    width: min(960px, calc(100% - 48px));
  }

  .cf-header-inner {
    min-height: 92px;
    gap: 34px;
  }

  .cf-brand {
    min-width: 295px;
    gap: 15px;
  }

  .cf-mark {
    width: 62px;
    height: 62px;
    font-size: 37px;
    padding-right: 13px;
  }

  .cf-brand-copy small {
    font-size: 11px;
    letter-spacing: .26em;
  }

  .cf-brand-copy strong {
    font-size: 31px;
    line-height: .98;
    letter-spacing: .035em;
  }

  .cf-nav {
    gap: 34px;
    font-size: 17px;
    font-weight: 700;
  }

  .cf-nav a {
    padding: 12px 0;
  }

  .cf-header .cf-btn,
  .cf-header-inner .cf-btn {
    min-height: 52px;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
  }

  .cf-hero {
    min-height: 520px;
    align-items: center;
    background-image:
      linear-gradient(
        90deg,
        rgba(18,17,15,.86) 0%,
        rgba(18,17,15,.73) 27%,
        rgba(18,17,15,.38) 45%,
        rgba(18,17,15,.10) 66%,
        rgba(18,17,15,.04) 100%
      ),
      url('assets/images/fachada-oficial-contabilidade-felipe.webp');
    background-size: cover;
    background-position: center 48%;
  }

  .cf-hero-content {
    max-width: 535px;
    padding: 58px 0;
  }

  .cf-hero .cf-kicker {
    font-size: 11px;
    gap: 10px;
  }

  .cf-hero .cf-kicker::before {
    width: 23px;
  }

  .cf-hero h1 {
    margin: 16px 0 16px;
    max-width: 520px;
    font-size: clamp(46px, 4.65vw, 63px);
    line-height: .98;
    letter-spacing: -.035em;
  }

  .cf-hero p {
    max-width: 510px;
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.62;
  }

  .cf-hero-actions {
    gap: 10px;
  }

  .cf-hero-actions .cf-btn {
    font-size: 14px;
  }

  .cf-section {
    padding: 70px 0;
  }

  .cf-section-heading {
    max-width: 640px;
    margin-bottom: 34px;
  }

  .cf-section-heading .cf-kicker,
  .cf-rural .cf-kicker,
  .cf-about .cf-kicker,
  .cf-contact .cf-kicker {
    font-size: 11px;
  }

  .cf-section-heading h2 {
    font-size: clamp(36px, 3.45vw, 45px);
    line-height: 1.08;
  }

  .cf-section-heading p {
    font-size: 16px;
    line-height: 1.7;
  }

  .cf-service {
    padding: 25px;
    min-height: 195px;
  }

  .cf-service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
  }

  .cf-service h3 {
    font-size: 20px;
    line-height: 1.25;
  }

  .cf-service p {
    font-size: 16px;
    line-height: 1.62;
  }

  .cf-service-arrow {
    font-size: 25px;
  }

  .cf-rural h2 {
    font-size: clamp(38px, 4.15vw, 52px);
  }

  .cf-rural p {
    font-size: 16px;
    line-height: 1.75;
  }

  .cf-rural-feature {
    padding: 22px;
  }

  .cf-rural-feature strong {
    font-size: 20px;
    line-height: 1.2;
  }

  .cf-rural-feature span {
    font-size: 15px;
    line-height: 1.65;
  }

  .cf-about-card p,
  .cf-about p {
    font-size: 16px;
    line-height: 1.78;
  }

  .cf-about h2 {
    font-size: clamp(37px, 4vw, 50px);
  }

  .cf-contact h2 {
    font-size: 40px;
  }

  .cf-contact-card,
  .cf-contact-list {
    font-size: 16px;
    line-height: 1.65;
  }

  .cf-footer {
    font-size: 14px;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {

  .cf-header-inner {
    min-height: 84px;
    gap: 28px;
  }

  .cf-brand {
    min-width: 270px;
    gap: 14px;
  }

  .cf-mark {
    width: 56px;
    height: 56px;
    font-size: 34px;
    padding-right: 12px;
  }

  .cf-brand-copy small {
    font-size: 10px;
  }

  .cf-brand-copy strong {
    font-size: 28px;
  }

  .cf-nav {
    gap: 26px;
    font-size: 16px;
  }

  .cf-header .cf-btn,
  .cf-header-inner .cf-btn {
    min-height: 48px;
    padding: 0 19px;
    font-size: 14px;
  }
}

@media (min-width: 681px) and (max-width: 980px) {

  .cf-hero p {
    font-size: 17px;
  }

  .cf-section-heading p,
  .cf-service p,
  .cf-rural p,
  .cf-about p,
  .cf-about-card p,
  .cf-contact-card,
  .cf-contact-list {
    font-size: 16px;
  }

  .cf-service h3 {
    font-size: 20px;
  }

  .cf-rural-feature strong {
    font-size: 19px;
  }

  .cf-rural-feature span {
    font-size: 15px;
  }
}

@media (max-width: 680px) {

  .cf-hero p {
    font-size: 17px;
    line-height: 1.6;
  }

  .cf-section-heading p,
  .cf-service p,
  .cf-rural p,
  .cf-about p,
  .cf-about-card p,
  .cf-contact-card,
  .cf-contact-list {
    font-size: 16px;
  }

  .cf-service h3 {
    font-size: 20px;
  }

  .cf-rural-feature strong {
    font-size: 19px;
  }

  .cf-rural-feature span {
    font-size: 15px;
  }

  .cf-footer {
    font-size: 14px;
  }
}

/* ===== CF CONSOLIDATED V1.0 END ===== */

/* ===== CF V1.2 SERVICE PAGES START ===== */

a.cf-service {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a.cf-service:hover {
    transform: translateY(-3px);
    border-color: rgba(174,91,57,.35);
    box-shadow: 0 14px 30px rgba(39,34,29,.07);
}

a.cf-service:focus-visible {
    outline: 3px solid rgba(174,91,57,.28);
    outline-offset: 4px;
}

.cf-service-page {
    background: #f8f4ee;
}

.cf-service-page-hero {
    padding: 84px 0 90px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(179,91,55,.20), transparent 30%),
        linear-gradient(135deg, #24231f 0%, #3b382f 100%);
}

.cf-service-page-hero.is-rural {
    background:
        linear-gradient(90deg, rgba(31,32,23,.94), rgba(53,54,34,.82)),
        repeating-linear-gradient(
            78deg,
            rgba(255,255,255,.025) 0,
            rgba(255,255,255,.025) 1px,
            transparent 1px,
            transparent 34px
        ),
        #363725;
}

.cf-service-page-hero-inner {
    max-width: 850px;
}

.cf-service-back {
    display: inline-flex;
    margin-bottom: 38px;
    color: rgba(255,255,255,.68);
    font-size: 15px;
    font-weight: 700;
}

.cf-service-back:hover {
    color: #fff;
}

.cf-service-page-hero .cf-kicker {
    color: #e2c0a9;
}

.cf-service-page-hero h1 {
    max-width: 820px;
    margin: 16px 0 21px;
    font: 500 clamp(48px, 6vw, 76px)/.98 Georgia, serif;
    letter-spacing: -.04em;
}

.cf-service-lead {
    max-width: 710px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.68;
}

.cf-service-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.cf-btn-outline-dark {
    color: #fff;
    border-color: rgba(255,255,255,.32);
    background: transparent;
}

.cf-btn-outline-dark:hover {
    background: rgba(255,255,255,.08);
}

.cf-service-page-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 64px;
    align-items: start;
}

.cf-service-page-body h2,
.cf-service-page-heading h2 {
    max-width: 760px;
    margin: 14px 0 22px;
    font: 500 clamp(37px, 4vw, 52px)/1.06 Georgia, serif;
    letter-spacing: -.025em;
}

.cf-service-content,
.cf-service-page-heading > p {
    color: #625950;
    font-size: 17px;
    line-height: 1.8;
}

.cf-service-page-aside {
    padding: 30px;
    border: 1px solid #ded4c8;
    border-radius: 16px;
    background: #efe7dc;
}

.cf-service-page-aside h3 {
    margin: 12px 0 13px;
    font: 500 28px/1.08 Georgia, serif;
}

.cf-service-page-aside p {
    margin: 0 0 23px;
    color: #625950;
    font-size: 16px;
    line-height: 1.7;
}

.cf-rural-page-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
    margin-top: 38px;
}

.cf-rural-page-grid article {
    padding: 27px;
    border: 1px solid #ddd3c6;
    border-radius: 15px;
    background: rgba(255,255,255,.50);
}

.cf-rural-page-grid article > span {
    display: block;
    margin-bottom: 25px;
    color: #ad5b39;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.cf-rural-page-grid h3 {
    margin: 0 0 12px;
    font: 500 24px/1.1 Georgia, serif;
}

.cf-rural-page-grid p {
    margin: 0;
    color: #625950;
    font-size: 15px;
    line-height: 1.7;
}

.cf-rural-page-cta {
    padding: 63px 0;
    color: #fff;
    background: #2f3022;
}

.cf-rural-page-cta-inner {
    display: flex;
    justify-content: space-between;
    gap: 45px;
    align-items: center;
}

.cf-rural-page-cta h2 {
    max-width: 720px;
    margin: 12px 0 0;
    font: 500 clamp(34px, 4vw, 49px)/1.05 Georgia, serif;
}

@media (max-width: 980px) {
    .cf-service-page-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cf-rural-page-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .cf-rural-page-cta-inner {
        display: grid;
    }
}

@media (max-width: 680px) {
    .cf-service-page-hero {
        padding: 62px 0 68px;
    }

    .cf-service-lead {
        font-size: 16px;
    }

    .cf-service-page-actions {
        display: grid;
    }

    .cf-rural-page-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CF V1.2 SERVICE PAGES END ===== */


/* ===== CF V1.3 CONTENT START ===== */

.cf-service-article {
  min-width: 0;
}

.cf-service-content {
  max-width: 760px;
}

.cf-service-content > p:first-child {
  margin-top: 14px;
  color: #4f473f;
  font-size: 19px;
  line-height: 1.78;
}

.cf-service-content h2 {
  margin: 42px 0 16px;
  color: #231f1b;
  font: 500 clamp(31px, 3.3vw, 43px)/1.08 Georgia, serif;
  letter-spacing: -.025em;
}

.cf-service-content h3 {
  margin: 32px 0 13px;
  color: #2d2823;
  font: 600 23px/1.2 Georgia, serif;
}

.cf-service-content p {
  margin: 0 0 20px;
  color: #625950;
  font-size: 17px;
  line-height: 1.82;
}

.cf-service-content ul {
  margin: 9px 0 28px;
  padding: 0;
  list-style: none;
}

.cf-service-content li {
  position: relative;
  margin: 0;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid rgba(82,72,62,.10);
  color: #554d45;
  font-size: 16px;
  line-height: 1.62;
}

.cf-service-content li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 11px;
  color: #b45d3b;
  font-weight: 800;
}

.cf-service-page-aside {
  position: sticky;
  top: 118px;
}

.cf-service-page-aside h3 {
  font-size: 29px;
}

.cf-service-side-actions {
  display: grid;
  gap: 17px;
}

.cf-service-small-link {
  color: #8b5138;
  font-size: 14px;
  font-weight: 700;
}

.cf-service-small-link:hover {
  color: #603522;
}

@media (max-width: 980px) {
  .cf-service-page-aside {
    position: static;
  }
}

/* ===== CF V1.3 CONTENT END ===== */


/* ===== CF V1.4 PREMIUM START ===== */

.cf-service-content .cf-service-intro {
  margin: 14px 0 32px;
  color: #403932;
  font-size: 20px;
  line-height: 1.78;
}

.cf-callout {
  display: grid;
  gap: 7px;
  margin: 34px 0 40px;
  padding: 24px 26px;
  border-left: 4px solid #b65d3a;
  border-radius: 0 12px 12px 0;
  background: #efe6dc;
}

.cf-callout strong {
  color: #2b2723;
  font: 600 21px/1.2 Georgia, serif;
}

.cf-callout span {
  color: #645a51;
  font-size: 16px;
  line-height: 1.65;
}

.cf-callout.is-rural {
  border-left-color: #8b8a51;
  background: #ebe9dc;
}

/* HOME PREMIUM VALUE */
.cf-home-value {
  background: #f1ebe3;
}

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

.cf-value-grid article {
  padding: 30px;
  border: 1px solid #ded4c9;
  border-radius: 14px;
  background: rgba(255,255,255,.48);
}

.cf-value-grid article > span {
  color: #b45d3b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.cf-value-grid h3 {
  margin: 27px 0 12px;
  font: 500 28px/1.08 Georgia, serif;
}

.cf-value-grid p {
  margin: 0;
  color: #625950;
  font-size: 16px;
  line-height: 1.72;
}

/* PROCESS */
.cf-home-process {
  background: #fffaf4;
}

.cf-process-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.cf-process-layout h2 {
  margin: 14px 0 18px;
  max-width: 560px;
  font: 500 clamp(37px,4vw,51px)/1.05 Georgia, serif;
}

.cf-process-layout > div > p {
  max-width: 560px;
  color: #625950;
  font-size: 17px;
  line-height: 1.75;
}

.cf-process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.cf-process-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid #ded4c8;
}

.cf-process-steps li::before {
  content: "0" counter(step);
  grid-row: 1 / span 2;
  color: #b45d3b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}

.cf-process-steps strong {
  color: #2b2723;
  font: 500 23px/1.15 Georgia, serif;
}

.cf-process-steps span {
  margin-top: 5px;
  color: #625950;
  font-size: 15px;
  line-height: 1.65;
}

/* FAQ */
.cf-home-faq {
  background: #f8f4ee;
}

.cf-faq-list {
  max-width: 850px;
  margin: 0 auto;
  border-top: 1px solid #d9cfc3;
}

.cf-faq-list details {
  border-bottom: 1px solid #d9cfc3;
}

.cf-faq-list summary {
  cursor: pointer;
  padding: 22px 4px;
  color: #2b2723;
  font: 500 21px/1.25 Georgia, serif;
  list-style: none;
}

.cf-faq-list summary::-webkit-details-marker {
  display: none;
}

.cf-faq-list summary::after {
  content: "+";
  float: right;
  color: #b45d3b;
  font: 400 27px/1 sans-serif;
}

.cf-faq-list details[open] summary::after {
  content: "–";
}

.cf-faq-list details p {
  margin: 0;
  padding: 0 34px 24px 4px;
  color: #625950;
  font-size: 16px;
  line-height: 1.72;
}

@media (max-width: 980px) {
  .cf-value-grid {
    grid-template-columns: 1fr;
  }

  .cf-process-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* ===== CF V1.4 PREMIUM END ===== */


/* ===== CF V1.5 MOBILE TABLET START ===== */

/* Keep anchored sections visible below the sticky header. */
#inicio,
#sobre,
#servicos,
#rural,
#contato {
  scroll-margin-top: 115px;
}

/* WordPress admin bar + sticky site header. */
body.admin-bar .cf-header {
  top: 32px;
}

/* ---------------------------------------------------------
   TABLET / MOBILE NAVIGATION
--------------------------------------------------------- */
@media (max-width: 980px) {
  .cf-header {
    background: rgba(251,248,243,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .cf-header-inner {
    position: relative;
    width: min(100% - 36px, 900px);
    min-height: 78px;
    gap: 14px;
  }

  .cf-brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .cf-mark {
    flex: 0 0 auto;
    width: 47px;
    height: 47px;
    font-size: 28px;
  }

  .cf-brand-copy small {
    font-size: 9px;
  }

  .cf-brand-copy strong {
    font-size: 22px;
  }

  .cf-mobile-toggle {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--cf-line);
    border-radius: 10px;
    color: var(--cf-ink);
    background: rgba(255,255,255,.58);
    font: 500 26px/1 system-ui, sans-serif;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
  }

  .cf-mobile-toggle:hover,
  .cf-mobile-toggle.is-open {
    background: #fff;
    border-color: rgba(170,87,56,.32);
  }

  .cf-mobile-toggle:active {
    transform: scale(.97);
  }

  .cf-nav {
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    z-index: 80;
    gap: 0;
    padding: 9px;
    border: 1px solid rgba(56,45,35,.14);
    border-radius: 14px;
    background: rgba(251,248,243,.99);
    box-shadow: 0 22px 60px rgba(31,24,18,.18);
  }

  .cf-nav.is-open {
    display: flex;
  }

  .cf-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
  }

  .cf-nav a:not(.cf-mobile-nav-cta):hover {
    background: #f2ebe3;
  }

  .cf-mobile-nav-cta {
    display: flex !important;
    width: 100%;
    margin-top: 7px;
    color: #fff !important;
    background: var(--cf-copper);
  }

  .cf-mobile-nav-cta:hover {
    background: var(--cf-copper-dark) !important;
  }

  body.cf-menu-open {
    overflow: hidden;
  }

  /* Tablet can keep the desktop WhatsApp CTA visible. */
  .cf-header-cta {
    display: inline-flex;
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }

  /* -------------------------------------------------------
     HERO — always use the APPROVED official facade.
  ------------------------------------------------------- */
  .cf-hero {
    min-height: 590px;
    align-items: flex-end;
    background-image:
      linear-gradient(
        90deg,
        rgba(18,17,15,.88) 0%,
        rgba(18,17,15,.72) 38%,
        rgba(18,17,15,.30) 68%,
        rgba(18,17,15,.12) 100%
      ),
      url('assets/images/fachada-oficial-contabilidade-felipe.webp');
    background-size: cover;
    background-position: 56% center;
  }

  .cf-hero-content {
    max-width: 590px;
    padding: 66px 0 62px;
  }

  .cf-hero h1 {
    max-width: 570px;
    font-size: clamp(49px, 8.2vw, 67px);
    line-height: .98;
  }

  .cf-hero p {
    max-width: 540px;
    font-size: 17px;
    line-height: 1.62;
  }

  /* General sections */
  .cf-section {
    padding: 72px 0;
  }

  .cf-section-heading {
    max-width: 680px;
    margin-bottom: 34px;
  }

  .cf-section-heading h2 {
    font-size: clamp(35px, 5.7vw, 46px);
  }

  .cf-services {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .cf-service {
    min-height: 205px;
  }

  .cf-rural-grid,
  .cf-about-grid,
  .cf-contact-grid {
    gap: 38px;
  }

  .cf-rural-features {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .cf-about-card {
    padding: 36px;
  }

  .cf-map {
    min-height: 360px;
  }

  /* V1.4 premium Home sections */
  .cf-value-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .cf-value-grid article {
    padding: 25px;
  }

  .cf-value-grid h3 {
    font-size: 25px;
  }

  .cf-process-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cf-process-layout > div > p {
    max-width: 680px;
  }

  /* Service pages */
  .cf-service-page-hero {
    padding: 72px 0 76px;
  }

  .cf-service-page-hero h1 {
    font-size: clamp(46px, 8vw, 66px);
  }

  .cf-service-page-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cf-service-page-aside {
    position: static;
  }
}

/* ---------------------------------------------------------
   PHONE
--------------------------------------------------------- */
@media (max-width: 680px) {
  body.admin-bar .cf-header {
    top: 46px;
  }

  #inicio,
  #sobre,
  #servicos,
  #rural,
  #contato {
    scroll-margin-top: 94px;
  }

  .cf-wrap {
    width: min(100% - 30px, 1180px);
  }

  .cf-header-inner {
    width: min(100% - 24px, 650px);
    min-height: 72px;
    gap: 10px;
  }

  .cf-header-cta {
    display: none;
  }

  .cf-mark {
    width: 43px;
    height: 43px;
    font-size: 26px;
    padding-right: 8px;
  }

  .cf-brand {
    gap: 9px;
  }

  .cf-brand-copy small {
    font-size: 7.5px;
    letter-spacing: .20em;
  }

  .cf-brand-copy strong {
    font-size: 20px;
    letter-spacing: .055em;
  }

  .cf-mobile-toggle {
    width: 45px;
    height: 45px;
    border-radius: 9px;
    font-size: 24px;
  }

  .cf-nav {
    top: calc(100% + 7px);
    padding: 8px;
  }

  .cf-nav a {
    min-height: 50px;
    font-size: 17px;
  }

  /* Hero */
  .cf-hero {
    min-height: 640px;
    align-items: flex-end;
    background-image:
      linear-gradient(
        90deg,
        rgba(18,17,15,.90) 0%,
        rgba(18,17,15,.72) 52%,
        rgba(18,17,15,.34) 100%
      ),
      url('assets/images/fachada-oficial-contabilidade-felipe.webp');
    background-position: 60% center;
  }

  .cf-hero-content {
    width: 100%;
    max-width: none;
    padding: 72px 0 48px;
  }

  .cf-hero .cf-kicker {
    font-size: 10px;
    line-height: 1.4;
  }

  .cf-hero h1 {
    max-width: 100%;
    margin: 15px 0 17px;
    font-size: clamp(43px, 13vw, 57px);
    line-height: .96;
    letter-spacing: -.045em;
  }

  .cf-hero p {
    max-width: 100%;
    margin-bottom: 23px;
    font-size: 16px;
    line-height: 1.58;
  }

  .cf-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .cf-hero-actions .cf-btn,
  .cf-btn {
    width: 100%;
    min-height: 50px;
    font-size: 14px;
  }

  /* Sections */
  .cf-section {
    padding: 60px 0;
  }

  .cf-section-heading {
    margin-bottom: 29px;
    text-align: left;
  }

  .cf-section-heading .cf-kicker {
    justify-content: flex-start;
  }

  .cf-section-heading h2 {
    margin-top: 12px;
    font-size: clamp(33px, 10.5vw, 43px);
    line-height: 1.06;
  }

  .cf-section-heading p {
    font-size: 16px;
    line-height: 1.68;
  }

  /* Services */
  .cf-services {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cf-service {
    min-height: 0;
    padding: 23px 22px 56px;
  }

  .cf-service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
  }

  .cf-service h3 {
    font-size: 21px;
  }

  .cf-service p {
    font-size: 16px;
    line-height: 1.6;
  }

  .cf-service-arrow {
    right: 21px;
    bottom: 17px;
  }

  /* Rural */
  .cf-rural-grid {
    gap: 31px;
  }

  .cf-rural h2 {
    font-size: clamp(38px, 11.5vw, 49px);
  }

  .cf-rural p {
    font-size: 16px;
    line-height: 1.72;
  }

  .cf-rural-features {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .cf-rural-feature {
    padding: 19px;
  }

  .cf-rural-feature strong {
    font-size: 20px;
  }

  .cf-rural-feature span {
    font-size: 15px;
  }

  /* About */
  .cf-about-grid {
    gap: 28px;
  }

  .cf-about-card {
    padding: 30px 25px;
    border-radius: 16px;
  }

  .cf-about-card .big {
    font-size: 72px;
  }

  .cf-about h2 {
    font-size: clamp(35px, 10.5vw, 45px);
  }

  /* Contact */
  .cf-contact-grid {
    gap: 15px;
  }

  .cf-contact-card {
    padding: 25px 21px;
  }

  .cf-contact h2 {
    font-size: 35px;
  }

  .cf-contact-list {
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .cf-contact-actions {
    display: grid;
  }

  .cf-map {
    min-height: 310px;
    border-radius: 11px;
  }

  /* Premium Home */
  .cf-value-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cf-value-grid article {
    padding: 24px 22px;
  }

  .cf-value-grid h3 {
    margin-top: 20px;
    font-size: 27px;
  }

  .cf-process-layout {
    gap: 25px;
  }

  .cf-process-layout h2 {
    font-size: clamp(34px, 10.5vw, 45px);
  }

  .cf-process-layout > div > p {
    font-size: 16px;
  }

  .cf-process-steps li {
    grid-template-columns: 40px 1fr;
    column-gap: 10px;
    padding: 18px 0;
  }

  .cf-process-steps strong {
    font-size: 21px;
  }

  .cf-process-steps span {
    font-size: 15px;
  }

  .cf-faq-list summary {
    padding: 20px 2px;
    font-size: 20px;
  }

  .cf-faq-list details p {
    padding: 0 16px 22px 2px;
    font-size: 16px;
  }

  /* Service detail pages */
  .cf-service-page-hero {
    padding: 55px 0 59px;
  }

  .cf-service-back {
    margin-bottom: 29px;
    font-size: 14px;
  }

  .cf-service-page-hero h1 {
    margin-top: 14px;
    font-size: clamp(41px, 13vw, 56px);
    line-height: .98;
  }

  .cf-service-lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .cf-service-page-actions {
    display: grid;
  }

  .cf-service-content .cf-service-intro {
    font-size: 18px;
    line-height: 1.72;
  }

  .cf-service-content h2 {
    margin-top: 34px;
    font-size: clamp(30px, 9.5vw, 39px);
  }

  .cf-service-content h3 {
    font-size: 22px;
  }

  .cf-service-content p {
    font-size: 16px;
    line-height: 1.76;
  }

  .cf-service-content li {
    padding-left: 25px;
    font-size: 16px;
  }

  .cf-callout {
    margin: 28px 0 34px;
    padding: 21px 20px;
  }

  .cf-service-page-aside {
    padding: 24px 21px;
  }

  .cf-service-page-aside h3 {
    font-size: 27px;
  }

  .cf-rural-page-cta {
    padding: 52px 0;
  }

  .cf-rural-page-cta h2 {
    font-size: clamp(33px, 10vw, 43px);
  }

  /* Footer */
  .cf-footer {
    padding: 27px 0;
  }

  .cf-footer-inner {
    align-items: stretch;
    gap: 18px;
  }

  .cf-socials {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .cf-social {
    min-height: 43px;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .cf-brand-copy strong {
    font-size: 18px;
  }

  .cf-brand-copy small {
    font-size: 7px;
  }

  .cf-mark {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .cf-hero h1 {
    font-size: 40px;
  }
}

/* ===== CF V1.5 MOBILE TABLET END ===== */


/* ===== CF V1.5.1 WHATSAPP FIX START ===== */

/* O clone criado para o menu mobile fica oculto no desktop. */
.cf-mobile-nav-cta {
  display: none !important;
}

@media (max-width: 980px) {
  .cf-nav.is-open .cf-mobile-nav-cta {
    display: flex !important;
  }
}

/* ===== CF V1.5.1 WHATSAPP FIX END ===== */


/* ===== CF V1.5.2 MOBILE HERO START ===== */

@media (max-width: 680px) {

  /* Hero mais equilibrado em telas de 360–430px */
  .cf-hero {
    min-height: 570px;
    background-position: 58% center;
  }

  .cf-hero-content {
    padding: 50px 0 38px;
  }

  .cf-hero .cf-kicker {
    max-width: 330px;
    font-size: 9.5px;
    line-height: 1.35;
    letter-spacing: .14em;
  }

  .cf-hero h1 {
    margin: 14px 0 15px;
    max-width: 100%;
    font-size: clamp(37px, 10.8vw, 46px);
    line-height: .97;
    letter-spacing: -.04em;
  }

  .cf-hero p {
    margin-bottom: 19px;
    max-width: 100%;
    font-size: 15.5px;
    line-height: 1.55;
  }

  .cf-hero-actions {
    gap: 8px;
  }

  .cf-hero-actions .cf-btn {
    min-height: 48px;
    font-size: 14px;
  }
}

/* Celulares bem estreitos */
@media (max-width: 380px) {
  .cf-hero {
    min-height: 555px;
    background-position: 60% center;
  }

  .cf-hero .cf-kicker {
    font-size: 9px;
  }

  .cf-hero h1 {
    font-size: 36px;
  }

  .cf-hero p {
    font-size: 15px;
  }
}

/* ===== CF V1.5.2 MOBILE HERO END ===== */


/* ===== CF V1.5.3 MOBILE HEADER START ===== */

@media (max-width: 680px) {
  .cf-header {
    transition: transform .24s ease, box-shadow .18s ease;
    will-change: transform;
  }

  .cf-header.cf-header-hidden {
    transform: translateY(calc(-100% - 3px));
    box-shadow: none;
  }

  /* Nunca esconder enquanto o menu estiver aberto. */
  body.cf-menu-open .cf-header {
    transform: translateY(0) !important;
  }
}

/* ===== CF V1.5.3 MOBILE HEADER END ===== */


/* ===== CF V1.6 PREPUBLICACAO START ===== */

.cf-footer-privacy {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.22);
  text-underline-offset: 3px;
}

.cf-footer-privacy:hover {
  color: #fff;
  text-decoration-color: rgba(255,255,255,.55);
}

.cf-legal-page {
  padding: 78px 0;
  background: #f8f4ee;
}

.cf-legal-page h1 {
  margin: 0 0 24px;
  font: 500 clamp(43px, 5vw, 64px)/1 Georgia, serif;
  letter-spacing: -.035em;
}

.cf-legal-page .entry-content {
  max-width: 860px;
}

.cf-legal-page h2 {
  margin: 38px 0 13px;
  font: 500 29px/1.15 Georgia, serif;
}

.cf-legal-page p,
.cf-legal-page li {
  color: #5f574f;
  font-size: 16px;
  line-height: 1.8;
}

.cf-legal-page ul {
  padding-left: 22px;
}

@media (max-width: 680px) {
  .cf-legal-page {
    padding: 58px 0;
  }

  .cf-legal-page h1 {
    font-size: 40px;
  }

  .cf-legal-page h2 {
    font-size: 26px;
  }
}

/* ===== CF V1.6 PREPUBLICACAO END ===== */
