:root {
  --ink: #141216;
  --graphite: #211c1f;
  --deep-brown: #2b1f1b;
  --cream: #f7f1ea;
  --warm-white: #fcf8f3;
  --sand: #e8d8c8;
  --terracotta: #a45a3f;
  --terracotta-dark: #7d3f2e;
  --copper: #c47a55;
  --bronze: #b98a5a;
  --olive: #6b7261;
  --text-main: #201c1f;
  --text-muted: #685a54;
  --text-light: #f5ede6;
  --border-light: rgba(32, 28, 31, .12);
  --border-dark: rgba(247, 241, 234, .16);
  --shadow-soft: 0 24px 70px rgba(20, 18, 22, .12);
  --shadow-dark: 0 30px 90px rgba(0, 0, 0, .34);
  --dark-section-bg:
    repeating-linear-gradient(115deg, transparent 0 54px, rgba(247, 241, 234, .018) 55px, transparent 56px),
    linear-gradient(120deg, #141216 0%, #21191a 46%, #2b1f1b 72%, #171417 100%);
  --bg: var(--cream);
  --bg-soft: #f1e8df;
  --surface: var(--warm-white);
  --surface-strong: var(--sand);
  --text: var(--text-main);
  --muted: var(--text-muted);
  --soft: var(--text-muted);
  --line: var(--border-light);
  --line-strong: rgba(32, 28, 31, .22);
  --brand: var(--terracotta);
  --brand-dark: var(--terracotta-dark);
  --accent: var(--deep-brown);
  --accent-soft: #efe1d7;
  --dark: var(--ink);
  --dark-soft: var(--graphite);
  --light: var(--cream);
  --shadow-sm: 0 10px 30px rgba(20, 18, 22, .08);
  --shadow: var(--shadow-soft);
  --radius: 8px;
  --font: Inter, system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 104px 0; }
.muted { background: var(--bg-soft); border-block: 1px solid var(--line); }
.page-main { padding-top: 90px; }
.home-main { padding-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 30px; height: 2px; background: currentColor; }
h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: 0; margin: 0 0 18px; }
h1 { font-family: var(--serif); font-size: 4.8rem; }
h2 { font-family: var(--serif); font-size: 3.35rem; }
h3 { font-size: 1.12rem; }
p { color: var(--muted); font-size: 1.03rem; margin: 0 0 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 12px 30px rgba(164, 90, 63, .2); }
.btn.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 18px 42px rgba(125, 63, 46, .26); }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn.ghost:hover { background: #fff; border-color: #fff; color: var(--ink); transform: translateY(-2px); }
.btn.light { background: var(--warm-white); border-color: var(--line-strong); color: var(--ink); }
.btn.light:hover { background: var(--sand); border-color: rgba(164, 90, 63, .3); transform: translateY(-2px); }
.text-link { color: var(--accent); font-weight: 800; border-bottom: 1px solid currentColor; }

/* Captura editorial Brevo */
.brevo-capture { padding: 82px 0; background: #1b181b; border-top: 1px solid rgba(231, 161, 125, .28); }
.brevo-capture-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr); gap: 72px; align-items: center; }
.brevo-capture .eyebrow { color: #e8a17e; }
.brevo-capture h2 { max-width: 560px; margin: 14px 0 18px; color: #fffaf6; font-size: 2.55rem; }
.brevo-capture-copy > p { max-width: 550px; margin-bottom: 22px; color: #cfc3bd; font-size: .96rem; }
.brevo-capture-note { display: block; max-width: 530px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: #b9aaa4; font-size: .76rem; }
.brevo-form-shell { padding-left: 48px; border-left: 1px solid rgba(231, 161, 125, .32); }
.brevo-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.brevo-field--wide { grid-column: 1 / -1; }
.brevo-capture .sib-form-block { padding: 0; }
.brevo-capture .entry__label { display: block; margin-bottom: 7px; color: #eee7e4; font-family: var(--font); font-size: .73rem; font-weight: 700; }
.brevo-capture .entry__field { padding: 0; border: 0; border-radius: 0; background: transparent; }
.brevo-capture .entry__field .input {
  width: 100%;
  height: 48px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 5px;
  outline: 0;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-family: var(--font);
  font-size: .84rem;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.brevo-capture .entry__field .input::placeholder { color: #a99c98; opacity: 1; }
.brevo-capture .entry__field .input:focus { border-color: #e8a17e; background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 3px rgba(232, 161, 126, .12); }
.brevo-capture .entry__error { display: block; min-height: 17px; margin-top: 4px; color: #f2b092; font-family: var(--font); font-size: .68rem; }
.brevo-consent { display: grid; grid-template-columns: 17px 1fr; gap: 10px; align-items: start; margin: 5px 0 20px; color: #bfb4af; font-size: .7rem; line-height: 1.55; cursor: pointer; }
.brevo-consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: #c97f5d; }
.brevo-consent a { color: #efb190; text-decoration: underline; text-underline-offset: 2px; }
.brevo-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 49px;
  padding: 11px 20px;
  border: 1px solid #c97f5d;
  border-radius: 5px;
  background: #ad5c41;
  color: #fff;
  font-family: var(--font);
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.brevo-submit:hover { border-color: #d88967; background: #9f5038; transform: translateY(-1px); }
.brevo-submit .icon { width: 16px; height: 16px; fill: currentColor; }
.brevo-capture .input--hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.brevo-capture .sib-form-message-panel { display: none; margin: 0 0 16px; padding: 12px 14px; border: 1px solid #a74f45; border-radius: 5px; background: rgba(167, 79, 69, .13); color: #f2c0a5; font-family: var(--font); font-size: .76rem; }
.brevo-capture .sib-form-message-panel--active { display: block; }
.brevo-capture .sib-form-message-panel--success { border-color: #68796c; background: rgba(104, 121, 108, .16); color: #d9e4dc; }

@media (max-width: 980px) {
  .brevo-capture-layout { grid-template-columns: 1fr; gap: 40px; }
  .brevo-form-shell { padding: 34px 0 0; border-top: 1px solid rgba(231, 161, 125, .32); border-left: 0; }
}

@media (max-width: 620px) {
  .brevo-capture { padding: 64px 0; }
  .brevo-capture h2 { font-size: 2.08rem; }
  .brevo-fields { grid-template-columns: 1fr; gap: 12px; }
  .brevo-field--wide { grid-column: auto; }
}

.site-header { width: 100%; z-index: 999; transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-fixed,
body:not(.home-page) .site-header {
  position: fixed;
  inset: 0 0 auto;
  background: rgba(20, 18, 22, .94);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 12px 36px rgba(20, 18, 22, .2);
  backdrop-filter: blur(16px);
}
.home-page .hero-bottom-menu .site-header {
  position: fixed;
  inset: 0 0 auto;
  background: rgba(20, 18, 22, .84);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-18px);
  backdrop-filter: blur(24px) saturate(120%);
  transition: opacity .48s ease, transform .58s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .58s;
}
.home-page .site-header.is-fixed { position: fixed; background: rgba(20, 18, 22, .88); border-bottom: 1px solid var(--border-dark); opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.nav-shell { width: min(1240px, calc(100% - 32px)); min-height: 90px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.site-header .brand {
  height: 80px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.site-header .brand-logo {
  width: auto;
  height: 76px;
  object-fit: contain;
}
.main-nav { display: flex; align-items: center; gap: 3px; }
.main-nav > a, .nav-item > a { display: block; padding: 11px 12px; color: #eee7e4; font-size: .9rem; font-weight: 700; border-radius: 5px; transition: .2s ease; }
.main-nav > a:hover, .nav-item:hover > a { background: rgba(201, 130, 95, .15); color: #e7a17d; }
.home-page .hero-bottom-menu .main-nav > a, .home-page .hero-bottom-menu .nav-item > a { color: #e8eeeb; }
.home-page .hero-bottom-menu .main-nav > a:hover, .home-page .hero-bottom-menu .nav-item:hover > a { background: rgba(255, 255, 255, .1); color: #fff; }
.home-page .site-header.is-fixed .main-nav > a, .home-page .site-header.is-fixed .nav-item > a { color: #eee7e4; }
.home-page .site-header.is-fixed .main-nav > a:hover, .home-page .site-header.is-fixed .nav-item:hover > a { background: rgba(201, 130, 95, .15); color: #e7a17d; }
.nav-cta { margin-left: 5px; background: var(--brand) !important; color: #fff !important; padding-inline: 17px !important; }
.nav-cta:hover { background: var(--brand-dark) !important; }
.nav-item { position: relative; }
.nav-item.has-mega > a {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-item.has-mega > a::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.nav-item.has-mega:hover > a::after,
.nav-item.has-mega:focus-within > a::after,
.nav-item.has-mega.submenu-open > a::after {
  transform: translateY(2px) rotate(225deg);
}
.mega-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(880px, calc(100vw - 42px));
  padding: 22px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  background: rgba(252, 248, 243, .98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.mega-intro { padding: 22px; border-radius: 6px; background: var(--accent); color: #fff; }
.mega-intro span { color: #e6ad8d; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mega-intro strong { display: block; margin: 12px 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.12; }
.mega-intro p { color: #d6c8c0; font-size: .9rem; }
.mega-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mega-links.compact { grid-template-columns: 1fr; }
.mega-links a { display: block; padding: 13px; border: 1px solid transparent; border-radius: 6px; transition: .2s ease; }
.mega-links a:hover { background: var(--accent-soft); border-color: rgba(164, 90, 63, .32); transform: translateY(-1px); }
.mega-links strong { display: block; color: var(--ink); font-size: .94rem; }
.mega-links span { display: block; margin-top: 4px; color: var(--muted); font-size: .81rem; line-height: 1.35; }
.mobile-toggle { display: none; padding: 8px; background: transparent; border: 0; gap: 5px; flex-direction: column; }
.mobile-toggle span { display: block; width: 25px; height: 2px; background: #fff; }

.page-hero { position: relative; overflow: hidden; padding: 96px 0 82px; background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--brand); }
.page-hero .container { position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 34px; color: var(--muted); font-size: .84rem; }
.breadcrumb a { color: var(--accent); font-weight: 700; }
.split-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.section-image { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }

.feature-card, .service-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.section-heading { max-width: none; margin-bottom: 44px; }
.section-heading h2 { margin-top: 12px; }
.section-heading h2 { max-width: 820px; }
.section-heading p { max-width: 760px; }
.service-grid, .feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; transition: .25s ease; }
.service-card:hover { border-color: rgba(164, 90, 63, .38); background: var(--accent-soft); transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card span { color: var(--ink); font-family: var(--serif); font-size: 1.48rem; font-weight: 800; line-height: 1.12; }
.service-card i { color: var(--accent); font-style: normal; font-weight: 800; }
.related-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related-links a { padding: 19px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-weight: 800; transition: .2s ease; }
.related-links a:hover { background: var(--accent-soft); border-color: rgba(164, 90, 63, .38); color: var(--accent); transform: translateY(-2px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero .btn.ghost { border-color: var(--line-strong); color: var(--ink); }
.page-hero .btn.ghost:hover { background: var(--surface-strong); }
.form-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start; }
.form-shell form { display: grid; gap: 14px; }
.form-shell label { display: grid; gap: 8px; color: var(--ink); font-size: .78rem; font-weight: 800; }
.form-shell input, .form-shell textarea { width: 100%; padding: 15px 16px; background: #fff; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink); outline: none; }
.form-shell input:focus, .form-shell textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(201, 130, 95, .15); }
.form-shell textarea { min-height: 140px; resize: vertical; }

.site-footer { position: relative; overflow: hidden; padding: 70px 0 26px; background: linear-gradient(145deg, #171416, #211a1c); border-top: 1px solid rgba(214,145,111,.2); color: #f5efeb; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(214,145,111,.58), transparent); }
.site-footer::after { content: ''; position: absolute; right: -190px; top: -250px; width: 620px; height: 620px; border: 1px solid rgba(220,145,110,.08); border-radius: 50%; box-shadow: 0 0 0 54px rgba(220,145,110,.025), 0 0 0 108px rgba(220,145,110,.018); pointer-events: none; }
.site-footer .footer-logo { display: inline-flex; margin-bottom: 14px; }
.site-footer .brand-logo { width: auto; height: 72px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.18)); transition: opacity .25s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.site-footer .footer-logo:hover .brand-logo { opacity: .94; transform: translateY(-2px); }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.45fr .8fr 1.05fr .75fr; gap: 0; align-items: start; }
.footer-grid::before { content: ''; position: absolute; left: 0; top: -22px; width: 54px; height: 2px; background: linear-gradient(90deg, #d68d69, transparent); }
.footer-brand { padding-right: 52px; }
.footer-brand p { position: relative; max-width: 360px; margin: 0; padding-left: 18px; color: #c7b9b3; font-size: .93rem; line-height: 1.72; }
.footer-brand p::before { content: ''; position: absolute; left: 0; top: .3em; bottom: .3em; width: 1px; background: linear-gradient(#dc916e, rgba(220,145,110,.08)); }
.footer-col { min-height: 210px; padding: 0 34px; border-left: 1px solid rgba(255,255,255,.075); }
.footer-col:last-child { padding-right: 0; }
.footer-col h3 { position: relative; margin: 8px 0 18px; padding-left: 17px; color: #dc916e; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-col h3::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border: 1px solid rgba(220,145,110,.8); transform: translateY(-50%) rotate(45deg); box-shadow: 0 0 10px rgba(220,145,110,.2); }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: 0 0 9px; }
.footer-col a { position: relative; display: inline-block; color: #c9bdb7; font-size: .88rem; line-height: 1.45; transition: color .22s ease, transform .22s ease; }
.footer-col a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: linear-gradient(90deg, #dc916e, transparent); transition: width .3s cubic-bezier(.22,1,.36,1); }
.footer-col a:hover, .footer-col a:focus-visible { color: #eea581; transform: translateX(3px); }
.footer-col a:hover::after, .footer-col a:focus-visible::after { width: 100%; }
.footer-col a:focus-visible, .footer-legal a:focus-visible { outline: 1px solid var(--terracotta); outline-offset: 4px; }
.footer-contact { position: relative; background: linear-gradient(135deg, rgba(220,145,110,.045), transparent 72%); }
.footer-contact::after { content: ''; position: absolute; right: 0; top: 8px; width: 5px; height: 5px; border: 1px solid rgba(220,145,110,.45); transform: rotate(45deg); }
.footer-contact li:nth-child(2) { margin-bottom: 16px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.075); }
.footer-contact li:nth-child(n+3) { display: inline-block; margin: 2px 5px 0 0; }
.footer-contact .footer-social-link { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; color: #c9bdb7; background: rgba(255,255,255,.025); transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease; }
.footer-contact .footer-social-link::after { display: none; }
.footer-contact .footer-social-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact .footer-social-link svg .icon-fill { fill: currentColor; stroke: none; }
.footer-contact .footer-social-link:hover, .footer-contact .footer-social-link:focus-visible { color: #f2b092; border-color: rgba(220,145,110,.55); background: rgba(220,145,110,.1); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.14); }
.footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #9f9290; font-size: .75rem; }
.footer-bottom::before { content: ''; position: absolute; left: 50%; top: -4px; width: 7px; height: 7px; border: 1px solid rgba(220,145,110,.62); background: #1d181a; transform: translateX(-50%) rotate(45deg); box-shadow: 0 0 13px rgba(220,145,110,.16); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
.footer-legal a { color: #a99c98; transition: color .22s ease; }
.footer-legal a:hover { color: #e6a080; }
.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 990;
  width: 52px;
  height: 52px;
  padding: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: linear-gradient(145deg, #2fd76b, #20b858);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15,60,36,.32), inset 0 1px 0 rgba(255,255,255,.22);
  font-weight: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, box-shadow .25s ease, filter .25s ease;
}
.float-whatsapp:hover { filter: brightness(1.06); transform: translateY(-3px); box-shadow: 0 18px 38px rgba(15,60,36,.4), inset 0 1px 0 rgba(255,255,255,.24); }
.float-whatsapp.is-visible { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.float-whatsapp.is-visible:hover { transform: translateY(-3px); }
.float-whatsapp svg { width: 24px; height: 24px; flex: 0 0 24px; fill: currentColor; }
.back-to-top { --scroll-progress: 0%; position: fixed; right: 22px; bottom: 28px; z-index: 990; width: 48px; height: 48px; padding: 3px; display: grid; place-items: center; border: 0; border-radius: 50%; background: conic-gradient(var(--terracotta) var(--scroll-progress), rgba(255,255,255,.18) 0); color: #f9f4ef; box-shadow: 0 12px 30px rgba(20,18,22,.2); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease; isolation: isolate; }
.back-to-top::before { content: ''; position: absolute; inset: 3px; z-index: -1; border-radius: inherit; background: rgba(27,24,27,.96); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.back-to-top svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,18,22,.28); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top.visible:hover { transform: translateY(-3px); }
.float-whatsapp:focus-visible, .back-to-top:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.reveal { opacity: 0; transform: translateY(20px); transition: .65s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  h1 { font-size: 4rem; }
  h2 { font-size: 2.85rem; }
  .main-nav > a, .nav-item > a { padding-inline: 9px; font-size: .85rem; }
}

@media (max-width: 980px) {
  .container { width: min(calc(100% - 32px), 720px); }
  .section { padding: 78px 0; }
  .page-main { padding-top: 82px; }
  h1 { font-size: 3.35rem; }
  h2 { font-size: 2.5rem; }
  .nav-shell { min-height: 82px; }
  .mobile-toggle { display: flex; }
  .home-page .hero-bottom-menu .mobile-toggle span { background: #fff; }
  .home-page .site-header.is-fixed .mobile-toggle span { background: #fff; }
  .main-nav { position: fixed; inset: 82px 16px auto; display: none; max-height: calc(100vh - 98px); overflow-y: auto; flex-direction: column; align-items: stretch; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > a,
  .nav-item > a,
  .home-page .hero-bottom-menu .main-nav > a,
  .home-page .hero-bottom-menu .nav-item > a,
  .home-page .site-header.is-fixed .main-nav > a,
  .home-page .site-header.is-fixed .nav-item > a {
    color: #211c1f !important;
  }
  .main-nav > a:hover,
  .main-nav > a:focus-visible,
  .nav-item:hover > a,
  .nav-item:focus-within > a,
  .nav-item.submenu-open > a,
  .home-page .hero-bottom-menu .main-nav > a:hover,
  .home-page .hero-bottom-menu .main-nav > a:focus-visible,
  .home-page .hero-bottom-menu .nav-item:hover > a,
  .home-page .hero-bottom-menu .nav-item:focus-within > a {
    color: #7d3f2e !important;
    background: #f7eee8;
  }
  .main-nav .nav-cta,
  .main-nav .nav-cta:hover,
  .main-nav .nav-cta:focus-visible {
    color: #fff !important;
    background: #a45a3f;
  }
  .main-nav .mega-links strong { color: #211c1f; }
  .main-nav .mega-links span { color: #71645e; }
  .nav-cta { margin: 5px 0 0; text-align: center; }
  .mega-menu { position: static; width: 100%; margin-top: 7px; padding: 10px; display: none; grid-template-columns: 1fr; opacity: 1; visibility: visible; pointer-events: auto; transform: none !important; box-shadow: none; }
  .nav-item.submenu-open .mega-menu { display: grid; }
  .nav-item.has-mega:not(.submenu-open) > a::after { transform: translateY(-2px) rotate(45deg); }
  .nav-item.has-mega.submenu-open > a::after { transform: translateY(2px) rotate(225deg); }
  .mega-intro { display: none; }
  .main-nav .mega-links span { display: none; }
  .main-nav .mega-links a { padding: 12px 13px; }
  .mega-links, .service-grid, .feature-grid, .related-links, .split-grid, .form-shell { grid-template-columns: 1fr; }
  .service-grid, .feature-grid { gap: 14px; }
  .service-card { min-height: 170px; }
  .site-footer { padding-top: 62px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 48px; }
  .footer-brand { padding-right: 32px; }
  .footer-col { min-height: 0; padding: 0 0 0 30px; }
  .footer-col:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-legal { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), 560px); }
  .section { padding: 64px 0; }
  .page-hero { padding: 68px 0 60px; }
  h1 { font-size: 2.65rem; }
  h2 { font-size: 2.1rem; }
  p { font-size: 1rem; }
  .site-header .brand { height: 68px; padding: 0; }
  .site-header .brand-logo { height: 64px; }
  .site-footer .brand-logo { height: 76px; }
  .site-footer { padding: 54px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { padding-right: 0; }
  .footer-col, .footer-col:nth-child(3) { padding: 0 0 0 18px; border-left: 1px solid rgba(255,255,255,.075); }
  .footer-contact { padding-top: 4px; padding-bottom: 4px; }
  .footer-brand p { max-width: 440px; }
  .footer-col h3 { margin-top: 0; margin-bottom: 14px; }
  .footer-contact li:nth-child(2) { max-width: 260px; }
  .footer-bottom { margin-top: 38px; padding-top: 20px; line-height: 1.55; }
  .footer-bottom::before { left: 18px; }
  .footer-legal { gap: 6px 14px; }
  .feature-card, .service-card { padding: 22px; }
  .form-shell { padding: 22px !important; }
  .float-whatsapp { right: 14px; bottom: 78px; }
  .back-to-top { right: 14px; bottom: 20px; }
}

/* Todos os heros cabem na primeira dobra e deixam um sinal da próxima seção. */
.page-main > .page-hero {
  box-sizing: border-box;
  width: 100%;
  height: calc(100svh - 114px);
  min-height: 0;
  max-height: calc(100svh - 114px);
  padding-block: clamp(38px, 7svh, 72px);
  display: flex;
  align-items: center;
}

.home-main > .home-hero,
.landing-service-main > .landing-hero {
  box-sizing: border-box;
  height: calc(100svh - 24px);
  min-height: 0;
  max-height: calc(100svh - 24px);
}

.landing-service-main > .landing-hero .landing-hero-content {
  padding-top: clamp(104px, 14svh, 128px);
  padding-bottom: clamp(36px, 7svh, 64px);
}

@media (max-width: 980px) {
  .page-main > .page-hero {
    height: calc(100svh - 100px);
    max-height: calc(100svh - 100px);
    padding-block: clamp(32px, 6svh, 56px);
  }

  .page-main > .page-hero .split-grid > .section-image,
  .strategy-page > .sales-hero .diagnostic-board {
    display: none;
  }

  .page-main > .authority-hero .authority-hero-content {
    padding-block: clamp(30px, 5svh, 48px);
  }
}

@media (max-width: 600px) {
  .page-main > .page-hero {
    padding-block: clamp(24px, 4.5svh, 42px);
  }

  .home-main > .home-hero,
  .landing-service-main > .landing-hero {
    height: calc(100svh - 18px);
    max-height: calc(100svh - 18px);
  }

  .home-main > .home-hero .hero-content {
    padding-top: clamp(92px, 14svh, 112px);
    padding-bottom: clamp(62px, 9svh, 78px);
  }

  .landing-service-main > .landing-hero .landing-hero-content {
    padding-top: clamp(96px, 13svh, 112px);
    padding-bottom: clamp(30px, 5svh, 48px);
  }

  .page-main > .authority-hero .authority-hero-content {
    padding-block: clamp(24px, 4svh, 36px);
  }
}

@media (max-height: 740px) {
  .page-main > .page-hero {
    padding-block: 26px;
  }

  .page-main > .page-hero .breadcrumb {
    margin-bottom: 18px;
  }

  .page-main > .page-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 5.4vw, 3rem);
  }

  .page-main > .page-hero p {
    margin-bottom: 14px;
    font-size: .92rem;
    line-height: 1.58;
  }

  .page-main > .page-hero .hero-actions,
  .page-main > .page-hero .sales-actions,
  .page-main > .page-hero .authority-actions {
    margin-top: 20px;
  }

  .page-main > .page-hero .btn {
    min-height: 44px;
    padding-block: 9px;
  }

  .home-main > .home-hero .hero-content {
    padding-top: 88px;
    padding-bottom: 56px;
  }

  .home-main > .home-hero .hero-content h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .home-main > .home-hero .hero-impact {
    margin-bottom: 12px;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
  }

  .home-main > .home-hero .hero-content p {
    margin-bottom: 12px;
    font-size: .9rem;
    line-height: 1.55;
  }

  .home-main > .home-hero .hero-content .hero-actions {
    margin-top: 18px;
  }

  .landing-service-main > .landing-hero .landing-hero-content {
    padding-top: 92px;
    padding-bottom: 28px;
  }

  .landing-service-main > .landing-hero .breadcrumb {
    margin-bottom: 16px;
  }

  .landing-service-main > .landing-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 5vw, 3.2rem);
  }

  .landing-service-main > .landing-hero .landing-hero-content > p {
    font-size: .9rem;
    line-height: 1.58;
  }

  .landing-service-main > .landing-hero .landing-actions {
    margin-top: 20px;
  }

  .strategy-page > .sales-hero .cta-microcopy,
  .authority-page > .authority-hero .authority-disciplines,
  .authority-page > .authority-hero .authority-hero-index {
    display: none;
  }
}

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

/* Consentimento LGPD */
.lgpd-layer[hidden],
.lgpd-layer [hidden],
.lgpd-reopen[hidden] { display: none !important; }
.lgpd-layer { position: fixed; inset: 0; z-index: 2400; pointer-events: none; }
.lgpd-layer.is-managing { pointer-events: auto; }
.lgpd-layer.is-managing::before { content: ''; position: absolute; inset: 0; background: rgba(12, 10, 11, .68); backdrop-filter: blur(5px); }
.lgpd-banner {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: min(760px, calc(100% - 28px));
  padding: 17px 18px;
  display: flex;
  gap: 22px;
  align-items: center;
  pointer-events: auto;
  border: 1px solid rgba(222, 154, 120, .24);
  border-radius: 6px;
  background: rgba(27, 24, 26, .96);
  color: #fff;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .28), 0 4px 16px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
}
.lgpd-banner::before { content: ''; position: absolute; top: -1px; left: 18px; width: 54px; height: 1px; background: #d88c68; }
.lgpd-banner-copy { min-width: 0; flex: 1 1 auto; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.lgpd-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(220, 145, 110, .32); color: #d98d69; background: rgba(255, 255, 255, .025); }
.lgpd-mark svg,
.lgpd-reopen svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.lgpd-mark circle,
.lgpd-reopen circle { fill: currentColor; stroke: none; }
.lgpd-banner-copy strong { display: block; margin: 0 0 2px; color: #fff; font-family: var(--serif); font-size: 1rem; }
.lgpd-banner-copy p { max-width: 430px; margin: 0; color: rgba(255, 255, 255, .62); font-size: .72rem; line-height: 1.45; }
.lgpd-banner-copy a { display: inline-block; margin-top: 4px; color: #dca080; font-size: .66rem; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.lgpd-actions { flex: 0 0 auto; display: grid; grid-template-columns: repeat(2, auto); align-items: center; gap: 6px; }
.lgpd-actions .lgpd-button--text { grid-column: 1 / -1; order: 3; min-height: 28px; padding-block: 4px; }
.lgpd-button { min-height: 36px; padding: 8px 11px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px; font-size: .68rem; font-weight: 800; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.lgpd-button:hover { transform: translateY(-1px); }
.lgpd-button--primary { border-color: var(--brand); background: var(--brand); color: #fff; }
.lgpd-button--primary:hover { border-color: var(--brand-dark); background: var(--brand-dark); }
.lgpd-button--light { border-color: rgba(255, 255, 255, .34); background: transparent; color: #fff; }
.lgpd-button--light:hover { background: #fff; color: var(--ink); }
.lgpd-button--text { border-color: transparent; background: transparent; color: #df9b7c; }
.lgpd-button--text:hover { border-color: rgba(223, 155, 124, .42); }
.lgpd-preferences {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(600px, calc(100% - 32px));
  max-height: min(760px, calc(100svh - 32px));
  overflow-y: auto;
  padding: 26px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(164, 90, 63, .26);
  border-radius: 8px;
  background: #fffaf5;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .36);
}
.lgpd-preferences-head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(32, 28, 31, .14); }
.lgpd-preferences-head span { color: var(--brand); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.lgpd-preferences-head h2 { margin: 5px 0 0; font-size: clamp(1.75rem, 4vw, 2.35rem); }
.lgpd-preferences-head button { flex: 0 0 auto; width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; }
.lgpd-preferences-head button:hover { background: var(--accent-soft); }
.lgpd-preferences-head svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.lgpd-preferences-intro { margin: 22px 0; color: var(--muted); font-size: .87rem; line-height: 1.62; }
.lgpd-category-list { border-top: 1px solid var(--line); }
.lgpd-category { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 20px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.lgpd-category > span:first-child strong,
.lgpd-category > span:first-child small { display: block; }
.lgpd-category > span:first-child strong { color: var(--ink); font-size: .91rem; }
.lgpd-category > span:first-child small { max-width: 400px; margin-top: 4px; color: var(--muted); font-size: .76rem; line-height: 1.48; }
.lgpd-category--locked { cursor: default; }
.lgpd-switch { display: grid; grid-template-columns: 42px auto; gap: 9px; align-items: center; position: relative; }
.lgpd-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.lgpd-switch i { position: relative; width: 42px; height: 23px; border: 1px solid rgba(32, 28, 31, .28); border-radius: 12px; background: #d9d1ca; transition: background .2s ease, border-color .2s ease; }
.lgpd-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); transition: transform .2s ease; }
.lgpd-switch input:checked + i { border-color: var(--brand); background: var(--brand); }
.lgpd-switch input:checked + i::after { transform: translateX(19px); }
.lgpd-switch input:focus-visible + i { outline: 3px solid rgba(164, 90, 63, .2); outline-offset: 2px; }
.lgpd-switch em { color: var(--muted); font-size: .66rem; font-style: normal; font-weight: 700; }
.lgpd-preferences-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.lgpd-preferences .lgpd-button--light { border-color: var(--line-strong); color: var(--ink); }
.lgpd-preferences .lgpd-button--light:hover { background: var(--accent-soft); }
.lgpd-reopen { position: fixed; z-index: 2200; left: 12px; bottom: 12px; width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(220, 145, 110, .4); border-radius: 50%; background: rgba(33, 28, 31, .94); color: #dc9472; box-shadow: 0 8px 22px rgba(20, 18, 22, .16); cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.lgpd-reopen svg { width: 19px; height: 19px; }
.lgpd-reopen:hover { transform: translateY(-2px); background: var(--brand); color: #fff; }

@media (max-width: 900px) {
  .lgpd-banner { width: min(680px, calc(100% - 28px)); display: grid; gap: 14px; }
  .lgpd-actions { justify-self: end; }
}

@media (max-width: 600px) {
  .lgpd-banner { bottom: 8px; left: 8px; width: calc(100% - 16px); padding: 15px 14px 12px; display: grid; gap: 12px; }
  .lgpd-banner-copy { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .lgpd-mark { width: 30px; height: 30px; }
  .lgpd-mark svg { width: 19px; height: 19px; }
  .lgpd-banner-copy strong { font-size: .94rem; }
  .lgpd-banner-copy p { font-size: .7rem; }
  .lgpd-actions { grid-template-columns: 1fr 1fr; }
  .lgpd-actions .lgpd-button--text { grid-column: 1 / -1; order: 3; }
  .lgpd-button { padding-inline: 10px; }
  .lgpd-preferences { width: calc(100% - 20px); max-height: calc(100svh - 20px); padding: 22px 17px; }
  .lgpd-category { grid-template-columns: 1fr; gap: 14px; }
  .lgpd-switch { justify-self: start; }
  .lgpd-preferences-actions { display: grid; grid-template-columns: 1fr; }
  .lgpd-reopen { left: 11px; bottom: 11px; }
}

/* FAQ compartilhado para paginas de servico sem FAQ proprio */
.svc-faq-section { background: var(--warm-white); }
.svc-faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: start; }
.svc-faq-heading { margin: 0; }
.svc-faq-list { display: grid; gap: 9px; }
.svc-faq-item { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); transition: border-color .3s ease, box-shadow .3s ease; }
.svc-faq-item summary { min-height: 74px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink); font-family: var(--serif); font-size: 1.1rem; font-weight: 700; cursor: pointer; list-style: none; }
.svc-faq-item summary::-webkit-details-marker { display: none; }
.svc-faq-item summary span { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border: 1px solid rgba(164, 90, 63, .3); border-radius: 50%; color: var(--brand); font-family: var(--font); transition: transform .3s ease, background .3s ease, color .3s ease; }
.svc-faq-item p { margin: 0; padding: 0 58px 22px 22px; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.svc-faq-item[open] { border-color: rgba(164, 90, 63, .34); box-shadow: 0 18px 42px rgba(20, 18, 22, .08); }
.svc-faq-item[open] summary span { background: var(--brand); color: #fff; transform: rotate(45deg); }
.svc-faq-item summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

@media (max-width: 980px) {
  .svc-faq-layout { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 620px) {
  .svc-faq-item summary { min-height: 64px; padding: 16px 18px; font-size: 1rem; }
  .svc-faq-item p { padding: 0 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-faq-item, .svc-faq-item summary span { transition: none; }
}
