/* ASC Experience — a visual layer over editable WordPress blocks. */
:root {
  --asc-night: #081a2f;
  --asc-night-2: #102c4b;
  --asc-ink: #10243c;
  --asc-muted: #586a80;
  --asc-cyan: #39d7e8;
  --asc-orange: #ff8246;
  --asc-line: #dce8f0;
}
html { scroll-behavior: smooth; }
body { color: var(--asc-ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
::selection { background: #39d7e85c; color: #07192d; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--asc-cyan); outline-offset: 3px; }

/* Navigation */
.asc-topbar { background: var(--asc-night); color: #c5d8e7; border-bottom: 1px solid #ffffff13; font-size: .76rem; letter-spacing: .02em; padding-block: .55rem; }
.asc-topbar p { margin: 0; }
.asc-topbar a { color: #e7f4fc; }
.asc-header { background: #fffffff0; backdrop-filter: blur(22px); border-bottom: 1px solid #dce9f1; box-shadow: 0 12px 36px #0921390d; padding-block: .8rem; }
.asc-header .wp-block-image { margin: 0; }
.asc-header .wp-block-navigation { gap: .25rem; }
.asc-header .wp-block-navigation a { color: #213950; font-size: .91rem; font-weight: 700; padding: .55rem .75rem; border-radius: 999px; transition: color .2s, background .2s; }
.asc-header .wp-block-navigation a:hover { color: #0b6273; background: #eaf8fa; text-decoration: none; }
.asc-header .wp-block-buttons { margin-left: .65rem; }
.asc-button .wp-block-button__link, .asc-contact-form button { background: linear-gradient(120deg, #ff914d, #f66d39); color: #192b3c; border: 0; border-radius: 999px; box-shadow: 0 12px 26px #ed683328; font-weight: 800; padding: .95rem 1.55rem; transition: transform .2s, box-shadow .2s; }
.asc-button .wp-block-button__link:hover, .asc-contact-form button:hover { transform: translateY(-3px); box-shadow: 0 17px 32px #ed683348; text-decoration: none; }
.asc-button-outline .wp-block-button__link { background: #ffffff0a; color: #eef9ff; border: 1px solid #a4d5e188; border-radius: 999px; font-weight: 750; padding: .9rem 1.45rem; }
.asc-button-outline .wp-block-button__link:hover { background: #ffffff1b; text-decoration: none; }

/* Hero — a digital horizon, not a generic accounting banner. */
.asc-hero { isolation: isolate; background: radial-gradient(circle at 78% 22%, #1d7ca650 0, transparent 28%), radial-gradient(circle at 58% 80%, #0b638a42 0, transparent 30%), linear-gradient(125deg, #071729, #0c2847 64%, #09394b); color: #f3fbff; padding: clamp(5rem, 9vw, 8.5rem) 20px clamp(5rem, 8vw, 7rem); }
.asc-hero::before { background-image: linear-gradient(#85dce514 1px, transparent 1px), linear-gradient(90deg, #85dce514 1px, transparent 1px); background-size: 52px 52px; opacity: 1; mask-image: linear-gradient(100deg, transparent 2%, #000 45%, #000 100%); }
.asc-hero::after { content: ""; position: absolute; z-index: -1; width: min(50vw, 580px); aspect-ratio: 1; border: 1px solid #72deea27; border-radius: 50%; right: -12%; top: -42%; box-shadow: 0 0 0 80px #62dbe807, 0 0 0 160px #62dbe805; pointer-events: none; }
.asc-hero .wp-block-columns { align-items: center !important; gap: clamp(2rem, 5vw, 5rem); }
.asc-hero .asc-kicker { color: #74e7ef; display: inline-flex; align-items: center; gap: .75rem; font-size: .76rem; font-weight: 850; letter-spacing: .22em; margin-bottom: 1.2rem; }
.asc-hero .asc-kicker::before { content: ""; display: block; width: 32px; height: 2px; background: var(--asc-cyan); box-shadow: 0 0 12px var(--asc-cyan); }
.asc-hero h1 { max-width: 760px; color: #f6fbff; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 850; margin: 0 0 1.45rem; text-wrap: balance; }
.asc-hero .asc-accent { color: #ff9e63; }
.asc-hero p:not(.asc-kicker) { color: #c8d9e5; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.8; max-width: 620px; }
.asc-hero .wp-block-buttons { margin: 2rem 0; gap: .75rem; }
.asc-hero .wp-block-column:first-child > p:last-child { color: #91bac6; font-size: .82rem; letter-spacing: .03em; border-top: 1px solid #ffffff21; padding-top: 1.25rem; margin-top: 1.7rem; }
.asc-hero figure { position: relative; margin: 0; }
.asc-hero figure::before { content: "ASC  /  01"; position: absolute; z-index: 2; top: -19px; left: -19px; padding: 11px 16px; border: 1px solid #ffffff50; border-radius: 12px; color: #d9f7fb; background: #102b3ec9; backdrop-filter: blur(12px); font-size: .7rem; font-weight: 800; letter-spacing: .15em; box-shadow: 0 12px 30px #00132435; }
.asc-hero figure::after { content: "Inteligência para evoluir"; position: absolute; z-index: 2; right: -14px; bottom: -22px; padding: 16px 20px; border: 1px solid #ffffff4d; border-radius: 14px; color: #fff; background: #0c263ed9; backdrop-filter: blur(14px); font-size: .78rem; font-weight: 800; box-shadow: 0 15px 34px #00132445; }
.asc-hero img { width: 100%; height: clamp(400px, 44vw, 560px); object-fit: cover; border-radius: 24px; border: 1px solid #ffffff54; box-shadow: 0 32px 75px #0016268c, 0 0 0 7px #ffffff0c; filter: saturate(.75) contrast(1.08); }

/* Content rhythm */
.asc-section { padding-block: clamp(5rem, 8vw, 8rem); }
.asc-section h2 { font-size: clamp(2.2rem, 3.9vw, 4rem); line-height: 1.13; letter-spacing: -.05em; font-weight: 820; text-wrap: balance; }
.asc-section p { color: var(--asc-muted); }
.asc-kicker { color: #df6739; font-size: .74rem; font-weight: 850; letter-spacing: .2em; }
#quem-somos { background: #f7fafc; position: relative; overflow: hidden; }
#quem-somos::after { content: ""; position: absolute; right: -7%; bottom: -32%; width: 450px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #47cadd15, transparent 70%); pointer-events: none; }
#quem-somos .wp-block-columns { align-items: center !important; gap: clamp(2.5rem, 7vw, 7rem); }
#quem-somos img { border-radius: 24px; display: block; width: 100%; height: min(540px, 60vw); object-fit: cover; box-shadow: 0 30px 70px #1637561e; }
#quem-somos .wp-block-column:last-child > p:not(.asc-kicker) { font-size: 1.06rem; line-height: 1.8; }
#quem-somos h3 { color: #0e3555; font-size: 1.13rem; margin: 1.6rem 0 .4rem; }
#quem-somos ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; padding: 0; list-style: none; margin-top: 1.2rem; }
#quem-somos li { padding: .8rem .9rem; border-radius: 10px; color: #214058; background: #fff; border: 1px solid #dce8f0; font-size: .9rem; font-weight: 650; box-shadow: 0 6px 20px #08213d08; }
#quem-somos li::before { content: "✓"; color: #0c9aa6; font-weight: 900; margin-right: .55rem; }

/* Service platform */
#servicos { background: radial-gradient(circle at 10% 0%, #146a8e30, transparent 28%), linear-gradient(160deg, #0a1e34, #0e2941 65%, #081d30); color: #eff9ff; position: relative; }
#servicos::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#9ce8f00b 1px, transparent 1px), linear-gradient(90deg, #9ce8f00b 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
#servicos > * { position: relative; }
#servicos .asc-kicker { color: #66dce6; }
#servicos h2 { color: #f2fbff; max-width: 770px; }
#servicos > p:not(.asc-kicker) { color: #b6cada; max-width: 650px; }
#servicos .wp-block-columns { gap: 1rem; margin-block: 1rem !important; }
.asc-card { background: linear-gradient(155deg, #ffffff13, #ffffff07); border: 1px solid #9cd8e633; border-radius: 20px; box-shadow: none; padding: clamp(1.5rem, 2vw, 2rem); min-height: 100%; transition: transform .25s, border-color .25s, background .25s, box-shadow .25s; }
.asc-card:hover { transform: translateY(-6px); border-color: #67dce7a8; background: #ffffff18; box-shadow: 0 20px 42px #00111f55; }
.asc-card h3 { color: #f5fcff; font-size: 1.27rem; line-height: 1.25; margin: .1rem 0 .6rem; }
.asc-card h3::before { content: "↗"; display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 1.6rem; color: #4ee0e9; border-radius: 10px; background: #3ad0da20; border: 1px solid #53dbe45a; font-size: 1.15rem; }
.asc-card p { color: #b2c9d7; font-size: .95rem; }
.asc-card p:first-of-type { color: #84dfe9; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.asc-card ul { color: #c9dce6; border-top: 1px solid #ffffff22; padding: 1rem 0 0; margin: 1.1rem 0 0; list-style: none; }
.asc-card li { position: relative; padding-left: 1rem; }
.asc-card li::before { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--asc-cyan); left: 0; top: .75em; }
.asc-cta { margin-top: clamp(3rem, 6vw, 5rem); background: linear-gradient(110deg, #14496a, #0b5d70); border: 1px solid #61dae68a; border-radius: 24px; box-shadow: 0 27px 55px #00132370; padding: clamp(2.6rem, 5vw, 4.5rem); }
.asc-cta::after { width: 400px; height: 400px; border-color: #a0f5ed3b; box-shadow: 0 0 0 66px #a0f5ed0b, 0 0 0 132px #a0f5ed08; }
.asc-cta h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); max-width: 730px; margin-inline: auto; }
.asc-cta p { color: #d0e5e7 !important; max-width: 620px; margin-inline: auto; }

/* Contact, conversion, footer */
#contato { background: linear-gradient(180deg, #f8fbfd, #edf5f8); }
#contato .wp-block-columns { gap: clamp(2rem, 6vw, 6rem); margin-top: 2rem; }
#contato .wp-block-column:first-child { border-radius: 22px; background: #0e2a43; padding: clamp(1.7rem, 3vw, 3rem); box-shadow: 0 22px 45px #0c314122; }
#contato .wp-block-column:first-child h3 { color: #fff; margin-top: 0; }
#contato .wp-block-column:first-child p { color: #c7dce8; border-bottom: 1px solid #ffffff20; padding-bottom: 1.1rem; }
#contato .wp-block-column:first-child p:last-child { border-bottom: 0; padding-bottom: 0; }
#contato .wp-block-column:first-child a { color: #79e5ec; }
#contato .wp-block-column:last-child { border-radius: 22px; padding: clamp(1.5rem, 3vw, 3rem); background: #fff; border: 1px solid #dce8f0; box-shadow: 0 22px 50px #12375610; }
#contato .wp-block-column:last-child h3 { margin-top: 0; color: #14334e; }
.asc-contact-form { gap: .85rem; }
.asc-contact-form label { color: #284458; font-size: .84rem; }
.asc-contact-form input, .asc-contact-form textarea { border-radius: 10px; border: 1px solid #cddce6; background: #f9fcfd; padding: .95rem 1rem; }
.asc-contact-form input:focus, .asc-contact-form textarea:focus { border-color: #35bccc; box-shadow: 0 0 0 3px #35bccc25; outline: 0; }
.asc-contact-form button { justify-self: start; cursor: pointer; font-size: .95rem; }
.asc-footer { background: #081a2d; color: #e1f0f7; border-top: 0; padding-top: clamp(3.5rem, 5vw, 5rem); }
.asc-footer h3 { color: #eaf8fc; font-size: 1rem; }
.asc-footer p { color: #9fb9c9; }
.asc-footer a { color: #b8dce7; }
.asc-footer a:hover { color: #68e0e9; }
.asc-footer img { filter: brightness(0) invert(1); opacity: .95; }
.asc-footer .wp-block-separator { border-color: #ffffff30; }
.asc-footer .asc-footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1.5rem; margin-bottom: 0; font-size: .78rem; letter-spacing: .01em; }
.asc-footer .asc-footer-legal span:last-child { color: #c8dce8; white-space: nowrap; }

/* Interior pages keep the same visual system. */
.asc-page { margin-block: clamp(3rem, 7vw, 6rem); }
.asc-page h1 { color: #0d2d48; letter-spacing: -.04em; }
.asc-post-card { border-radius: 16px; border-color: #d9e6ee; box-shadow: 0 12px 30px #102f490c; }

@media (max-width: 900px) {
  .asc-header { position: relative; }
  .asc-header .wp-block-group { gap: .8rem; }
  .asc-header .wp-block-buttons { margin-left: 0; }
  .asc-hero { padding-block: 4.5rem; }
  .asc-hero .wp-block-columns { flex-wrap: wrap !important; }
  .asc-hero .wp-block-column { flex-basis: 100% !important; }
  .asc-hero img { height: 420px; }
  #quem-somos .wp-block-columns { gap: 2.5rem; }
}
@media (max-width: 600px) {
  .asc-topbar.wp-block-group { display: none; }
  .asc-header.wp-block-group { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 12px 18px; backdrop-filter: none; }
  .asc-header .wp-block-image img { max-width: 142px; }
  .asc-header > .wp-block-navigation { margin-left: auto; }
  .asc-header > .wp-block-buttons { display: none; }
  .asc-header .wp-block-navigation__responsive-container-open { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dce8f0; border-radius: 12px; color: var(--asc-ink); }
  .asc-header .wp-block-navigation__responsive-container.is-menu-open { inset: 0; width: 100vw; height: 100dvh; min-height: 100vh; max-height: 100dvh; padding: 28px 24px 36px; overflow-y: auto; background: radial-gradient(circle at 100% 0%, #17618450, transparent 40%), linear-gradient(145deg, #081a2f, #102d4d); color: #f3fbff; }
  .asc-header .wp-block-navigation__responsive-close,
  .asc-header .wp-block-navigation__responsive-dialog { width: 100%; min-height: 100%; }
  .asc-header .wp-block-navigation__responsive-container-close { top: 0; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff3d; border-radius: 12px; color: #f3fbff; }
  .asc-header .wp-block-navigation__responsive-container-content { display: flex; align-items: stretch; width: 100%; padding: 70px 0 0; }
  .asc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch; padding-top: 70px; }
  .asc-header .wp-block-navigation__responsive-container-content::before { content: "EXPLORE A ASC"; display: block; padding-bottom: 14px; border-bottom: 1px solid #ffffff26; color: #71deeb; font-size: .73rem; font-weight: 850; letter-spacing: .2em; }
  .asc-header .wp-block-navigation__container { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 0; margin: 16px 0 0; counter-reset: asc-menu; }
  .asc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container { align-items: stretch; flex-direction: column; }
  .asc-header .wp-block-navigation__container > .wp-block-navigation-item { display: flex; align-items: center; width: 100%; border-bottom: 1px solid #ffffff20; counter-increment: asc-menu; }
  .asc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container > .wp-block-navigation-item { flex-direction: row; align-items: center; }
  .asc-header .wp-block-navigation__container > .wp-block-navigation-item::before { content: "0" counter(asc-menu); flex: 0 0 36px; color: #71deeb; font-size: .73rem; font-weight: 800; letter-spacing: .08em; }
  .asc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block; flex: 1; padding: 16px 0; border-radius: 0; color: #f3fbff; font-size: clamp(1.15rem, 5vw, 1.45rem); font-weight: 750; line-height: 1.3; }
  .asc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover { background: transparent; color: #71deeb; }
  .asc-header .wp-block-navigation__container > .wp-block-navigation-item:last-child { margin-top: 20px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--asc-orange); }
  .asc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:last-child { background: var(--asc-orange) !important; }
  .asc-header .wp-block-navigation__container > .wp-block-navigation-item:last-child::before,
  .asc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child .wp-block-navigation-item__content { color: var(--asc-night); }
  .asc-section { padding: 4.2rem 18px; }
  .asc-hero { padding: 4.5rem 18px 4rem; }
  .asc-hero h1 { font-size: clamp(2.65rem, 10vw, 3.8rem); }
  .asc-hero .wp-block-buttons { align-items: stretch; }
  .asc-hero .wp-block-button, .asc-hero .wp-block-button__link { width: 100%; text-align: center; }
  .asc-hero img { height: 300px; }
  .asc-hero figure::before { left: 0; top: -15px; }
  .asc-hero figure::after { right: 0; bottom: -18px; }
  #quem-somos img { height: 340px; }
  #quem-somos ul { grid-template-columns: 1fr; }
  #servicos .wp-block-columns { gap: 1rem; }
  #contato .wp-block-column:first-child, #contato .wp-block-column:last-child { padding: 1.6rem; }
  .asc-footer { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .asc-card, .asc-button .wp-block-button__link, .asc-contact-form button { transition: none; }
}
