/*
Theme Name: Cecy Contabilidade Web 1.0
Theme URI: https://cecycontabilidade.com.br/
Author: TinocoTech
Description: Tema institucional one-page para Cecy Contabilidade.
Version: 1.4.0
Text Domain: cecy-web1
*/

:root {
  --wine: #3b1f1d;
  --wine-dark: #251211;
  --gold: #b8944e;
  --gold-light: #d1b77d;
  --ivory: #f7f3ee;
  --paper: #fdfcf9;
  --ink: #2d2927;
  --muted: #6d6560;
  --line: rgba(59, 31, 29, .14);
  --shadow: 0 24px 70px rgba(59, 31, 29, .10);
  --radius: 22px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.site-shell { overflow: clip; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; scroll-margin-top: 84px; }
.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
h1, h2, h3 {
  margin: 0;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
}
h1 { max-width: 820px; font-size: clamp(3rem, 6vw, 5.7rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.35rem, 4.2vw, 4rem); letter-spacing: -.04em; }
h3 { font-size: 1.65rem; }
.lead { max-width: 670px; color: var(--muted); font-size: 1.08rem; }
.section-head { display: grid; grid-template-columns: 1fr .75fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.section-head p { margin: 0; }
.btn {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--gold); }
.btn-primary:hover { background: #a37e3c; }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.65); }
.btn-secondary:hover { color: var(--wine); border-color: var(--gold); }
.btn-light { color: var(--wine-dark); background: #fff; }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-color: rgba(59,31,29,.08);
  background: rgba(253,252,249,.92);
  box-shadow: 0 10px 35px rgba(59,31,29,.06);
  backdrop-filter: blur(16px);
}
.nav { display: flex; min-height: 104px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--wine); }
.brand img {
  display: block;
  width: clamp(250px, 25vw, 340px);
  max-width: none;
  max-height: 86px;
  object-fit: contain;
}
.brand-mark {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  place-items: center;
  color: var(--gold);
  font: 600 1.1rem Georgia, serif;
}
.brand-copy { line-height: 1.05; }
.brand-copy strong { display: block; font: 600 1.12rem Georgia, serif; letter-spacing: .02em; }
.brand-copy small { color: var(--muted); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .86rem; font-weight: 650; }
.nav-links > a:not(.btn) { position: relative; padding: 12px 0; }
.nav-links > a:not(.btn)::after {
  position: absolute;
  content: "";
  right: 100%;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transition: right .2s ease;
}
.nav-links > a:hover::after { right: 0; }
.menu-toggle { display: none; border: 0; background: none; color: var(--wine); font-size: 1.6rem; }

.hero {
  position: relative;
  min-height: 900px;
  padding: 170px 0 90px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 80% 25%, rgba(184,148,78,.11), transparent 28%),
    linear-gradient(135deg, var(--paper), var(--ivory));
}
.hero::before {
  position: absolute;
  content: "";
  inset: 0;
  opacity: .23;
  background-image: linear-gradient(rgba(59,31,29,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(59,31,29,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to right, #000, transparent 72%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 78px; align-items: center; }
.hero-copy p { max-width: 650px; margin: 28px 0 34px; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; }
.photo-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 570px;
  border-radius: 160px 160px 24px 24px;
  background: #111;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.photo-placeholder::before,
.photo-placeholder::after {
  position: absolute;
  content: "";
  inset: -40%;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 44%;
  transform: rotate(22deg);
}
.photo-placeholder::after { inset: -10% -65%; transform: rotate(-28deg); }
.photo-placeholder span {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  color: rgba(255,255,255,.72);
  font-size: .7rem;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}
.photo-placeholder.has-photo::before,
.photo-placeholder.has-photo::after { display: none; }
.photo-placeholder.has-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
}
.custom-content { background: #fff; }
.custom-content .entry-content > * { max-width: 820px; margin-right: auto; margin-left: auto; }
.custom-content .entry-content > .alignwide { max-width: var(--max); }
.custom-content .entry-content > .alignfull { max-width: none; }
.credential-card {
  position: absolute;
  right: -34px;
  bottom: 50px;
  z-index: 4;
  width: 190px;
  padding: 22px;
  border: 1px solid rgba(184,148,78,.34);
  border-radius: 18px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 18px 45px rgba(37,18,17,.16);
  backdrop-filter: blur(12px);
}
.credential-card strong { display: block; color: var(--wine); font: 500 2.2rem Georgia, serif; }
.credential-card span { color: var(--muted); font-size: .72rem; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; }
.trust-bar { position: relative; background: var(--wine-dark); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 24px 18px; border-right: 1px solid rgba(255,255,255,.13); text-align: center; }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; color: var(--gold-light); font: 500 1.35rem Georgia, serif; }
.trust-item span { color: rgba(255,255,255,.62); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 88px; align-items: center; }
.about-photo .photo-placeholder { min-height: 520px; border-radius: 24px 140px 24px 24px; }
.about-copy p { color: var(--muted); }
.signature { margin-top: 28px; padding-left: 22px; border-left: 2px solid var(--gold); color: var(--wine); font: italic 1.35rem Georgia, serif; }

.pillars { background: var(--ivory); }
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.pillar-card {
  position: relative;
  min-height: 340px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid rgba(59,31,29,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.74);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pillar-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.card-number { color: var(--gold); font: 500 3rem Georgia, serif; opacity: .68; }
.pillar-card h3 { margin: 42px 0 16px; }
.pillar-card p { color: var(--muted); }
.pillar-card a { position: absolute; right: 38px; bottom: 34px; left: 38px; color: var(--wine); font-size: .83rem; font-weight: 750; }

.audiences-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.audience { min-height: 210px; padding: 34px; background: var(--paper); }
.audience:last-child { grid-column: 1 / -1; }
.audience span { color: var(--gold); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.audience h3 { margin: 14px 0 12px; }
.audience p { margin: 0; color: var(--muted); }

.services { color: #fff; background: var(--wine-dark); }
.services h2, .services h3 { color: #fff; }
.services .section-head p { color: rgba(255,255,255,.64); }
.service-list { border-top: 1px solid rgba(255,255,255,.16); }
.service {
  display: grid;
  grid-template-columns: 80px .6fr 1.4fr;
  gap: 24px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.service > span { color: var(--gold-light); font: 500 1.7rem Georgia, serif; }
.service p { margin: 0; color: rgba(255,255,255,.62); }

.difference-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.difference { padding: 28px 10px 28px 22px; border-left: 1px solid var(--gold); }
.difference strong { display: block; margin-bottom: 8px; color: var(--wine); font: 500 1.25rem Georgia, serif; }
.difference p { margin: 0; color: var(--muted); font-size: .9rem; }

.reputation { background: var(--paper); }
.rating-line { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 24px; }
.rating-score { color: var(--wine); font: 500 3.8rem/1 Georgia, serif; }
.rating-stars { color: var(--gold); font-size: 1.25rem; letter-spacing: .12em; }
.rating-meta { color: var(--muted); font-size: .86rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.review {
  display: flex;
  min-height: 260px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  background: #fff;
}
.review blockquote { margin: 0 0 32px; color: var(--wine); font: 500 1.3rem/1.45 Georgia, serif; }
.review footer { margin-top: auto; color: var(--muted); font-size: .83rem; font-weight: 700; }
.reviews-link { margin-top: 28px; text-align: center; }

.process { background: var(--ivory); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; counter-reset: steps; }
.step { position: relative; padding: 30px; border-radius: 20px; background: #fff; counter-increment: steps; }
.step::before { content: "0" counter(steps); color: var(--gold); font: 500 2.6rem Georgia, serif; }
.step h3 { margin: 34px 0 12px; font-size: 1.35rem; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; padding: 24px 0; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; color: var(--wine); font-weight: 750; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 1.35rem; }
details[open] summary::after { content: "–"; }
details p { margin: -8px 0 26px; color: var(--muted); }

.contact { padding: 110px 0; background: var(--wine); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; }
.contact h2 { color: #fff; }
.contact p { color: rgba(255,255,255,.67); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-card { padding: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.contact-row { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-row:last-child { border: 0; }
.contact-row small { display: block; color: var(--gold-light); letter-spacing: .12em; text-transform: uppercase; }

.site-footer { padding: 42px 0; color: rgba(255,255,255,.62); background: #160b0a; font-size: .78rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: #25d366;
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 104px 0 0;
    padding: 36px 24px;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .menu-toggle { display: block; }
  .hero { min-height: auto; padding-top: 135px; }
  .hero-grid, .about-grid, .section-head, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 50px; }
  .hero-art { max-width: 650px; }
  .credential-card { right: 18px; }
  .card-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .difference-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .section { padding: 78px 0; }
  .brand-copy small { display: none; }
  .brand img { width: 235px; max-height: 70px; }
  .hero { padding-bottom: 65px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .hero-copy p { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .photo-placeholder { min-height: 440px; border-radius: 95px 95px 20px 20px; }
  .credential-card { right: 12px; bottom: 20px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .card-grid, .audiences-grid, .process-grid, .difference-grid { grid-template-columns: 1fr; }
  .audience:last-child { grid-column: auto; }
  .service { grid-template-columns: 45px 1fr; }
  .service p { grid-column: 2; }
  .footer-grid { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
