/* Cartão digital com a mesma identidade clara do site Casa própria. */
body[data-card-theme="first_home"]{--card-blue:#155da0;--card-navy:#173858;--card-yellow:#f5bd3e;--card-pale:#edf6fc;--card-muted:#526578;--card-line:#d9e5ed;background:var(--card-pale);color:var(--card-navy)}
body[data-card-theme="first_home"] .background{background:linear-gradient(180deg,#fff 0%,#f4fafe 42%,#e8f3fa 100%);filter:none}
body[data-card-theme="first_home"] .background:after{background:radial-gradient(circle at 80% 15%,rgba(95,169,205,.16),transparent 32%)}
body[data-card-theme="first_home"] .page-shell{width:min(100%,820px);padding:28px 24px 80px}
body[data-card-theme="first_home"] .topbar{margin-bottom:23px}
body[data-card-theme="first_home"] .topbar>a{width:230px;height:64px}
body[data-card-theme="first_home"] .topbar img{object-position:left center}
body[data-card-theme="first_home"] .share-button{min-height:44px;border:1px solid var(--card-line);border-radius:999px;background:#fff;color:var(--card-blue);font-size:12px;box-shadow:0 5px 18px rgba(23,56,88,.06)}
body[data-card-theme="first_home"] .share-button:hover{background:var(--card-pale)}
body[data-card-theme="first_home"] .profile-card{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);height:auto;min-height:420px;overflow:hidden;border:1px solid var(--card-line);border-radius:26px;background:#fff;box-shadow:0 22px 55px rgba(23,56,88,.12)}
body[data-card-theme="first_home"] .profile-photo{width:100%;height:100%;min-height:420px;object-fit:cover;object-position:center 23%}
body[data-card-theme="first_home"] .profile-overlay{display:none}
body[data-card-theme="first_home"] .profile-copy{position:relative;inset:auto;display:flex;flex-direction:column;justify-content:center;min-width:0;padding:38px 38px 42px;text-align:left}
body[data-card-theme="first_home"] .profile-copy>p:first-of-type{color:var(--card-blue);font-size:11px;letter-spacing:.14em}
body[data-card-theme="first_home"] .profile-copy h1{margin:14px 0 11px;color:var(--card-navy);font-size:clamp(36px,5vw,54px);line-height:1.03;overflow-wrap:anywhere}
body[data-card-theme="first_home"] .location{display:block;color:var(--card-muted);font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
body[data-card-theme="first_home"] .location:before,body[data-card-theme="first_home"] .location:after{display:none}
body[data-card-theme="first_home"] .profile-credentials{margin:16px 0 0;color:var(--card-blue);font-size:11px;line-height:1.5;letter-spacing:.05em}
body[data-card-theme="first_home"] .profile-description{max-width:35ch;margin:17px 0 0;color:var(--card-muted);font-size:14px;line-height:1.6}
body[data-card-theme="first_home"] .quick-contact{margin:15px 0 13px}
body[data-card-theme="first_home"] .quick-contact a{border-radius:16px}
body[data-card-theme="first_home"] .quick-catalog{background:var(--card-yellow);color:var(--card-navy)}
body[data-card-theme="first_home"] .featured-card{height:188px;margin:0 0 14px;border:0;border-radius:20px;color:#fff;box-shadow:0 14px 30px rgba(23,56,88,.09)}
body[data-card-theme="first_home"] .featured-copy small{color:#ffcf68}
body[data-card-theme="first_home"] .featured-copy strong{color:#fff}
body[data-card-theme="first_home"] .featured-copy em{color:#e6eef4}
body[data-card-theme="first_home"] .actions{margin:0;gap:10px}
body[data-card-theme="first_home"] .action{min-height:78px;border:1px solid var(--card-line);border-radius:16px;background:#fff;color:var(--card-navy);backdrop-filter:none;box-shadow:0 7px 18px rgba(23,56,88,.04)}
body[data-card-theme="first_home"] .action:hover{border-color:#9bc6e2;background:#f8fcff}
body[data-card-theme="first_home"] .action .icon{border-color:#d5e9f5;background:#edf6fc;color:var(--card-blue)}
body[data-card-theme="first_home"] .action small{color:var(--card-muted);white-space:normal;overflow:visible;text-overflow:clip;line-height:1.4}
body[data-card-theme="first_home"] .action>b{color:var(--card-blue)}
body[data-card-theme="first_home"] .save-contact{border-color:#bad9ec}
body[data-card-theme="first_home"] .footer{margin-top:22px;padding:35px 25px 38px;border-top:4px solid var(--card-yellow);border-radius:20px;background:#102f4d;color:#dceaf3}
body[data-card-theme="first_home"] .footer p{color:#ffcf68}
body[data-card-theme="first_home"] .footer a{color:#fff}
body[data-card-theme="first_home"] .footer small{color:#c6d9e6}
body[data-card-theme="first_home"] .toast{border-radius:12px;background:var(--card-navy);color:#fff}
body[data-card-theme="first_home"] :focus-visible{outline:3px solid var(--card-yellow);outline-offset:3px}
@media(max-width:600px){
  body[data-card-theme="first_home"] .page-shell{padding:18px 14px 55px}
  body[data-card-theme="first_home"] .topbar{padding:0 4px;margin-bottom:16px}
  body[data-card-theme="first_home"] .topbar>a{width:min(58vw,205px);height:56px}
  body[data-card-theme="first_home"] .profile-card{display:block;height:auto;min-height:0;border-radius:20px}
  body[data-card-theme="first_home"] .profile-photo{height:clamp(270px,82vw,390px);min-height:0;object-position:center 22%}
  body[data-card-theme="first_home"] .profile-copy{padding:26px 24px 28px}
  body[data-card-theme="first_home"] .profile-copy h1{font-size:clamp(34px,9vw,44px)}
  body[data-card-theme="first_home"] .quick-contact{margin:12px 0}
  body[data-card-theme="first_home"] .featured-card,body[data-card-theme="first_home"] .actions{margin-left:0;margin-right:0}
  body[data-card-theme="first_home"] .featured-card{height:160px}
}
@media(max-width:370px){body[data-card-theme="first_home"] .profile-card{height:auto}body[data-card-theme="first_home"] .quick-contact{grid-template-columns:1fr}}
