/*
  Dra. Fabiola Pontin Pereira — NJA Marketing
  Design editorial fundamentado no guia de identidade visual original.
  Mobile-first, grid intrínseco e motion progressivo.
*/
:root {
  --cream: #F8F4EA;
  --paper: #FCFAF6;
  --paper-alt: #F2ECE3;
  --champagne: #E6D6C4;
  --sage: #7A916E;
  --sage-deep: #506949;
  --sage-dark: #344A36;
  --teal: #3E7C74;
  --graphite: #3E3E3E;
  --ink: #29362C;
  --muted: #676E63;
  --gold: #B3A16A;
  --line: #DAD4C8;
  --white: #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', 'Avenir Next', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 84px);
  --content-width: 1360px;
  --header-height: 100px;
  --section-padding: clamp(88px, 10vw, 152px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-soft: cubic-bezier(.22, .62, .28, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 22px); }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-weight: 450; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-is-open { overflow: hidden; }
::selection { background: #B6C5A7; color: var(--ink); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { flex: 0 0 auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
button { cursor: pointer; }
address { font-style: normal; }
p, h1, h2, h3, h4 { margin-top: 0; }
p { line-height: 1.8; }
[hidden] { display: none !important; }
.site-container { width: min(calc(100% - var(--gutter) * 2), var(--content-width)); margin-inline: auto; }
.section-space { padding-block: var(--section-padding); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 12px 16px; background: var(--ink); color: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 13px; color: var(--sage-deep); font-size: 10px; font-weight: 700; letter-spacing: .235em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 28px; height: 1px; background: var(--gold); flex: 0 0 28px; }
.eyebrow--light { color: #E7E5D9; }
.eyebrow--gold { color: #CDBE90; }
h1,h2,h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.034em; }
h1 em, h2 em, h3 em { font-weight: 400; }

/* Header */
.site-header { height: var(--header-height); position: sticky; top: 0; z-index: 200; background: rgba(248,244,234,.965); border-bottom: 1px solid rgba(61,75,55,.10); transition: box-shadow .3s ease, background .3s ease; }
@supports (backdrop-filter: blur(10px)) { .site-header { background: rgba(248,244,234,.89); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } }
.site-header.is-scrolled { box-shadow: 0 9px 34px rgba(30,44,31,.07); }
.header-inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); height: 100%; min-width: 0; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 11px; min-width: 0; }
.brand-mark { width: 76px; height: 56px; object-fit: contain; }
.brand-type { display: flex; flex-direction: column; gap: 1px; white-space: nowrap; padding-top: 3px; }
.brand-type strong { font: 500 27px/.95 var(--font-display); letter-spacing: -.05em; }
.brand-type > span { color: #6A725F; font-size: 8px; font-weight: 650; letter-spacing: .145em; }
.brand-dot { color: var(--gold); padding-inline: 2px; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(15px, 2vw, 32px); margin-left: auto; }
.desktop-nav a { position: relative; white-space: nowrap; padding: 12px 0; font-size: 11px; font-weight: 600; color: #525C50; transition: color .25s ease; }
.desktop-nav a::after { position: absolute; content: ''; left: 0; bottom: 5px; height: 1px; width: 100%; background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.header-cta { flex: 0 0 auto; }
@media (hover: hover) and (pointer: fine) { .desktop-nav a:hover { color: var(--sage-deep); } .desktop-nav a:hover::after { transform: scaleX(1); } }

/* Buttons */
.button { --btn-bg: transparent; --btn-fg: var(--sage-deep); --btn-line: transparent; display: inline-flex; justify-content: space-between; align-items: center; gap: 26px; min-height: 48px; padding: 14px 20px; border: 1px solid var(--btn-line); border-radius: 100px; position: relative; isolation: isolate; overflow: clip; background: var(--btn-bg); color: var(--btn-fg); white-space: nowrap; font-size: 11px; font-weight: 650; letter-spacing: .015em; line-height: 1.2; transition: border-color .3s ease, box-shadow .3s ease, transform .32s var(--ease-out); }
.button > span, .button > svg { position: relative; z-index: 2; }
.button svg { width: 19px; height: 19px; }
.button::before { content: ''; position: absolute; z-index: 1; inset: 0; border-radius: inherit; background: rgba(255,255,255,.10); transform: scaleX(0); transform-origin: left center; transition: transform .42s var(--ease-out); pointer-events: none; }
.button--sage { --btn-bg: var(--sage-deep); --btn-fg: #FFFFFF; --btn-line: var(--sage-deep); }
.button--outline { --btn-bg: transparent; --btn-fg: var(--sage-dark); --btn-line: var(--sage-dark); }
.button--outline::before { background: rgba(80,105,73,.10); }
.button--cream { --btn-bg: var(--cream); --btn-fg: var(--sage-dark); --btn-line: var(--cream); }
.button--cream::before { background: rgba(80,105,73,.10); }
.button--large { padding: 18px 25px; min-height: 59px; font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .button:hover { transform: translateY(-2px); box-shadow: 0 11px 26px rgba(35,52,36,.13); } .button:hover::before { transform: scaleX(1); } .button:active { transform: translateY(0); } }
.text-link { display: inline-flex; align-items: center; gap: 14px; color: var(--sage-dark); font-size: 11px; font-weight: 650; border-bottom: 1px solid currentColor; padding-block: 10px; transition: gap .3s var(--ease-out), color .2s ease; }
.text-link svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .text-link:hover { gap: 22px; color: var(--teal); } }

/* Mobile navigation */
.menu-trigger, .menu-close { border: 1px solid #C8CEBD; border-radius: 50%; background: transparent; color: var(--sage-dark); width: 46px; height: 46px; display: none; align-items: center; justify-content: center; }
.menu-trigger svg, .menu-close svg { width: 21px; height: 21px; }
.mobile-overlay { position: fixed; inset: 0; z-index: 210; background: rgba(32,45,34,.48); }
.mobile-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 211; width: min(420px, 92vw); background: var(--cream); padding: max(25px, env(safe-area-inset-top)) 27px max(28px,env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; pointer-events: none; transform: translateX(105%); transition: transform .46s var(--ease-out), visibility .46s; box-shadow: -16px 0 48px rgba(31,42,34,.11); }
.mobile-nav.is-open { visibility: visible; pointer-events: auto; transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.mobile-nav__title { font: 500 33px/1 var(--font-display); }
.menu-close { display: flex; }
.mobile-nav__links { display: grid; margin-top: 22px; }
.mobile-nav__links a { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); font: 500 clamp(26px, 5vw, 34px)/1.15 var(--font-display); }
.mobile-nav__links a span { font: 600 9px/1 var(--font-body); letter-spacing: .12em; color: var(--muted); }
.mobile-nav__cta { margin-top: 38px; width: 100%; }
.mobile-nav__foot { display: block; margin-top: auto; padding-top: 48px; text-transform: uppercase; letter-spacing: .17em; font-size: 10px; color: var(--muted); }

/* Hero */
.hero { position: relative; background: var(--cream); }
.hero-layout { display: grid; grid-template-columns: minmax(0,1.10fr) minmax(0,.9fr); gap: clamp(34px, 5.2vw, 88px); align-items: center; min-height: 684px; padding-block: clamp(50px,5.2vw,86px) 55px; }
.hero-copy { padding-top: 0; min-width: 0; }
.hero-eyebrow { margin-bottom: 31px; }
.hero h1 { max-width: 780px; margin-bottom: 28px; font-size: clamp(66px, 6.6vw, 109px); line-height: .91; letter-spacing: -.057em; color: var(--ink); text-wrap: balance; }
.hero h1 em { color: var(--sage); white-space: normal; }
.hero-lead { max-width: 505px; margin: 0 0 13px; font-size: clamp(16px,1.36vw,19px); line-height: 1.65; font-weight: 550; letter-spacing: -.025em; }
.hero-description { max-width: 470px; font-size: 12px; line-height: 1.95; color: #697165; margin-bottom: 31px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 34px; }
.hero-register { display: flex; align-items: center; gap: 17px; margin-top: clamp(38px,5vw,68px); font-size: 11px; font-weight: 650; line-height: 1.7; }
.register-bar { width: 37px; height: 1px; background: var(--gold); }
.hero-register small { font-size: 9px; font-weight: 500; color: var(--muted); letter-spacing: .06em; }
.hero-visual { position: relative; width: 100%; max-width: 580px; min-width: 0; margin: 0 auto; padding: 23px 20px 26px 8px; }
.hero-photo-frame { position: relative; z-index: 2; width: 100%; height: clamp(470px, 46.6vw, 660px); overflow: hidden; background: #1C1C1C; border-radius: 45% 45% 7px 7px / 32% 32% 7px 7px; }
.hero-photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-orbit { position: absolute; z-index: 1; left: -13px; right: 37px; top: 5px; height: calc(100% - 12px); border: 1px solid var(--gold); border-radius: 49% 49% 8px 8px / 34% 34% 8px 8px; pointer-events: none; }
.hero-photo-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,0,0,.19), transparent 36%); pointer-events: none; }
.hero-image-note { position: absolute; z-index: 3; bottom: 52px; left: -26px; background: var(--paper); color: var(--sage-dark); padding: 19px 20px; display: flex; align-items: center; gap: 15px; font-size: 9px; font-weight: 700; letter-spacing: .15em; box-shadow: 0 14px 39px rgba(32,42,36,.07); }
.note-rule { width: 28px; height: 1px; background: var(--gold); }
.hero-sideword { position: absolute; bottom: 56px; right: -11px; writing-mode: vertical-rl; font-size: 8px; letter-spacing: .23em; font-weight: 700; color: var(--sage-dark); }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; border-top: 1px solid var(--line); color: #85877D; font-size: 8px; letter-spacing: .20em; font-weight: 650; }

/* Essential statement */
.essence { background: var(--sage-dark); position: relative; overflow: clip; color: var(--cream); padding-block: clamp(82px,8vw,118px); }
.essence-grid { display: grid; grid-template-columns: minmax(180px,.38fr) minmax(0,1fr); align-items: start; gap: clamp(35px,6vw,90px); position: relative; }
.essence .eyebrow { padding-top: 13px; z-index: 2; }
.essence h2 { z-index: 2; max-width: 990px; margin: 0; font-size: clamp(46px,4.7vw,75px); line-height: 1.08; font-weight: 400; letter-spacing: -.039em; }
.essence h2 em { color: #D2C69C; }
.essence-mark { position: absolute; right: -115px; top: -95px; width: 340px; opacity: .28; transform: rotate(17deg); pointer-events: none; }

/* Areas of practice */
.specialties { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .55fr); align-items: end; gap: clamp(30px,5vw,90px); margin-bottom: clamp(52px, 6vw, 83px); }
.section-heading h2, .about h2, .location h2, .faq-section h2, .pillars h2 { margin: 22px 0 0; font-size: clamp(48px,5.1vw,79px); line-height: .98; letter-spacing: -.045em; }
.section-heading h2 em, .about h2 em, .location h2 em, .faq-section h2 em, .pillars h2 em { color: var(--sage); }
.section-heading > p { font-size: 12px; line-height: 2; color: var(--muted); max-width: 355px; margin: 0 0 8px; }
.service-list { border-top: 1px solid #D3D4C9; }
.service-item { display: grid; grid-template-columns: minmax(140px,.30fr) minmax(75px,.18fr) minmax(0,1fr); align-items: start; gap: clamp(16px,4vw,65px); padding-block: clamp(38px,5vw,74px); border-bottom: 1px solid #D3D4C9; transition: background .3s ease, padding .3s ease; }
.service-number { padding-top: 18px; font-size: 10px; font-weight: 700; letter-spacing: .15em; color: #7B806F; white-space: nowrap; }
.service-number span { padding: 0 6px; color: var(--gold); }
.service-icon { width: clamp(62px,8.5vw,98px); color: var(--sage-deep); opacity: .84; }
.service-icon svg { width: 100%; height: auto; aspect-ratio: 1; }
.service-body h3 { font-size: clamp(40px,4.35vw,66px); line-height: .95; margin: 0 0 24px; }
.service-body p { max-width: 630px; margin-bottom: 25px; color: #70766D; font-size: 12px; line-height: 1.95; }
.service-link { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 650; color: var(--sage-deep); border-bottom: 1px solid #BCCAB4; padding-bottom: 9px; transition: gap .24s ease, border-color .24s ease; }
.service-link svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .service-link:hover { gap: 23px; border-color: var(--sage-deep); } }

/* Statement with brand mark */
.signature { background: #303A32; color: var(--cream); position: relative; overflow: hidden; }
.signature-inner { position: relative; padding-block: clamp(110px,11vw,164px); text-align: center; }
.signature-symbol { position: absolute; width: clamp(270px,29vw,460px); height: auto; left: 50%; top: 50%; transform: translate(-50%,-50%); opacity: .075; filter: grayscale(1) brightness(2); pointer-events: none; }
.signature .eyebrow { position: relative; z-index: 2; }
.signature h2 { position: relative; z-index: 2; font-size: clamp(49px,5.9vw,91px); line-height: 1.03; font-weight: 400; max-width: 1100px; margin: 27px auto 30px; }
.signature h2 em { color: #C8BE9A; }
.signature-rule { display: block; height: 1px; width: 75px; background: var(--gold); margin-inline: auto; }

/* About */
.about { background: var(--paper-alt); }
.about-grid { display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1fr); align-items: center; gap: clamp(50px,9vw,139px); }
.about-image-wrap { position: relative; width: 100%; max-width: 560px; padding-right: 22px; padding-bottom: 21px; }
.about-image-wrap::before { content: ''; position: absolute; z-index: 0; top: 12px; left: 13px; right: 0; bottom: 0; border: 1px solid #BBAE83; border-radius: 45% 45% 12px 12px / 35% 35% 12px 12px; }
.about-photo { position: relative; overflow: hidden; z-index: 1; background: #EDE7DF; width: 100%; aspect-ratio: 0.87; border-radius: 45% 45% 11px 11px / 35% 35% 11px 11px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 27%; }
.about-image-tag { position: absolute; z-index: 2; left: -21px; bottom: 64px; width: min(265px, 65%); background: var(--cream); padding: 20px 21px; display: flex; align-items: center; justify-content: space-between; gap: 15px; box-shadow: 0 18px 45px rgba(34,41,34,.09); font: italic 500 24px/1.1 var(--font-display); }
.about-image-tag svg { width: 20px; height: 20px; color: var(--sage-deep); }
.about h2 { max-width: 660px; }
.about-copy p { max-width: 530px; font-size: 12px; color: var(--muted); line-height: 2; margin-top: 25px; margin-bottom: 0; }
.about-copy p + p { margin-top: 14px; }
.about-copy p strong { color: var(--ink); font-weight: 650; }
.about-credentials { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; border-top: 1px solid #D8D4C9; margin-top: 35px; padding-top: 22px; }
.about-credentials span { font-size: 9px; letter-spacing: .15em; color: #7A8175; font-weight: 700; }
.about-credentials strong { display: inline-flex; align-items: center; gap: 15px; font-size: 12px; font-weight: 650; color: var(--sage-dark); }
.about-credentials strong i { display: block; height: 12px; border-left: 1px solid #ADAA98; }
.about-link { margin-top: 25px; }

/* Values, not generic cards */
.pillars { padding-block: clamp(79px,8vw,118px); background: #EAE4D9; }
.pillars-inner { display: grid; grid-template-columns: minmax(0,.89fr) minmax(0,1fr); align-items: start; gap: clamp(60px,8vw,130px); }
.pillars h2 { max-width: 530px; }
.pillars-list { border-top: 1px solid #C7C3B8; }
.pillar { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 16px; padding-block: 25px 22px; border-bottom: 1px solid #C7C3B8; }
.pillar-index { font: italic 400 34px/1.2 var(--font-display); color: var(--sage); }
.pillar h3 { font-size: clamp(29px,2.9vw,39px); line-height: 1.08; margin-bottom: 8px; }
.pillar p { font-size: 11px; line-height: 1.8; color: var(--muted); margin-bottom: 0; }

/* Contact and address */
.location { background: var(--paper); }
.location-grid { display: grid; grid-template-columns: minmax(0,.93fr) minmax(0,1fr); align-items: stretch; gap: clamp(50px,9vw,137px); }
.location-copy { padding-block: clamp(14px,3vw,42px); }
.location-copy h2 { max-width: 530px; margin-bottom: 23px; }
.location-copy > p { max-width: 430px; color: var(--muted); font-size: 12px; line-height: 2; }
.address-block { display: flex; gap: 18px; align-items: flex-start; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 36px 0 28px; padding: 28px 0; }
.address-block > svg { width: 25px; height: 25px; color: var(--sage-deep); margin-top: 2px; }
.address-block address { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.address-block strong { font-size: 12px; }
.address-block address span { font-size: 11px; line-height: 1.9; color: var(--muted); }
.contact-panel { min-width: 0; position: relative; overflow: clip; padding: clamp(34px,5vw,70px); display: flex; flex-direction: column; justify-content: center; background: var(--sage-dark); color: #F9F6ED; min-height: 530px; }
.contact-leaf { position: absolute; right: -60px; top: -60px; width: 260px; opacity: .20; pointer-events: none; transform: rotate(-19deg); }
.contact-panel__eyebrow { position: relative; z-index: 1; font-size: 9px; letter-spacing: .20em; font-weight: 650; color: #D9CCA5; }
.contact-panel h3 { position: relative; z-index: 1; max-width: 470px; margin: 22px 0 38px; font-size: clamp(45px,4.8vw,70px); line-height: .99; }
.contact-panel h3 em { color: #D6CAA5; }
.contact-line { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; min-width: 0; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.25); transition: padding-left .25s ease; }
.contact-line:last-child { border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-line__icon { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.39); border-radius: 50%; flex: 0 0 43px; }
.contact-line__icon svg { width: 20px; height: 20px; }
.contact-line > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.contact-line small { font-size: 8px; letter-spacing: .16em; color: #DBDECC; font-weight: 600; }
.contact-line strong { font-size: clamp(12px,1.2vw,15px); font-weight: 550; overflow-wrap: anywhere; }
.contact-line__arrow { margin-left: auto; width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .contact-line:hover { padding-left: 7px; } }

/* FAQ */
.faq-section { background: var(--paper-alt); }
.faq-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: clamp(60px,9vw,139px); }
.faq-section h2 { max-width: 460px; }
.faq-list { border-top: 1px solid #CCC7BB; }
.faq-item { border-bottom: 1px solid #CCC7BB; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 17px; padding: 25px 0; font-size: 12px; font-weight: 650; line-height: 1.6; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { position: relative; display: inline-block; width: 22px; height: 22px; flex: 0 0 22px; color: var(--sage-deep); }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; left: 4px; top: 10px; width: 14px; height: 1px; background: currentColor; transition: transform .2s ease; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: rotate(0deg); }
.faq-answer { padding-bottom: 22px; }
.faq-answer p { margin: 0; max-width: 520px; font-size: 11px; line-height: 1.9; color: var(--muted); }
.faq-answer a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 3px; }

/* CTA */
.closing { position: relative; padding-block: clamp(76px,8vw,115px); background: var(--teal); color: var(--cream); overflow: clip; }
.closing::after { content: ''; position: absolute; width: 400px; height: 400px; top: -220px; right: -155px; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; pointer-events: none; }
.closing-grid { display: grid; grid-template-columns: minmax(0,.24fr) minmax(0,.8fr) auto; align-items: center; gap: clamp(25px,4vw,70px); }
.closing h2 { margin: 0; font-size: clamp(49px,5.2vw,79px); line-height: 1; }
.closing h2 em { color: #E2D8B8; }
.closing .button { justify-self: end; }

/* Footer */
.footer { background: #F7F2E9; color: var(--ink); }
.footer-main { padding-block: 79px 72px; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,.62fr) minmax(0,1fr); gap: clamp(32px,6vw,100px); }
.footer-brand > a { display: inline-flex; }
.footer-brand img { display: block; width: 119px; max-height: 81px; object-fit: contain; object-position: left center; }
.footer-brand strong { display: block; margin: 8px 0; font: 500 28px/1.1 var(--font-display); }
.footer-brand p { font-size: 10px; line-height: 1.9; color: var(--muted); margin-bottom: 14px; }
.footer-brand small { font-size: 9px; letter-spacing: .11em; color: var(--sage-deep); }
.footer-col { padding-top: 15px; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-col h3 { font: 700 9px/1 var(--font-body); letter-spacing: .2em; color: var(--sage-deep); margin: 0 0 14px; }
.footer-col a { font-size: 11px; color: #596257; transition: color .2s ease; }
.footer-col a:hover { color: var(--teal); }
.footer-col p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.9; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; border-top: 1px solid var(--line); color: #7A8275; font-size: 9px; line-height: 1.6; }
.nja-credit { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: #596357; font-weight: 500; transition: opacity .2s ease; }
.nja-credit:hover { opacity: .68; }
.nja-credit img { width: 27px; height: auto; object-fit: contain; }
.nja-credit strong { font-size: 9px; font-weight: 700; }
.floating-whatsapp { position: fixed; z-index: 185; right: max(22px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: var(--sage-deep); border: 2px solid rgba(255,255,255,.85); box-shadow: 0 8px 24px rgba(20,37,24,.20); transition: transform .24s ease, opacity .25s ease, visibility .25s; }
.floating-whatsapp svg { width: 24px; height: 24px; }
.floating-whatsapp.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.float-tooltip { position: absolute; right: calc(100% + 10px); padding: 10px 14px; border-radius: 30px; background: var(--sage-dark); color: #fff; white-space: nowrap; font-size: 10px; opacity: 0; transform: translateX(9px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .floating-whatsapp:hover { transform: translateY(-4px); } .floating-whatsapp:hover .float-tooltip { opacity: 1; transform: translateX(0); } }

/* Selected editorial motion. All content is visible with JS disabled. */
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .hero-copy .hero-eyebrow { animation: hero-rise .72s .04s both var(--ease-out); }
  .motion-ready .hero-copy h1 { animation: hero-rise .89s .13s both var(--ease-out); }
  .motion-ready .hero-copy .hero-lead, .motion-ready .hero-copy .hero-description { animation: hero-rise .83s .25s both var(--ease-out); }
  .motion-ready .hero-actions { animation: hero-rise .83s .32s both var(--ease-out); }
  .motion-ready .hero-photo-frame { animation: hero-photo 1.12s .06s both var(--ease-out); }
  .motion-ready .hero-orbit { animation: hero-outline 1.1s .22s both var(--ease-out); }
  @keyframes hero-rise { from { opacity: .001; transform: translateY(17px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes hero-photo { from { opacity: .35; clip-path: inset(0 0 18% 0 round 45% 45% 7px 7px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 45% 45% 7px 7px); } }
  @keyframes hero-outline { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: translateY(0); } }
  .js-reveal { opacity: 0; transform: translateY(25px); transition: opacity .85s ease, transform .85s var(--ease-out); }
  .js-reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* Actual fluid tablet layout, before content collides */
@media (max-width: 1230px) {
  :root { --gutter: clamp(25px,4vw,59px); }
  .header-inner { gap: 21px; }
  .desktop-nav { gap: 19px; }
  .brand-mark { width: 64px; }
  .brand-type strong { font-size: 24px; }
  .brand-type > span { font-size: 7.5px; }
  .header-cta { gap: 14px; padding-inline: 16px; }
  .hero h1 { font-size: clamp(62px,6.9vw,86px); }
  .hero-layout { gap: 30px; }
  .closing-grid { grid-template-columns: minmax(0,.95fr) auto; }
  .closing .eyebrow { grid-column: 1 / -1; }
}
@media (max-width: 1050px) {
  :root { --header-height: 86px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-trigger { display: flex; margin-left: auto; }
  .brand-mark { width: 72px; }
  .hero-layout { min-height: unset; gap: 28px; padding-top: 48px; }
  .hero h1 { font-size: clamp(61px,7vw,77px); }
  .hero-photo-frame { height: clamp(455px,53vw,610px); }
  .hero-visual { padding-right: 17px; }
  .service-item { grid-template-columns: 132px 86px minmax(0,1fr); gap: 25px; }
  .service-body h3 { font-size: clamp(42px,4.3vw,57px); }
  .about-grid { gap: 55px; }
  .location-grid { gap: 60px; }
  .contact-panel { padding: 40px 34px; }
}
@media (max-width: 820px) {
  :root { --gutter: 35px; --section-padding: 92px; }
  .hero-layout { grid-template-columns: 1fr; gap: 42px; padding-top: 64px; }
  .hero-copy { max-width: 700px; }
  .hero h1 { max-width: 700px; font-size: clamp(72px,10vw,93px); }
  .hero-description { max-width: 590px; }
  .hero-visual { justify-self: center; width: min(100% - 25px, 560px); }
  .hero-photo-frame { height: clamp(510px,86vw,620px); }
  .hero-register { margin-top: 39px; }
  .hero-bottom span:nth-child(2) { display: none; }
  .essence-grid { grid-template-columns: 1fr; gap: 24px; }
  .essence h2 { max-width: 660px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { max-width: 620px; }
  .service-item { grid-template-columns: minmax(90px,.2fr) minmax(70px,.16fr) minmax(0,1fr); gap: 22px; }
  .service-number { white-space: normal; line-height: 1.8; }
  .service-body h3 { font-size: clamp(41px,5.5vw,58px); }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { width: min(100%,520px); margin-inline: auto; }
  .about-copy { max-width: 660px; }
  .pillars-inner { grid-template-columns: 1fr; gap: 43px; }
  .pillars h2 { max-width: 680px; }
  .location-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-panel { min-height: 470px; }
  .faq-layout { grid-template-columns: 1fr; gap: 43px; }
  .faq-section h2 { max-width: 680px; }
  .closing-grid { grid-template-columns: 1fr; gap: 25px; }
  .closing .eyebrow { grid-column: auto; }
  .closing .button { justify-self: start; }
  .footer-main { grid-template-columns: 1.3fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --gutter: 24px; --header-height: 76px; --section-padding: 76px; }
  .brand { gap: 4px; }
  .brand-mark { width: 58px; height: 47px; }
  .brand-type strong { font-size: 22px; }
  .brand-type > span { font-size: 6.3px; letter-spacing: .085em; }
  .menu-trigger { width: 42px; height: 42px; }
  .hero-layout { gap: 46px; padding-top: 51px; padding-bottom: 49px; }
  .hero-eyebrow { margin-bottom: 25px; }
  .hero h1 { font-size: clamp(56px, 12.7vw, 78px); line-height: .92; margin-bottom: 27px; letter-spacing: -.055em; }
  .hero-lead { font-size: 15px; margin-bottom: 12px; }
  .hero-description { font-size: 11px; line-height: 1.9; }
  .hero-actions { gap: 13px 22px; }
  .hero-actions .button { min-height: 55px; }
  .hero-register { margin-top: 37px; }
  .hero-visual { width: min(calc(100% - 16px), 470px); padding: 13px 11px 18px 4px; }
  .hero-photo-frame { height: clamp(405px,113vw,580px); }
  .hero-orbit { left: -7px; right: 27px; top: 1px; }
  .hero-image-note { bottom: 36px; left: -12px; padding: 16px 15px; font-size: 8px; }
  .hero-sideword { display: none; }
  .hero-bottom { height: 50px; font-size: 7px; }
  .hero-bottom span:last-child { display: none; }
  .essence { padding-block: 76px 82px; }
  .essence h2 { font-size: clamp(44px,9.6vw,58px); }
  .essence-mark { right: -180px; opacity: .17; }
  .section-heading h2, .about h2, .location h2, .faq-section h2, .pillars h2 { font-size: clamp(48px, 10vw, 62px); }
  .section-heading { margin-bottom: 43px; }
  .service-item { grid-template-columns: 67px minmax(0,1fr); gap: 13px 16px; padding-block: 37px 42px; }
  .service-number { grid-column: 1 / -1; padding-top: 0; margin-bottom: 8px; }
  .service-icon { width: 58px; }
  .service-body h3 { font-size: clamp(39px,9vw,52px); }
  .service-body h3 br { display: none; }
  .service-body p { font-size: 11px; line-height: 1.9; }
  .service-link { font-size: 10px; }
  .signature-inner { padding-block: 96px; }
  .signature h2 { font-size: clamp(47px,10vw,62px); }
  .about-grid { gap: 62px; }
  .about-image-wrap { padding-right: 14px; padding-bottom: 13px; }
  .about-image-tag { left: -10px; bottom: 35px; font-size: 21px; padding: 16px; }
  .about-copy p { margin-top: 19px; font-size: 11px; }
  .pillars { padding-block: 75px; }
  .pillars-inner { gap: 34px; }
  .pillar { grid-template-columns: 48px minmax(0,1fr); gap: 10px; }
  .pillar-index { font-size: 27px; }
  .pillar h3 { font-size: 31px; }
  .location-copy { padding-block: 0; }
  .location-grid { gap: 39px; }
  .contact-panel { padding: 40px 25px; min-height: 448px; }
  .contact-panel h3 { font-size: clamp(43px,10vw,56px); }
  .contact-line { gap: 12px; }
  .contact-line__icon { width: 38px; height: 38px; flex-basis: 38px; }
  .contact-line strong { font-size: 12px; }
  .faq-item summary { font-size: 11px; }
  .closing { padding-block: 78px 86px; }
  .closing h2 { font-size: clamp(53px,11vw,68px); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 20px; padding-block: 58px 60px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 2; }
  .footer-col { padding-top: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 16px; padding-block: 23px; }
  .floating-whatsapp { width: 51px; height: 51px; right: max(15px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (max-width: 390px) {
  :root { --gutter: 20px; }
  .hero h1 { font-size: clamp(50px, 12.4vw, 60px); }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-actions .button { width: 100%; }
  .hero-image-note { font-size: 7px; padding: 13px; }
  .service-item { grid-template-columns: 1fr; }
  .service-icon { margin-bottom: 4px; }
  .service-body h3 { font-size: clamp(40px, 11.3vw, 47px); }
  .contact-panel { padding-inline: 19px; }
  .contact-panel h3 { font-size: 46px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
}
@media (max-width: 335px) {
  :root { --gutter: 17px; }
  .brand-mark { width: 51px; }
  .brand-type strong { font-size: 20px; }
  .brand-type > span { font-size: 5.8px; }
  .hero h1 { font-size: 48px; }
  .hero-visual { width: min(100%, 440px); }
  .hero-photo-frame { height: 405px; }
  .contact-line strong { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js-reveal { opacity: 1 !important; transform: none !important; }
  .mobile-nav { transition: none; }
}
