:root {
  --brand-red: #c9002b;
  --brand-red-dark: #8f001f;
  --brand-red-deep: #5f0017;
  --ink: #20232a;
  --graphite: #4a4e57;
  --paper: #f7f7f8;
  --line: #e5e7eb;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper) !important;
  color: var(--ink) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 100;
  background: linear-gradient(90deg, var(--brand-red-deep), var(--brand-red), #ef4969);
}

header {
  padding-top: 0 !important;
  padding-bottom: .75rem !important;
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid rgba(32,35,42,.09);
  box-shadow: 0 10px 35px rgba(32,35,42,.06);
}

header > div:first-child {
  background: var(--ink) !important;
  padding: .35rem 1rem !important;
  letter-spacing: .045em !important;
}

header > div:nth-child(2) { margin-top: .65rem !important; }

.site-logo {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(143,0,31,.12));
}

header nav a {
  border-radius: 999px !important;
  padding: .55rem .7rem !important;
}

header nav a:hover {
  background: #f7edf0 !important;
  color: var(--brand-red-dark) !important;
}

header a[href="/contato/"] {
  background: linear-gradient(135deg, var(--brand-red-dark), var(--brand-red)) !important;
  border-radius: 999px !important;
  padding: .72rem 1.15rem !important;
  box-shadow: 0 8px 22px rgba(201,0,43,.22) !important;
}

main > section:first-child {
  position: relative;
  background:
    radial-gradient(circle at 92% 10%, rgba(201,0,43,.13), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f7f7f8 58%, #eceef1 100%) !important;
}

main > section:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(32,35,42,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(32,35,42,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, #000, transparent 72%);
}

main > section:first-child h1 {
  color: var(--ink) !important;
  letter-spacing: -.045em !important;
  line-height: 1.02 !important;
}

main > section:first-child h1 span { color: var(--brand-red) !important; }

main > section:first-child form,
main form {
  border: 1px solid rgba(32,35,42,.09) !important;
  border-top: 5px solid var(--brand-red) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(32,35,42,.14) !important;
}

form::before {
  content: "ATENDIMENTO DIRETO";
  display: block;
  width: max-content;
  margin: -.15rem auto .75rem;
  color: var(--brand-red-dark);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
}

form input,
form select,
form textarea {
  min-height: 48px;
  border-color: #d7d9de !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-size: .9rem !important;
}

/* Mantém a cotação enxuta: contato + perfil essencial. */
form div:has(> #cidade),
form div:has(> #faixasEtarias) { display: none !important; }
form div:has(> #whatsapp) { grid-column: 1 / -1; }

form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--brand-red) !important;
  box-shadow: 0 0 0 4px rgba(201,0,43,.09) !important;
}

form button[type="submit"] {
  min-height: 52px;
  background: linear-gradient(135deg, var(--brand-red-dark), var(--brand-red)) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 28px rgba(201,0,43,.24) !important;
  font-weight: 800 !important;
}

form button[type="submit"]:hover { transform: translateY(-1px); }

.quote-whatsapp-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: .75rem;
  color: #5b606a;
  font-size: .72rem;
  font-weight: 600;
}

.quote-whatsapp-note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 4px rgba(37,211,102,.12);
}

section.bg-white { background-color: #fff !important; }

.hover-card,
.accordion-item,
main article,
main .shadow-sm {
  border-color: rgba(32,35,42,.09) !important;
}

.hover-card:hover,
.accordion-item:hover {
  border-color: rgba(201,0,43,.26) !important;
  box-shadow: 0 18px 42px rgba(32,35,42,.09) !important;
}

footer {
  background: var(--ink) !important;
  color: #bfc2c9 !important;
  border-top: 0 !important;
}

footer h3, footer h4, footer strong, footer .text-\[\#1A1A1A\] { color: #fff !important; }
footer a:hover { color: #fff !important; }

@media (min-width: 1024px) {
  .home-page main > section:first-child h1 { font-size: clamp(3rem, 5.2vw, 5.2rem) !important; }
  main > section:first-child { padding-top: 10.5rem !important; }
}

@media (max-width: 1023px) {
  header nav { display: none !important; }
  .site-logo { width: 56px; height: 56px; }
  main > section:first-child { padding-top: 9rem !important; }
}

@media (max-width: 640px) {
  header > div:first-child { font-size: .58rem !important; }
  main > section:first-child h1 { font-size: 2.55rem !important; }
  main form { padding: 1.35rem !important; }
  .mobile-bottom-nav { background: rgba(255,255,255,.98) !important; }
}

/* V3 — composição inspirada no projeto SulAmérica, com identidade Bradesco */
:root {
  --br-red: #cf002b;
  --br-red-light: #f33b63;
  --br-wine: #650018;
  --br-wine-deep: #31000d;
  --br-graphite: #1c1f27;
  --br-muted: #69707c;
  --br-line: rgba(101, 0, 24, .14);
  --br-shadow: 0 28px 85px rgba(40, 0, 12, .24);
}

.br-container { width: min(calc(100% - 64px), 1220px); margin-inline: auto; }
.br-utility { position: relative; z-index: 102; background: #171a21; color: #e7e8ec; font-size: .76rem; letter-spacing: .025em; }
.br-utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 20px; }
.br-utility-inner > span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--br-red-light); box-shadow: 0 0 0 4px rgba(243, 59, 99, .16); }
.br-utility-inner div { display: flex; gap: 24px; }
.br-utility-inner a:last-child { color: #fff; font-weight: 800; }

.br-header { position: sticky !important; top: 0; z-index: 100; padding: 0 !important; background: rgba(255,255,255,.98) !important; border-bottom: 1px solid var(--br-line); box-shadow: none !important; backdrop-filter: blur(18px); }
.br-header > .br-nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 88px; margin-top: 0 !important; padding: 0 !important; background: transparent !important; letter-spacing: normal !important; }
.br-brand { display: flex; align-items: center; flex: 0 0 auto; gap: 13px; }
.br-brand img { display: block; width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 7px 14px rgba(101,0,24,.12)); }
.br-brand-context { display: grid; padding-left: 13px; border-left: 1px solid var(--br-line); line-height: 1.15; }
.br-brand-context strong { color: var(--br-wine); font-size: .86rem; }
.br-brand-context small { margin-top: 5px; color: #6b707a; font-size: .69rem; text-transform: uppercase; letter-spacing: .08em; }
.br-main-nav { display: flex; align-items: center; gap: 17px; color: #272d38; font-size: .88rem; font-weight: 750; }
.br-main-nav > a:not(.br-button) { position: relative; padding: 34px 0 !important; border-radius: 0 !important; background: transparent !important; color: #272d38 !important; box-shadow: none !important; }
.br-main-nav > a:not(.br-button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 23px; height: 2px; background: var(--br-red); transition: right .22s; }
.br-main-nav > a:not(.br-button):hover::after { right: 0; }
.br-main-nav > .br-nav-whatsapp { color: #087a48 !important; }
.br-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 22px; border: 1px solid var(--br-red); border-radius: 7px; background: var(--br-red); color: #fff !important; font-weight: 800; transition: transform .2s, background .2s, box-shadow .2s; }
.br-button:hover { transform: translateY(-2px); background: var(--br-wine); border-color: var(--br-wine); box-shadow: 0 14px 34px rgba(207,0,43,.27); }
.br-main-nav > .br-button { min-height: 44px; padding: 10px 18px !important; border-radius: 6px !important; background: var(--br-red) !important; box-shadow: none !important; }
.br-menu-toggle { display: none; width: 44px; height: 44px; color: var(--br-wine); }
.br-menu-toggle svg { width: 27px; height: 27px; }
.br-mobile-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 20px 24px 26px; background: #fff; border-bottom: 1px solid var(--br-line); box-shadow: 0 20px 45px rgba(28,31,39,.12); }
.br-mobile-nav:not(.hidden) { display: grid; gap: 7px; }
.br-mobile-nav > a { padding: 10px 6px; color: #282d37; font-weight: 750; }
.br-mobile-nav > .br-button { margin-top: 8px; padding: 12px 18px; }

.home-page main > .br-premium-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 760px; padding: 82px 0 102px !important; background: var(--br-wine-deep) !important; color: #fff; }
.home-page main > .br-premium-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(49,0,13,.99) 0%, rgba(86,0,22,.96) 56%, rgba(49,0,13,.48) 100%) !important; mask-image: none; }
.home-page main > .br-premium-hero::after { content: ""; position: absolute; z-index: -1; right: -9%; bottom: -180px; width: 740px; height: 340px; border: 70px solid rgba(243,59,99,.13); border-radius: 50%; transform: rotate(-8deg); }
.br-hero-orbit { position: absolute; z-index: -1; right: 26%; top: -140px; width: 690px; height: 240px; border-bottom: 9px solid var(--br-red-light); border-radius: 0 0 55% 55%; transform: rotate(-7deg); opacity: .92; }
.br-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 78px; align-items: center; }
.br-hero-copy { position: relative; z-index: 2; padding-bottom: 8px; }
.br-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: #ff9db2; font-size: .78rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.br-kicker > span { display: block; width: 38px; height: 2px; background: var(--br-red-light); }
.home-page main > .br-premium-hero h1 { max-width: 760px; margin: 0 0 24px; color: #fff !important; font-size: clamp(3.4rem, 5.35vw, 5.8rem) !important; line-height: .98 !important; letter-spacing: -.065em !important; }
.home-page main > .br-premium-hero h1 em { position: relative; z-index: 0; color: #fff !important; font-style: normal; }
.home-page main > .br-premium-hero h1 em::after { content: ""; position: absolute; z-index: -1; left: -3px; right: -6px; bottom: 8px; height: 13px; background: var(--br-red); transform: skewX(-15deg); }
.br-lead { max-width: 680px; margin: 0 0 24px; color: #f0ccd5; font-size: 1.16rem; line-height: 1.65; }
.br-audience { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.br-audience span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; font-size: .77rem; font-weight: 750; }
.br-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 38px; }
.br-button-outline { border-color: rgba(255,255,255,.42); background: transparent; }
.br-button-outline:hover { background: #fff; border-color: #fff; color: var(--br-wine-deep) !important; }
.br-proof { display: grid; grid-template-columns: repeat(3,1fr); max-width: 680px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.br-proof > div { padding: 17px 22px; border-right: 1px solid rgba(255,255,255,.18); }
.br-proof > div:first-child { padding-left: 0; }
.br-proof > div:last-child { border: 0; }
.br-proof strong { display: block; color: #fff; font-size: 1.18rem; }
.br-proof span { display: block; color: #c99daa; font-size: .7rem; line-height: 1.35; }
.br-disclaimer { margin: 14px 0 0; color: #b57b8b; font-size: .76rem; }
.br-hero-visual { position: relative; min-height: 570px; }
.br-hero-visual > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 120px 8px 8px 8px; filter: saturate(.82) contrast(1.04); box-shadow: 0 40px 90px rgba(0,0,0,.36); }
.br-hero-visual::after { content: ""; position: absolute; inset: 0; border-radius: 120px 8px 8px 8px; background: linear-gradient(180deg, transparent 48%, rgba(49,0,13,.82) 100%); pointer-events: none; }
.br-visual-code { position: absolute; z-index: 2; right: -13px; top: 40px; padding: 9px 15px; background: var(--br-red); color: #fff; font-size: .7rem; font-weight: 900; letter-spacing: .13em; writing-mode: vertical-rl; }
.br-visual-seal { position: absolute; z-index: 3; left: -56px; top: 52px; display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 13px; width: 270px; padding: 12px; background: #fff; color: var(--br-wine); box-shadow: var(--br-shadow); }
.br-visual-seal img { width: 82px; height: 82px; object-fit: contain; }
.br-visual-seal span { font-size: .75rem; font-weight: 850; line-height: 1.35; text-transform: uppercase; letter-spacing: .045em; }
.br-visual-caption { position: absolute; z-index: 3; left: 28px; right: 28px; bottom: 25px; display: grid; grid-template-columns: 48px 1fr; gap: 15px; align-items: center; color: #fff; }
.br-visual-caption span { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; color: #ff9db2; font-size: .74rem; font-weight: 900; }
.br-visual-caption p { margin: 0; font-size: .87rem; line-height: 1.4; }
.br-wordmark { position: absolute; z-index: -1; left: -20px; bottom: -55px; color: rgba(255,255,255,.035); font-size: 9.8rem; font-weight: 950; letter-spacing: -.07em; white-space: nowrap; }

.br-quote-studio { position: relative; padding: 100px 0; background: #fff; }
.br-quote-studio::before { content: ""; position: absolute; left: 0; top: 0; width: 28%; height: 7px; background: var(--br-red); }
.br-quote-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.br-quote-intro { position: sticky; top: 120px; padding-top: 24px; }
.br-kicker.br-dark { color: var(--br-red); }
.br-quote-intro h2 { margin: 0 0 18px; color: var(--br-wine-deep); font-size: clamp(2.3rem,3.5vw,3.55rem); line-height: 1.02; letter-spacing: -.045em; }
.br-quote-intro > p:not(.br-kicker) { color: #5d626d; line-height: 1.7; }
.br-quote-intro ol { display: grid; gap: 0; padding: 0; margin: 30px 0; list-style: none; border-top: 1px solid var(--br-line); }
.br-quote-intro li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--br-line); color: var(--br-wine); font-weight: 800; font-size: .9rem; }
.br-quote-intro li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff0f3; color: var(--br-red); font-size: .72rem; }
.br-privacy { display: grid; padding: 18px; border-left: 3px solid var(--br-red); background: #fff5f7; }
.br-privacy strong { color: var(--br-wine); font-size: .83rem; }
.br-privacy span { color: #686d77; font-size: .78rem; }
.br-quote-panel { position: relative; padding: 38px 42px 42px; background: #f7f7f8; border: 1px solid var(--br-line); box-shadow: 0 24px 80px rgba(49,0,13,.12); }
.br-quote-panel::before { content: ""; position: absolute; right: 0; top: 0; width: 90px; height: 90px; border-top: 7px solid var(--br-red); border-right: 7px solid var(--br-red); }
.br-quote-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; padding-bottom: 19px; border-bottom: 1px solid var(--br-line); }
.br-quote-head span { color: var(--br-red); font-size: .73rem; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.br-quote-head strong { max-width: 320px; color: var(--br-wine); font-size: 1.3rem; line-height: 1.2; text-align: right; }
.br-lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.br-lead-form::before { display: none !important; }
.br-field { display: grid; gap: 6px; }
.br-full { grid-column: 1 / -1; }
.br-field label { color: #3f2830; font-size: .83rem; font-weight: 750; }
.br-lead-form input, .br-lead-form select { width: 100%; min-height: 50px; padding: 10px 12px; border: 1px solid #d4c7cb !important; border-radius: 8px !important; background: #fff !important; color: #25272d; }
.br-lead-form input:focus, .br-lead-form select:focus { border-color: var(--br-red) !important; box-shadow: 0 0 0 3px rgba(207,0,43,.1) !important; outline: none; }
.br-check { display: flex; gap: 9px; align-items: flex-start; color: #5e626b; font-size: .78rem; line-height: 1.4; }
.br-check input { width: 17px !important; min-width: 17px; min-height: 17px !important; margin-top: 2px; }
.br-lead-form .br-button { width: 100%; min-height: 54px; background: var(--br-red) !important; border-radius: 7px !important; box-shadow: none !important; }
.br-lead-form .quote-whatsapp-note { grid-column: 1 / -1; }

body:not(.home-page) main > section:first-child {
  padding-top: 4rem !important;
  padding-bottom: 5rem !important;
  background: radial-gradient(circle at 92% 0, rgba(243,59,99,.16), transparent 28%), linear-gradient(145deg, #fff 0%, #f8f5f6 62%, #f0e7ea 100%) !important;
}

@media (max-width: 1160px) {
  .br-brand-context { display: none; }
  .br-main-nav { gap: 13px; font-size: .82rem; }
  .br-hero-grid { gap: 48px; }
  .home-page main > .br-premium-hero h1 { font-size: clamp(3rem,5vw,4.7rem) !important; }
}
@media (max-width: 1020px) {
  .br-utility { display: none; }
  .br-nav-shell { min-height: 82px !important; }
  .br-main-nav { display: none !important; }
  .br-menu-toggle { display: grid; place-items: center; }
  .br-hero-grid { grid-template-columns: 1fr; }
  .br-hero-copy { max-width: 790px; }
  .br-hero-visual { max-width: 670px; margin-left: auto; width: 82%; min-height: 520px; }
  .br-quote-grid { grid-template-columns: 1fr; }
  .br-quote-intro { position: static; max-width: 760px; }
}
@media (max-width: 800px) {
  .br-container { width: min(calc(100% - 30px),1220px); }
  .home-page main > .br-premium-hero { padding: 64px 0 90px !important; }
  .br-hero-grid { gap: 52px; }
  .br-hero-visual { width: 92%; min-height: 480px; }
  .br-proof { grid-template-columns: 1fr 1fr; }
  .br-proof > div:nth-child(2) { border-right: 0; }
  .br-proof > div:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); padding-left: 0; }
  .br-visual-seal { left: -28px; }
  .br-quote-studio { padding: 78px 0; }
  .br-quote-grid { gap: 38px; }
  .br-quote-panel { padding: 30px; }
}
@media (max-width: 560px) {
  .br-header > .br-nav-shell { min-height: 74px !important; }
  .br-brand img { width: 58px; height: 58px; }
  .home-page main > .br-premium-hero h1 { font-size: 3.05rem !important; }
  .br-lead { font-size: 1.03rem; }
  .br-hero-actions { display: grid; }
  .br-hero-actions .br-button { width: 100%; }
  .br-hero-visual { width: 100%; min-height: 410px; }
  .br-hero-visual > picture img, .br-hero-visual::after { border-radius: 70px 4px 4px; }
  .br-visual-seal { left: 12px; top: 20px; width: 215px; grid-template-columns: 62px 1fr; }
  .br-visual-seal img { width: 62px; height: 62px; }
  .br-visual-code { right: -4px; }
  .br-wordmark { font-size: 5.5rem; }
  .br-proof { grid-template-columns: 1fr; }
  .br-proof > div, .br-proof > div:first-child, .br-proof > div:last-child { grid-column: auto; padding: 13px 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .br-proof > div:first-child { border-top: 0; }
  .br-quote-panel { padding: 25px 19px; }
  .br-quote-head { display: grid; }
  .br-quote-head strong { text-align: left; }
  .br-lead-form { grid-template-columns: 1fr; }
  .br-full { grid-column: auto; }
}
