/* Home: mesma identidade, com espaço equivalente para locação e seguros. */
.fiancap-home {
  background: #fff;
  --home-gold: #d8b778;
}

.fiancap-home main [id] { scroll-margin-top: 114px; }
.fiancap-home main img { height: auto; }
.home-eyebrow { margin: 0 0 15px; font-size: 0.73rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-primary); }
.fiancap-home main svg { width: 20px; height: 20px; flex: 0 0 auto; }
.fiancap-home main .button { gap: 12px; min-height: 48px; font-size: 0.84rem; }
.home-opening { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: #fff; }
.home-opening__panel { position: relative; display: flex; min-width: 0; min-height: 320px; isolation: isolate; overflow: hidden; background: #06152a; color: #fff; }
.home-opening__panel > .home-opening__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.home-opening__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 13, 26, 0.91), rgba(3, 13, 26, 0.68) 45%, rgba(3, 13, 26, 0.05)), linear-gradient(0deg, rgba(3, 13, 26, 0.4), transparent 70%); }
.home-opening__panel--insurance::before { background: linear-gradient(90deg, rgba(4, 24, 48, 0.95), rgba(4, 24, 48, 0.66) 48%, rgba(4, 24, 48, 0.12)); }
/* O alinhamento usa a largura do bloco, sem somar a margem da tela ao padding. */
.home-opening__copy { width: 100%; max-width: 640px; min-width: 0; margin-left: auto; padding: 28px clamp(22px, 3vw, 44px); align-self: center; }
.home-opening__panel--insurance .home-opening__copy { margin-right: auto; margin-left: 0; }
.home-opening .home-eyebrow { margin-bottom: 12px; color: #e7cc96; font-size: 0.67rem; }
.home-opening h1,
.home-opening h2 { max-width: 550px; margin: 0; color: #fff; font-size: clamp(1.75rem, 2.2vw, 2.25rem); line-height: 1.12; letter-spacing: -0.04em; font-weight: 700; }
.home-opening__copy > p:not(.home-eyebrow) { max-width: 410px; margin: 14px 0 0; color: rgba(255,255,255,.87); font-size: 0.85rem; line-height: 1.6; }
.home-opening__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.fiancap-home .home-opening .button { min-height: 44px; padding: 11px 16px; font-size: .78rem; gap: 9px; }
.home-button--gold { background: var(--home-gold); color: #242017; box-shadow: none; }
.home-button--white { background: #fff; color: #102d50; box-shadow: none; }
.home-opening__text-link { border-bottom: 1px solid rgba(255,255,255,.45); padding-block: 5px; color: #fff; font-size: 0.75rem; }
.home-opening a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.home-guarantees { padding: 74px 0 62px; background: #fff; }
.home-section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 70px; margin-bottom: 34px; }
.home-section-heading h2 { margin: 0; font-size: clamp(1.85rem, 3vw, 2.7rem); line-height: 1.12; letter-spacing: -0.035em; }
.home-section-heading > p { max-width: 460px; margin: 0 0 3px; font-size: .95rem; line-height: 1.75; color: #58667b; }
.home-guarantees__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.home-guarantee { overflow: hidden; border: 1px solid #e1e7ee; border-radius: 12px; background: #fff; box-shadow: 0 8px 26px rgba(16, 42, 76, .06); }
.home-guarantee__photo { position: relative; display: block; height: 202px; overflow: hidden; background: #0b1c31; }
.home-guarantee__photo img { width: 100%; height: 100% !important; object-fit: cover; object-position: 65% center; transition: transform .4s ease; }
.home-guarantee__photo:hover img { transform: scale(1.035); }
.home-guarantee__photo::after { position: absolute; inset: 50% 0 0; content: ""; background: linear-gradient(transparent, rgba(0, 12, 28, .85)); }
.home-guarantee__photo span { position: absolute; right: 26px; bottom: 20px; left: 26px; z-index: 1; font-size: 1.18rem; font-weight: 700; color: #fff; }
.home-guarantee__body { padding: 25px 28px 26px; }
.home-guarantee__body h3 { margin: 0; font-size: 1.13rem; letter-spacing: -.025em; }
.home-guarantee__body > p { min-height: 65px; margin: 12px 0 16px; color: #58667b; font-size: .85rem; line-height: 1.7; }
.home-guarantee__companies { display: flex; align-items: center; gap: 28px; min-height: 62px; margin: 0 0 19px; border-block: 1px solid #e8edf3; padding: 13px 0; }
.home-guarantee__companies img { width: auto; height: 30px !important; max-width: 105px; object-fit: contain; }
.home-product-link { display: inline-flex; align-items: center; gap: 10px; color: var(--color-primary); font-size: .83rem; font-weight: 700; }
.home-product-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-guarantees__help { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 27px; }
.home-guarantees__help p { margin: 0 auto 0 0; font-size: .92rem; font-weight: 600; }
.home-guarantees__help a { display: inline-flex; align-items: center; gap: 9px; font-size: .79rem; color: var(--color-primary); font-weight: 600; }
.home-product-note { margin: 20px 0 0; color: #6a7481; font-size: .69rem; line-height: 1.6; }
.home-policies { padding: 70px 0; background: #f1f5fa; border-top: 1px solid #e6ecf3; }
.home-policies__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.home-policy { display: grid; grid-template-columns: 46% 54%; align-items: center; min-height: 210px; overflow: hidden; border-radius: 10px; background: #fff; border: 1px solid #e3eaf2; transition: box-shadow .2s, border-color .2s; }
.home-policy:hover, .home-policy:focus-visible { border-color: #9eb7d6; box-shadow: 0 9px 24px rgba(20,57,97,.09); }
.home-policy__art { display: grid; min-width: 0; height: 184px; place-items: center; padding: 10px 0 10px 8px; }
.home-policy__art img { width: 100%; max-height: 155px; object-fit: contain; transition: transform .3s; }
.home-policy:hover .home-policy__art img { transform: translateY(-4px); }
.home-policy__copy { padding: 22px 17px 22px 11px; }
.home-policy h3 { margin: 0; color: #162d4b; font-size: .95rem; line-height: 1.4; }
.home-policy p { margin: 9px 0 15px; font-size: .74rem; line-height: 1.6; color: #637083; }
.home-policy__copy > span { display: flex; align-items: center; gap: 8px; font-size: .73rem; font-weight: 700; color: var(--color-primary); }
.fiancap-home main .home-policy__copy svg { width: 16px; height: 16px; }
.home-auto-partners { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 26px; border-left: 3px solid var(--color-primary); background: #e6edf6; padding: 22px 26px; }
.home-auto-partners strong { font-size: 1rem; color: #162d4b; }
.home-auto-partners p { margin: 7px 0; color: #465872; font-size: .86rem; }
.home-auto-partners small { display: block; max-width: 620px; font-size: .66rem; line-height: 1.5; color: #66748a; }
.home-auto-partners .button { flex-shrink: 0; }
.home-more-policies { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 24px; margin-top: 27px; font-size: .77rem; line-height: 1.6; color: #495b73; }
.home-more-policies > span { font-weight: 700; color: #182f4d; }
.home-more-policies a:hover { color: var(--color-primary); text-decoration: underline; }
.fiancap-home .about-section.about-modern-vertical { padding-block: 74px; }
.fiancap-home .about-section.about-modern-vertical .about-grid { grid-template-columns: minmax(0,1.25fr) minmax(310px,.75fr); }
.fiancap-home .about-section.about-modern-vertical .about-media { width: min(100%,340px); aspect-ratio: 941 / 1672; margin-right: 32px; }
.fiancap-home .about-section.about-modern-vertical .about-copy { margin-right: 0; }
.fiancap-home .about-section.about-modern-vertical .about-image-mask { clip-path: none; }
.fiancap-home .about-section.about-modern-vertical .about-image-mask img { height: 100%; object-fit: contain; }
.fiancap-home .about-section.about-modern-vertical .about-image-veil { display: none; }
.fiancap-home .about-section.about-modern-vertical .about-copy h2 { font-size: clamp(1.8rem,2.7vw,2.7rem); line-height: 1.16; }
.fiancap-home .about-section.about-modern-vertical .about-copy p { font-size: .89rem; }
.home-about-link { margin-top: 25px; }
.home-contact { padding: 32px 0 94px; background: #fff; }
.home-contact__inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; padding-top: 36px; border-top: 1px solid #dce4ee; }
.home-contact h2 { margin: 0; max-width: 700px; font-size: clamp(1.6rem,2.5vw,2.25rem); letter-spacing: -.03em; line-height: 1.2; }
.home-contact p:not(.home-eyebrow) { margin: 14px 0 0; color: #5e6d7f; font-size: .86rem; }
.home-contact .button { flex-shrink: 0; }

@media (max-width: 1100px) {
  .home-opening__copy { padding: 26px 28px; }
  .home-opening__actions { gap: 13px; }
  .home-opening__actions .home-opening__text-link { font-size: .7rem; }
  .home-section-heading { gap: 40px; }
  .home-policies__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-policy { min-height: 192px; }
}

@media (max-width: 900px) {
  .fiancap-home .about-section.about-modern-vertical .about-grid { grid-template-columns: 1fr; }
  .fiancap-home .about-section.about-modern-vertical .about-media { width: min(72vw,310px); justify-self: center; margin: 0; }
  .home-auto-partners { align-items: flex-start; flex-direction: column; gap: 20px; }
  .home-contact__inner { align-items: flex-start; flex-direction: column; gap: 24px; }
}

@media (max-width: 760px) {
  .fiancap-home .container { width: calc(100% - 36px); }
  .fiancap-home main [id] { scroll-margin-top: 90px; }
  .home-opening { grid-template-columns: 1fr; }
  .home-opening__panel { min-height: 276px; }
  .home-opening__copy { max-width: none; padding: 24px 22px; }
  .home-opening h1, .home-opening h2 { font-size: clamp(1.65rem,6.5vw,1.95rem); }
  .home-opening .home-eyebrow { font-size: .61rem; margin-bottom: 11px; }
  .home-opening__copy > p:not(.home-eyebrow) { max-width: 370px; margin-top: 12px; font-size: .8rem; }
  .home-opening__actions { margin-top: 16px; }
  .fiancap-home .home-opening .button { min-height: 44px; padding-inline: 13px; font-size: .75rem; gap: 8px; }
  .home-section-heading { grid-template-columns: 1fr; gap: 20px; }
  .home-section-heading > p { font-size: .88rem; }
  .home-guarantees, .home-policies { padding-block: 48px; }
  .home-guarantees__grid { grid-template-columns: 1fr; gap: 22px; }
  .home-guarantee__photo { height: 190px; }
  .home-guarantee__body { padding: 23px; }
  .home-guarantee__body > p { min-height: 0; }
  .home-guarantee__companies { gap: 22px; }
  .home-guarantee__companies img { max-width: 86px; height: 26px !important; }
  .home-guarantees__help { gap: 17px; }
  .home-guarantees__help p { width: 100%; }
  .home-policies__grid { gap: 15px; }
  .home-policy { grid-template-columns: 1fr; align-content: start; }
  .home-policy__art { height: 133px; padding: 12px 14px 0; }
  .home-policy__art img { max-height: 116px; }
  .home-policy__copy { padding: 14px 16px 19px; }
  .home-policy h3 { font-size: .86rem; }
  .home-policy p { min-height: 53px; font-size: .71rem; }
  .home-auto-partners { padding: 22px 18px; }
  .fiancap-home .home-auto-partners .button { width: 100%; font-size: .76rem; padding-inline: 12px; }
  .fiancap-home .about-section.about-modern-vertical { padding-block: 50px; }
  .fiancap-home .about-section.about-modern-vertical .about-copy { padding: 28px 24px; }
  .home-contact { padding: 8px 0 74px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-policy__art img, .home-guarantee__photo img { transition: none; }
}
