:root {
  --navy: #182736;
  --navy-deep: #101c28;
  --ink: #17202a;
  --cream: #e8e5d2;
  --cream-soft: #f6f4eb;
  --silver: #a8aaae;
  --line: rgba(24, 39, 54, .16);
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--cream-soft); font-family: Inter, Arial, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { margin: 0 0 16px; color: #7b6f48; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1,h2,h3 { margin-top: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.12; }
h1 { max-width: 850px; font-size: clamp(3rem, 7vw, 6.7rem); letter-spacing: -.045em; }
h1 em { color: var(--cream); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4vw, 4.2rem); letter-spacing: -.035em; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.2rem; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.16); transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
.nav { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: min-height .25s ease; }
.brand img { width: 210px; height: auto; transition: width .25s ease; }
.site-header.is-scrolled { background: rgba(11,20,29,.96); box-shadow: 0 10px 28px rgba(4,10,16,.18); backdrop-filter: blur(10px); }
.site-header.is-scrolled .nav { min-height: 72px; }
.site-header.is-scrolled .brand img { width: 158px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: rgba(255,255,255,.85); font-size: .84rem; letter-spacing: .04em; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--cream); }
.nav-links .nav-cta { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--cream); border-radius: 999px; background: var(--cream); color: var(--navy-deep); letter-spacing: .03em; }
.nav-links .nav-cta:hover, .nav-links .nav-cta:focus-visible { color: var(--navy-deep); transform: translateY(-1px); }
.menu-button { display: none; color: white; background: none; border: 1px solid rgba(255,255,255,.35); padding: 10px 12px; font: inherit; }
.hero { min-height: 820px; color: white; display: grid; align-items: end; position: relative; background: var(--navy-deep) url('assets/escritorio-3d.webp') center/cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,30,.95) 0%, rgba(10,20,30,.9) 50%, rgba(10,20,30,.7) 68%, rgba(10,20,30,.38) 100%); }
.hero-content { position: relative; padding: 220px 0 105px; }
.hero p { max-width: 650px; color: rgba(255,255,255,.78); font-size: 1.15rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--cream); background: var(--cream); color: var(--navy); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: .2s ease; }
.button:hover { background: transparent; color: white; }
.button.ghost { background: transparent; color: white; border-color: rgba(255,255,255,.42); border-radius: 999px; }
.button.ghost:hover { border-color: var(--cream); color: var(--cream); }
.glow-button { position: relative; isolation: isolate; border-radius: 999px; box-shadow: 0 0 0 1px rgba(230,235,242,.38), 0 0 16px rgba(198,207,219,.28), 0 0 30px rgba(235,240,247,.18); }
.glow-button::after { content: ''; position: absolute; inset: -7px; z-index: -1; border-radius: inherit; background: radial-gradient(circle, rgba(224,231,240,.38), rgba(188,199,213,.16) 45%, transparent 70%); opacity: .65; animation: soft-glow 3.8s ease-in-out infinite; pointer-events: none; }
@keyframes soft-glow { 0%,100% { opacity: .42; transform: scale(.98); } 50% { opacity: .85; transform: scale(1.03); } }
.trust-strip { color: white; background: #0d1822; border-top: 1px solid rgba(232,229,210,.16); border-bottom: 1px solid rgba(232,229,210,.16); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 150px; display: flex; align-items: center; padding: 32px 34px; border-left: 1px solid rgba(232,229,210,.14); }
.trust-item:first-child { border-left: 0; }
.trust-item > div { width: 100%; }
.trust-item h2 { margin: 0 0 6px; font-family: Inter, Arial, sans-serif; font-size: .94rem; font-weight: 600; letter-spacing: .02em; }
.trust-item p { margin: 0; color: rgba(255,255,255,.56); font-size: .83rem; line-height: 1.5; }
.section { padding: 110px 0; }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 60px; align-items: start; margin-bottom: 58px; }
.section-head p { color: #53606b; max-width: 660px; }
.section-intro { min-width: 0; }
.section-visual { width: 100%; height: 230px; margin-bottom: 24px; object-fit: cover; object-position: center; }
.expertise { background: white; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service { padding: 34px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.service:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.service h3 { margin-bottom: 22px; }
.service p { color: #5b6670; max-width: 480px; }
.approach { color: white; background: var(--navy); }
.approach-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: center; }
.approach h2 { max-width: 650px; }
.principles { border-top: 1px solid rgba(255,255,255,.18); }
.principle { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.principle span { color: var(--cream); }
.principle p { margin: 0; color: rgba(255,255,255,.74); }
.principle h3 { margin: 0 0 6px; color: var(--cream); font-size: 1.25rem; }
.team-list { display: grid; gap: 38px; }
.profile { display: grid; grid-template-columns: minmax(220px, 32%) 1fr; min-height: 330px; background: white; border-left: 3px solid #9b8c5f; }
.profile-photo { min-height: 330px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #e2ded0, #f1efe6); border-right: 1px solid var(--line); color: #817753; }
.profile-photo span { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.profile-content { align-self: center; padding: 46px 52px; }
.profile .role { color: #7b6f48; font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.profile h3 { margin-bottom: 22px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.profile p { color: #55616b; }
.articles-preview { background: #e9e6d7; }
.article-card { display: grid; grid-template-columns: 180px 1fr auto; gap: 30px; align-items: center; padding: 30px 0; border-top: 1px solid rgba(24,39,54,.2); }
.article-card:last-child { border-bottom: 1px solid rgba(24,39,54,.2); }
.article-card time { color: #6c747b; font-size: .85rem; }
.article-label { color: #6c747b; font-size: .85rem; }
.article-card h3 { margin: 0; }
.article-card .arrow { font-size: 1.5rem; }
.faq { background: white; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.faq-grid > div:first-child > p:last-child { color: #53606b; max-width: 500px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 48px 24px 0; cursor: pointer; list-style: none; font-family: Georgia, 'Times New Roman', serif; font-size: 1.3rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 20px; color: #9b7b37; font-family: Inter, Arial, sans-serif; font-size: 1.5rem; font-weight: 300; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 700px; padding: 0 48px 22px 0; color: #53606b; }
.contact { color: white; background: var(--navy-deep); }
.contact-heading { max-width: 760px; margin-bottom: 44px; }
.contact-heading p:last-child { color: rgba(255,255,255,.66); }
.location-card { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 470px; overflow: hidden; border: 1px solid rgba(207,175,106,.42); border-radius: 26px; background: #142330; box-shadow: 0 26px 70px rgba(0,0,0,.22); }
.location-info { padding: 52px; display: flex; flex-direction: column; align-items: flex-start; }
.location-info address { color: rgba(255,255,255,.76); font-style: normal; line-height: 1.8; }
.contact-detail { display: flex; align-items: center; gap: 11px; margin-bottom: 8px; color: rgba(255,255,255,.78); }
.contact-address { align-items: flex-start; margin-bottom: 22px; }
.detail-icon { width: 18px; height: 18px; display: inline-flex; flex: 0 0 18px; margin-top: 2px; color: rgba(232,229,210,.88); }
.detail-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.detail-icon .detail-dot { fill: currentColor; stroke: none; }
.location-info > a { color: rgba(255,255,255,.78); }
.location-info > a:hover, .location-info > a:focus-visible { color: var(--cream); }
.service-note { margin-top: 20px; color: rgba(255,255,255,.58); }
.contact-actions { margin-top: auto; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.contact-actions .button { gap: 10px; }
.contact-actions .button img { width: 22px; height: 22px; }
.map-link { color: var(--cream); border-bottom: 1px solid rgba(232,229,210,.45); }
.map-frame { min-height: 470px; background: #e7e3d6; }
.map-frame iframe { width: 100%; height: 100%; min-height: 470px; border: 0; filter: saturate(.72) contrast(.96); }
.contact-list { border-top: 1px solid rgba(255,255,255,.17); }
.contact-item { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.17); display: flex; justify-content: space-between; gap: 20px; }
.contact-item span:last-child { color: rgba(255,255,255,.6); text-align: right; }
.contact-item a { color: rgba(255,255,255,.72); text-align: right; }
.contact-item a:hover, .contact-item a:focus-visible { color: var(--cream); }
.contact-icon { width: 27px; height: 27px; display: inline-flex; flex: 0 0 27px; color: var(--cream); }
.contact-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-icon .icon-fill { fill: currentColor; stroke: none; }
.contact-icon img { width: 100%; height: 100%; object-fit: contain; }
.footer { padding: 72px 0 28px; background: #080f16; color: rgba(255,255,255,.55); font-size: .86rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .65fr 1fr 1.45fr; gap: 40px; padding-bottom: 54px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand img { width: 190px; margin-bottom: 24px; }
.footer-brand p { max-width: 300px; }
.footer h2 { margin-bottom: 22px; color: #cfaf6a; font-family: Inter, Arial, sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer a { margin-bottom: 10px; color: rgba(255,255,255,.68); }
.footer a:hover, .footer a:focus-visible { color: var(--cream); }
.footer-grid p { line-height: 1.7; }
.footer-contact .contact-detail { width: 100%; align-items: flex-start; margin-bottom: 12px; line-height: 1.55; }
.footer-contact a.contact-detail { overflow-wrap: anywhere; }
.footer-contact .detail-icon { width: 16px; height: 16px; flex-basis: 16px; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer .footer-legal a { margin: 0; }
.cookie-prefs { padding: 0; border: 0; background: none; color: rgba(255,255,255,.68); font: inherit; cursor: pointer; }
.cookie-prefs:hover, .cookie-prefs:focus-visible { color: var(--cream); }
.article-body a, .article-body .cookie-prefs-inline { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 50; max-width: 760px; margin: 0 auto; padding: 22px 26px; display: flex; align-items: center; gap: 24px; color: rgba(255,255,255,.82); background: #0b141d; border: 1px solid rgba(232,229,210,.22); border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.35); font-size: .9rem; line-height: 1.55; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions button { min-height: 44px; padding: 0 20px; border: 1px solid var(--cream); border-radius: 999px; background: transparent; color: var(--cream); font: inherit; font-weight: 600; cursor: pointer; }
.cookie-actions button:hover, .cookie-actions button:focus-visible { background: var(--cream); color: var(--navy-deep); }
.map-frame { position: relative; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; color: var(--navy); text-align: center; }
.map-consent p { max-width: 340px; margin: 0; }
.map-consent .button:hover { color: var(--navy); }
.consent-aceito .map-consent { display: none; }
.page-hero { padding: 190px 0 90px; color: white; background: var(--navy-deep); }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
.page-hero p { max-width: 650px; color: rgba(255,255,255,.72); }
.articles-hub { background: var(--cream-soft); }
.articles-layout { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: 90px; align-items: start; }
.article-topics { position: sticky; top: 36px; padding-top: 8px; }
.article-topics ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.article-topics li { padding: 17px 0; border-bottom: 1px solid var(--line); color: #495661; }
.articles-listing-head { max-width: 760px; margin-bottom: 46px; }
.articles-listing-head h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.articles-listing-head > p:last-child { color: #53606b; max-width: 680px; }
.empty-state { padding: 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.58); }
.empty-state h3 { margin-bottom: 12px; font-size: 1.8rem; }
.empty-state p:last-child { margin-bottom: 0; color: #5b6670; }
.articles-list .article-card { grid-template-columns: 150px 1fr auto; }
.article-card p { margin: 8px 0 0; color: #5b6670; }
.article-container { width: min(780px, calc(100% - 40px)); }
.article-hero { padding: 170px 0 70px; }
.article-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.article-back { display: inline-block; margin-bottom: 28px; color: rgba(255,255,255,.7); font-size: .88rem; }
.article-back:hover, .article-back:focus-visible { color: var(--cream); }
.article-hero .article-meta { margin: 0; color: rgba(255,255,255,.66); font-size: .92rem; }
.article-meta a { color: var(--cream); border-bottom: 1px solid rgba(232,229,210,.4); }
.article-section { padding-top: 70px; background: var(--cream-soft); }
.article-body > p, .article-body > ul { text-align: justify; hyphens: auto; }
.article-body > p { color: #2a3540; font-size: 1.12rem; line-height: 1.8; }
.article-author { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; margin-top: 56px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.article-author .role { margin: 0 0 6px; color: #7b6f48; font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.article-author h2 { margin: 0 0 8px; font-size: 1.5rem; letter-spacing: 0; }
.article-author p:last-child { margin: 0; color: #55616b; font-size: .95rem; }
.article-cta { margin-top: 48px; padding: 40px; color: white; background: var(--navy); }
.article-cta .eyebrow { color: #cfaf6a; }
.article-cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.02em; }
.article-cta p { color: rgba(255,255,255,.74); }
.article-body > h2 { margin: 3rem 0 1rem; color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.02em; }
.article-body > ul { margin: 0 0 1.4rem; padding-left: 1.3rem; color: #2a3540; font-size: 1.12rem; line-height: 1.8; }
.article-body > ul li { margin-bottom: .5rem; padding-left: .3rem; }
.article-body > ul li::marker { color: #9b8c5f; }
.article-body strong { color: var(--navy); font-weight: 600; }
.article-body .article-disclaimer { margin-top: 28px; color: #6c747b; font-size: .85rem; }
@media (max-width: 820px) {
  .nav { min-height: 84px; }
  .brand img { width: 165px; }
  .site-header.is-scrolled .nav { min-height: 68px; }
  .site-header.is-scrolled .brand img { width: 138px; }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 24px 20px; background: var(--navy-deep); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .hero { min-height: 730px; }
  .hero::before { background: linear-gradient(180deg, rgba(10,20,30,.8) 0%, rgba(10,20,30,.9) 100%); }
  .hero-content { padding: 180px 0 74px; }
  .section { padding: 78px 0; }
  .section-head, .approach-grid, .contact-grid, .articles-layout, .faq-grid, .location-card { grid-template-columns: 1fr; gap: 36px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 28px; }
  .trust-item:nth-child(odd) { border-left: 0; }
  .profile { grid-template-columns: 1fr; }
  .profile-photo { min-height: 360px; border-right: 0; border-bottom: 1px solid var(--line); }
  .profile-content { padding: 34px 28px; }
  .article-topics { position: static; }
  .service-grid { grid-template-columns: 1fr; }
  .service, .service:first-child { padding: 28px 0; border-left: 0; }
  .article-card { grid-template-columns: 1fr auto; }
  .article-card time { grid-column: 1 / -1; }
  .articles-list .article-card { grid-template-columns: 1fr auto; }
  .article-hero { padding: 140px 0 56px; }
  .article-author { grid-template-columns: 72px 1fr; gap: 18px; }
  .article-author img { width: 72px; height: 72px; }
  .article-cta { padding: 30px 24px; }
  .location-info { padding: 36px 28px; }
  .location-card { gap: 0; }
  .map-frame, .map-frame iframe { min-height: 350px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .cookie-actions button { flex: 1; }
}
@media (max-width: 540px) {
  .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(odd) { min-height: auto; padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(232,229,210,.12); }
  .location-card { border-radius: 18px; }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  .article-body > p, .article-body > ul { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
