/*
Theme Name: Ortiz Flores
Theme URI: https://ortizyuri.adv.br/
Author: Yuri Ortiz Flores
Description: Tema institucional da Ortiz Flores Advocacia Imobiliária.
Version: 1.0.0
Text Domain: ortiz-flores
*/

:root {
  --navy: #112C4F;
  --navy-deep: #081a31;
  --ice: #DAE3EB;
  --white: #ffffff;
  --ink: #16202b;
  --muted: #53606d;
  --line: #dce4ea;
  --warm: #9b7656;
  --shadow: 0 18px 50px rgba(8, 26, 49, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Montserrat, Arial, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-shell { overflow: hidden; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(17,44,79,.08); }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: block; width: 345px; }
.brand img { display: block; width: 100%; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 25px; padding: 0; margin: 0; font-size: 1.08rem; font-weight: 700; color: var(--navy); }
.primary-nav a { padding: 8px 0; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: #6e4f39; }
.menu-toggle { display: none; border: 1px solid var(--navy); color: var(--navy); background: none; border-radius: 4px; padding: 8px 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 3px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font-size: .84rem; font-weight: 700; letter-spacing: .02em; transition: .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--navy-deep); }
.button--outline { background: transparent; color: var(--navy); }
.button--outline:hover { background: var(--ice); }
.button--light { background: #fff; color: var(--navy); border-color: #fff; }
.eyebrow { margin: 0 0 16px; color: #d6e0eb; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero { position: relative; min-height: 590px; display: grid; align-items: center; color: #fff; background: #07172c url('assets/images/cidade-imobiliaria.jpg') center center / cover no-repeat; }
.hero:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,15,30,.94) 0%, rgba(7,23,44,.84) 43%, rgba(8,29,54,.56) 70%, rgba(7,23,44,.30) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 740px; padding: 112px 0; }
.hero h1 { max-width: 720px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.6rem, 5vw, 4.25rem); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; }
.hero-lead { max-width: 640px; margin: 27px 0 32px; font-size: clamp(1.05rem, 2vw, 1.28rem); color: #e5edf4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-meta { margin: 28px 0 0; color: #d9e4ef; font-size: .86rem; }
.hero .button--outline { border-color: #fff; color: #fff; background: rgba(7,23,43,.28); }
.hero .button--outline:hover { background: #fff; color: var(--navy); }
.wptwa-toggle { position: fixed !important; bottom: 26px !important; right: 26px !important; }
.wptwa-round-toggle-on-desktop .wptwa-toggle { width: 120px !important; height: 120px !important; }
.wptwa-round-toggle-on-desktop .wptwa-toggle svg { width: 60px !important; height: 60px !important; }
.wptwa-round-toggle-on-desktop .wptwa-box { position: fixed !important; bottom: 160px !important; }
@media (max-width: 620px) { .wptwa-toggle { bottom: 18px !important; right: 18px !important; } .wptwa-round-toggle-on-mobile .wptwa-toggle { width: 92px !important; height: 92px !important; } .wptwa-round-toggle-on-mobile .wptwa-toggle svg { width: 46px !important; height: 46px !important; } .wptwa-round-toggle-on-mobile .wptwa-box { position: fixed !important; bottom: 126px !important; } }
.section { padding: 92px 0; }
.section--ice { background: #f4f7f9; }
.section--navy { color: #fff; background: var(--navy); }
.section-heading { max-width: 740px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.12; font-weight: 400; }
.section-heading p { margin: 17px 0 0; color: var(--muted); font-size: 1.07rem; }
.problem-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.problem-list li { min-height: 105px; display: flex; align-items: center; padding: 24px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; }
.problem-list li:before { content: '—'; margin-right: 12px; color: var(--warm); font-weight: 700; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.service-card { min-height: 265px; display: flex; flex-direction: column; padding: 30px; border: 1px solid #e0e7ec; background: #fff; box-shadow: 0 5px 20px rgba(17,44,79,.05); transition: .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #b8cad9; box-shadow: var(--shadow); }
.service-card h2, .service-card h3 { margin: 0 0 12px; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 1.48rem; font-weight: 400; line-height: 1.2; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.service-card a { display: inline-block; margin-top: auto; padding-top: 25px; color: var(--navy); font-size: .82rem; font-weight: 700; }
.service-card a:after { content: ' →'; }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; counter-reset: method; }
.method-item { counter-increment: method; padding-top: 20px; border-top: 1px solid rgba(218,227,235,.45); }
.method-item:before { content: '0' counter(method); display: block; margin-bottom: 20px; color: #bdd0e1; font-family: Georgia, serif; font-size: 2rem; }
.method-item h3 { margin: 0 0 9px; font-size: 1rem; }
.method-item p { margin: 0; color: #dae3eb; font-size: .9rem; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.statement { padding: 44px; border-left: 4px solid var(--warm); background: #fff; box-shadow: var(--shadow); }
.statement p { margin: 0; font-family: Georgia, serif; font-size: 1.4rem; line-height: 1.45; color: var(--navy); }
.statement p + p { margin-top: 22px; font-family: Montserrat, Arial, sans-serif; font-size: .96rem; color: var(--muted); }
.profile-section { padding: 0 0 92px; }
.profile-grid { display: grid; grid-template-columns: minmax(290px, .85fr) minmax(0, 1fr); gap: 76px; align-items: center; }
.profile-photo-wrap { position: relative; max-width: 440px; }
.profile-photo-wrap:before { content: ''; position: absolute; width: 78%; height: 88%; right: -25px; bottom: -23px; border: 1px solid #b7c8d7; transform: rotate(-5deg); transform-origin: center; z-index: -1; }
.profile-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 62%; box-shadow: var(--shadow); }
.profile-copy h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 400; line-height: 1.12; }
.profile-copy p { margin: 18px 0 0; color: var(--muted); }
.profile-copy .button { margin-top: 26px; }
.cta { padding: 88px 0; color: #fff; background: linear-gradient(120deg, #091b31, #173c61); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta h2 { max-width: 680px; margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 400; line-height: 1.1; }
.site-footer { padding: 60px 0 28px; color: #d8e1e8; background: #07172b; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .9fr; gap: 50px; }
.footer-brand { width: 250px; filter: brightness(0) invert(1); opacity: .93; }
.footer-title { margin: 0 0 14px; color: #fff; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.social-links { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.social-links a { display: inline-flex; align-items: center; gap: 9px; font-size: 1.08rem; font-weight: 700; }
.social-links a:hover { color: #fff; }
.social-icon { width: 20px; height: 20px; fill: currentColor; }
.site-footer p, .site-footer li { color: #bccad5; font-size: 1.08rem; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li + li { margin-top: 7px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(218,227,235,.17); color: #91a4b4; font-size: .94rem; }
.page-content { padding: 90px 0; }
.page-content h1, .page-content h2, .page-content h3 { color: var(--navy); font-family: Georgia, serif; font-weight: 400; }
.page-content h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.1; }
.page-content .entry-content { max-width: 820px; }
.office-hero { padding: 118px 0 98px; color: #fff; background: linear-gradient(118deg, #081a31, #173d61); }
.office-hero .office-eyebrow { color: #d9e4ef; }
.office-hero h1 { max-width: 700px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 5vw, 4.8rem); font-weight: 400; line-height: 1.06; }
.office-hero p:not(.office-eyebrow) { max-width: 650px; margin: 24px 0 0; color: #dce7f0; font-size: 1.16rem; }
.office-vision-grid, .office-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); gap: 82px; align-items: center; }
.section-kicker { margin: 0 0 14px; color: #6e4f39; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.office-vision-copy h1, .office-vision-copy h2, .office-profile-copy h2 { max-width: 610px; margin: 0; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.1rem, 4vw, 3.55rem); font-weight: 400; line-height: 1.1; }
.office-vision-copy p:not(.section-kicker), .office-profile-copy p:not(.section-kicker) { max-width: 615px; margin: 20px 0 0; color: var(--muted); }
.office-vision-photo { position: relative; margin: 0; }
.office-vision-photo:before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid #b7c8d7; z-index: 0; }
.office-vision-photo img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 52% center; box-shadow: var(--shadow); }
.office-profile-grid { grid-template-columns: minmax(290px, .72fr) minmax(0, 1fr); }
.office-profile-photo-wrap { position: relative; max-width: 420px; }
.office-profile-photo-wrap:before { content: ''; position: absolute; width: 78%; height: 88%; right: -25px; bottom: -23px; border: 1px solid #b7c8d7; transform: rotate(-5deg); transform-origin: center; z-index: 0; }
.office-profile-photo { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 62%; box-shadow: var(--shadow); }
.office-oab { margin: 12px 0 0; color: #6e4f39; font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.office-divider { max-width: 615px; margin: 28px 0; border: 0; border-top: 1px solid #cdd9e2; }
.office-curriculum-title { margin: 0; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; font-weight: 400; }
.office-curriculum { max-width: 615px; margin: 16px 0 0; padding-left: 20px; color: var(--muted); }
.office-curriculum li + li { margin-top: 8px; }
@media (max-width: 900px) { .primary-nav { display: none; } .menu-toggle { display: block; } .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .method-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .split, .profile-grid, .office-vision-grid, .office-profile-grid { grid-template-columns: 1fr; gap: 35px; } .office-vision-photo { max-width: 520px; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .container { width: min(100% - 30px, 1160px); } .header-inner { min-height: 84px; } .brand { width: 210px; } .hero { min-height: auto; } .hero-content { padding: 90px 0; } .hero h1 { font-size: 2.75rem; } .section { padding: 66px 0; } .problem-list, .service-grid, .method-grid, .footer-grid { grid-template-columns: 1fr; } .problem-list li { min-height: auto; } .cta-inner, .footer-bottom { display: block; } .cta .button { margin-top: 24px; } .footer-bottom span { display: block; margin-top: 8px; } }
