:root {
  --green: #006e46;
  --green-deep: #004f33;
  --green-soft: #e9f4ed;
  --yellow: #ffc800;
  --ink: #333333;
  --muted: #5e6a63;
  --surface: #f7faf8;
  --line: #d4e4da;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: "Nunito", Arial, sans-serif; font-size: 18px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .button, .header-cta, summary { font-family: "Montserrat", Arial, sans-serif; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--green); font-weight: 800; letter-spacing: -0.045em; line-height: 1.06; }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header { height: 76px; display: flex; align-items: center; background: var(--white); position: relative; z-index: 5; }
.header-content, .footer-content { display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 172px; height: auto; }
.header-cta { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 9px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); color: var(--green); font: 700 .71rem "Montserrat", Arial, sans-serif; box-shadow: 0 3px 10px rgba(0, 74, 47, .08); }
.header-cta img { width: 19px; height: 19px; }
.header-cta:hover { background: var(--green-soft); }

.hero { min-height: 665px; position: relative; display: grid; isolation: isolate; overflow: hidden; }
.hero-photo, .hero-overlay { position: absolute; inset: 0; z-index: -2; }
.hero-photo { background: url("assets/hero-renegociacao.webp") center / cover no-repeat; }
.hero-overlay { z-index: -1; background: linear-gradient(90deg, rgba(0, 52, 35, .88) 0%, rgba(0, 70, 45, .68) 42%, rgba(0, 70, 45, .05) 78%), linear-gradient(0deg, var(--surface) 0%, rgba(247, 250, 248, 0) 26%); }
.hero-content { padding: 68px 0 115px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.hero-badge { width: min(160px, 57vw); }
.hero-copy { max-width: 600px; color: var(--white); }
.kicker, .section-label { color: var(--yellow); text-transform: uppercase; letter-spacing: .13em; font: 700 .71rem "Montserrat", Arial, sans-serif; }
.hero h1 { color: var(--white); font-size: clamp(2.75rem, 5.5vw, 5.3rem); max-width: 680px; margin-bottom: 20px; }
.rotating-title { display: grid; }
.title-message { grid-area: 1 / 1; align-self: center; display: block; }
.title-message-primary { animation: hero-title-primary 10s ease-in-out infinite; }
.title-message-secondary { animation: hero-title-secondary 10s ease-in-out infinite; }
@keyframes hero-title-primary {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes hero-title-secondary {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
  100% { opacity: 0; }
}
.hero-copy > p:not(.kicker) { max-width: 510px; font-size: 1.2rem; margin-bottom: 30px; }
.button { display: inline-flex; min-width: 264px; min-height: 52px; align-items: center; justify-content: center; gap: 13px; padding: 13px 22px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); color: var(--green); font-size: .86rem; font-weight: 700; box-shadow: 0 7px 18px rgba(0, 74, 47, .15); transition: transform .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button:hover { background: var(--green-soft); }
.button img { width: 22px; height: 22px; }
.button-primary, .button-light { background: var(--white); color: var(--green); }
.hero .button-primary { box-shadow: 0 7px 18px rgba(0, 35, 23, .2); }
.hero .button-primary img { width: 25px; height: 25px; }
.button-light { background: var(--white); color: var(--green); }

.section { padding: 112px 0; }
.introduction { background: var(--surface); }
.intro-grid, .faq-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 10vw, 140px); align-items: start; }
.intro-grid h2 { max-width: 635px; margin-bottom: 0; }
.intro-text { color: var(--muted); border-left: 2px solid var(--yellow); padding-left: 25px; }
.intro-text p:last-child { margin-bottom: 0; }
.intro-cta { margin-top: 38px; }
.section-label { color: var(--green); margin-bottom: 15px; }
.centered { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.centered h2 { margin-bottom: 15px; }
.centered p { color: var(--muted); margin-bottom: 0; }
.eligible { background: var(--white); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience-card { min-height: 254px; padding: 31px; border: 1px solid #a0e4bb; border-radius: 12px; background: var(--white); }
.audience-card span { color: var(--green); font: 700 .78rem "Montserrat", Arial, sans-serif; }
.audience-card h3 { color: var(--green); font-size: 1.35rem; margin: 55px 0 9px; letter-spacing: -.035em; }
.audience-card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

.process { position: relative; isolation: isolate; overflow: hidden; color: var(--white); padding: 110px 0; }
.process-photo { position: absolute; inset: 0; z-index: -2; background: url("https://www.safra.com.br/data/files/D7/F6/EA/08/447A09108C3282097FFDF9C2/renegociacao-safra.jpg") center / cover no-repeat; }
.process::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 70, 45, .92); }
.process-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.process-copy h2 { color: var(--white); margin-bottom: 21px; }
.process-copy .section-label { color: var(--yellow); }
.process-copy p:last-child { max-width: 390px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.35); }
.steps li::before { content: "0" counter(step); color: var(--yellow); font: 700 .83rem "Montserrat", Arial, sans-serif; padding-top: 3px; }
.steps strong { grid-column: 2; font: 700 1.1rem "Montserrat", Arial, sans-serif; }
.steps span { grid-column: 2; color: rgba(255,255,255,.84); font-size: .95rem; }

.benefits { background: var(--surface); }
.benefits-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 8vw, 105px); align-items: center; }
.benefits-image { min-height: 495px; border-radius: 12px; background: url("assets/call-center-girl.webp") center / cover no-repeat; }
.benefits-content h2 { margin-bottom: 30px; }
.benefits-content ul { list-style: none; padding: 0; margin: 0 0 33px; }
.benefits-content li { display: flex; gap: 13px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.benefits-content li span { color: var(--green); font-weight: 700; }
.benefits-cta { margin-top: 2px; }

.security { position: relative; min-height: 640px; padding: 72px 0; display: grid; align-items: center; isolation: isolate; color: var(--white); overflow: hidden; }
.security-image { position: absolute; inset: 0; z-index: -2; background: url("https://www.safra.com.br/data/files/28/D7/96/61/F817291016392029A348F9C2/Cuidado%20com%20fraudes_desk.jpg") center / cover no-repeat; }
.security::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 52, 35, .94), rgba(0, 74, 47, .7) 50%, rgba(0, 74, 47, .08)); }
.security-content > div { max-width: 580px; }
.security h2 { color: var(--white); margin-bottom: 18px; }
.security .section-label { color: var(--yellow); }
.security p:not(.section-label) { margin-bottom: 30px; color: rgba(255,255,255,.9); }
.qr-option { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.qr-option img { width: 82px; height: 82px; background: var(--white); padding: 4px; }
.security .qr-option p { margin: 0; color: var(--white); font: 700 .87rem/1.35 "Montserrat", Arial, sans-serif; }

@media (min-width: 801px) {
  .security-content > div { position: relative; }
  .security .qr-option { position: absolute; left: 332px; top: 304px; margin-top: 0; white-space: nowrap; }
  .security .qr-option img { width: 120px; height: 120px; }
  .final-cta .qr-option { margin-top: 26px; }
  .final-cta .qr-option img { width: 120px; height: 120px; }
}

.faq { background: var(--white); }
.faq-layout > div:first-child > p:not(.section-label) { color: var(--muted); max-width: 390px; }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 23px 40px 23px 0; color: var(--green); font-weight: 700; font-size: .92rem; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 17px; color: var(--green); font: 400 1.65rem "Nunito", Arial, sans-serif; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); font-size: .95rem; padding: 0 18px 23px 0; margin: 0; }

.final-cta { min-height: 590px; padding: 72px 0; position: relative; display: grid; align-items: center; isolation: isolate; overflow: hidden; }
.final-image { position: absolute; inset: 0; z-index: -2; background: url("assets/atendente_1399x475.webp") center / cover no-repeat; }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(247,250,248,.98) 0%, rgba(247,250,248,.9) 47%, rgba(247,250,248,.18)); }
.final-content { max-width: 700px; }
.final-content h2 { margin-bottom: 18px; }
.final-content p { color: var(--muted); margin-bottom: 30px; }
.final-cta .qr-option p { margin: 0; color: var(--green); font: 700 .87rem/1.35 "Montserrat", Arial, sans-serif; }

.site-footer { background: #252020; border-top: 1px solid #383232; padding: 23px 0; color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 17px; }
.footer-brand img { width: 53px; }
.footer-brand p { color: var(--white); font-size: .85rem; margin: 0; font-weight: 600; }
.footer-brand address { color: #c5ceca; font-size: .72rem; font-style: normal; margin-top: 3px; }
.footer-social { display: block; width: 90px; height: 30px; background: var(--white); mask: url("assets/social-bmdc-site.png") center / contain no-repeat; -webkit-mask: url("assets/social-bmdc-site.png") center / contain no-repeat; }
.mobile-cta { display: none; }

@media (max-width: 800px) {
  body { font-size: 17px; padding-bottom: 70px; }
  .container { width: min(100% - 36px, 600px); }
  .site-header { height: 67px; }
  .brand img { width: 142px; }
  .header-cta { display: none; }
  .hero { min-height: 690px; }
  .hero-photo { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(0, 52, 35, .86), rgba(0, 70, 45, .5)), linear-gradient(0deg, var(--surface) 0%, rgba(247,250,248,0) 23%); }
  .hero-content { padding: 39px 0 95px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.8rem); }
  .hero-copy > p:not(.kicker) { font-size: 1.08rem; }
  .section { padding: 72px 0; }
  .intro-grid, .faq-layout, .benefits-layout, .process-layout { grid-template-columns: 1fr; gap: 36px; }
  .intro-text { padding-left: 18px; }
  .audience-grid { grid-template-columns: 1fr; gap: 12px; }
  .audience-card { min-height: auto; padding: 25px; }
  .audience-card h3 { margin-top: 30px; }
  .process { padding: 72px 0; }
  .process-layout { gap: 30px; }
  .benefits-image { min-height: 300px; }
  .security { min-height: 540px; }
  .security-image { background-position: 63% center; }
  .security::after { background: rgba(0, 70, 45, .87); }
  .qr-option { margin-top: 22px; }
  .final-cta { min-height: 560px; padding: 64px 0; }
  .final-image { background-position: 65% center; }
  .final-cta::after { background: rgba(247,250,248,.9); }
  .footer-content { align-items: flex-start; gap: 18px; }
  .footer-brand { align-items: flex-start; flex-direction: column; gap: 7px; }
  .footer-social { width: 74px; height: 25px; margin-top: 7px; }
  .mobile-cta { display: flex; position: fixed; z-index: 10; bottom: 9px; left: 18px; width: calc(100% - 36px); min-height: 54px; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); color: var(--green); font: 700 .8rem "Montserrat", Arial, sans-serif; box-shadow: 0 4px 18px rgba(0, 70, 45, .2); }
  .mobile-cta img { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .title-message { animation: none; opacity: 0; }
  .title-message-primary { opacity: 1; }
}
