/* Shared presentation for the DUOVIA 360 product pages. */
:is(.convoca360-page, .contrata360-page, .civitas360-page) {
  --cv360-accent: var(--gold-dark);
  --cv360-border: #e5ded0;
}
.cv360-hero {
  overflow: hidden;
  padding: 30px 0 64px;
  color: #fff;
  background: radial-gradient(ellipse at 95% 65%, var(--navy) 0, transparent 55%), var(--navy-deep);
}
.cv360-hero .breadcrumb { margin-bottom: 32px; color: #c0ced6; font-size: .875rem; }
.cv360-hero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 48px; }
.cv360-brand { margin: 0 0 16px; font: 2.05rem/1.2 Georgia, serif; letter-spacing: -.04em; }
.cv360-brand span { color: var(--gold-light); }
.cv360-hero .eyebrow { margin-bottom: 19px; color: var(--gold-light); font-size: .875rem; letter-spacing: .07em; }
.cv360-hero h1 { margin: 0; max-width: 640px; color: #fff; font: 400 clamp(2.6rem, 4.15vw, 3.65rem)/1.08 Georgia, serif; letter-spacing: -.035em; text-wrap: balance; }
.cv360-hero h1 em { color: var(--gold-light); font-style: normal; }
.cv360-lead { max-width: 580px; margin: 25px 0 0; color: #d7e2e7; font-size: 1.0625rem; line-height: 1.8; }
.cv360-hero .hero-actions { margin-top: 29px; gap: 12px; }
.cv360-hero .cv360-button-light { color: #fff; border: 1px solid #8da4b3; background: transparent; }
.cv360-hero .cv360-button-light:hover { background: #25465b; border-color: #d7e2e7; }
.cv360-hero__visual { min-width: 0; margin: 0; }
.cv360-window { overflow: hidden; border: 1px solid #d5c39d; border-radius: 12px; background: #fff; box-shadow: 0 28px 65px #0004; }
.cv360-window__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; color: var(--ink); background: var(--surface-soft); border-bottom: 1px solid var(--cv360-border); font-size: .875rem; }
.cv360-window__bar > span:first-child { color: var(--cv360-accent); }
.cv360-window__bar > span:last-child { margin-left: auto; }
.cv360-window__bar .site-icon { width: 18px; height: 18px; }
.cv360-window a { display: block; }
.cv360-window img { display: block; width: 100%; height: auto; }
.cv360-hero__visual figcaption { display: grid; gap: 9px; margin-top: 23px; }
.cv360-hero__visual figcaption > span { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; }
.cv360-hero__visual figcaption .site-icon { width: 22px; height: 22px; color: var(--gold-light); }
.cv360-hero__visual small { padding-left: 32px; color: #d7e2e7; font-size: .8125rem; }

.cv360-benefits { padding: 35px 0; background: #fffefa; border-bottom: 1px solid #e5ded0; }
.cv360-benefits__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cv360-benefits article { display: flex; align-items: flex-start; gap: 16px; padding: 0 28px; }
.cv360-benefits article:first-child { padding-left: 0; }
.cv360-benefits article:last-child { padding-right: 0; }
.cv360-benefits article + article { border-left: 1px solid #e5ded0; }
.cv360-benefits__icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; color: var(--cv360-accent); background: #f3ead7; border-radius: 8px; }
.cv360-benefits__icon .site-icon { width: 21px; height: 21px; }
.cv360-benefits h2 { margin: 0 0 8px; color: var(--ink); font-family: inherit; font-size: 1rem; line-height: 1.5; }
.cv360-benefits p { margin: 0; color: #53616a; font-size: .9375rem; line-height: 1.75; }

:is(.convoca360-page, .contrata360-page, .civitas360-page) .cv360-journey { padding-block: 76px 65px; background: var(--surface-soft); }
.cv360-journey .section-heading { max-width: 800px; margin-bottom: 32px; }
.cv360-journey .section-heading::after { display: none; }
.cv360-walkthrough { overflow: hidden; border: 1px solid var(--cv360-border); border-radius: 12px; background: #fff; box-shadow: 0 20px 55px #08233e14; }
.cv360-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--cv360-border); }
.cv360-tabs button { position: relative; display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 18px 20px; color: #52656c; border: 0; border-bottom: 3px solid transparent; background: #fffefa; cursor: pointer; text-align: left; }
.cv360-tabs button + button { border-left: 1px solid var(--cv360-border); }
.cv360-tabs button > span { font-size: .875rem; color: #53616a; }
.cv360-tabs button > strong { font-size: .9375rem; line-height: 1.5; }
.cv360-tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); background: #f3ead7; }
.cv360-tabs button:hover { background: #eee3ce; }
.cv360-tabs button:focus-visible { z-index: 1; outline-offset: -4px; }
.cv360-step { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); gap: 32px; padding: 38px; align-items: start; }
.cv360-step[hidden] { display: none; }
.cv360-step__context { margin: 0 0 16px; color: var(--cv360-accent); font-weight: 600; font-size: .875rem; }
.cv360-step h3 { margin: 0 0 18px; color: var(--ink); font: 400 clamp(1.8rem, 2.5vw, 2.25rem)/1.2 Georgia, serif; letter-spacing: -.025em; text-wrap: balance; }
.cv360-step__copy > p:not(.cv360-step__context) { margin: 0; color: #53616a; font-size: 1rem; line-height: 1.8; }
.cv360-step__copy ul { display: grid; gap: 13px; padding: 0; margin: 26px 0 0; list-style: none; }
.cv360-step__copy li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .9375rem; line-height: 1.65; }
.cv360-step__copy li .site-icon { flex: 0 0 19px; width: 19px; height: 19px; margin-top: 3px; color: var(--cv360-accent); }
.cv360-detail-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 25px; color: var(--navy); font-size: .9375rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.cv360-detail-link .site-icon { flex: 0 0 18px; width: 18px; height: 18px; }
.cv360-step__screen { overflow: hidden; margin: 0; border: 1px solid var(--cv360-border); border-radius: 8px; }
.cv360-step__screen > a { display: grid; height: clamp(300px, 31vw, 470px); background: #fffefa; }
.cv360-step__screen img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center top; }
.cv360-step__screen figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 17px; color: var(--ink-soft); border-top: 1px solid var(--cv360-border); background: var(--surface-soft); font-size: .8125rem; }
.cv360-step__screen figcaption > a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.cv360-step__screen figcaption .site-icon { width: 16px; height: 16px; }
.cv360-caption { margin: 23px 0 0; color: #59666b; font-size: .875rem; text-align: center; }

:is(.convoca360-page, .contrata360-page, .civitas360-page) .cv360-control { padding-block: 76px; background: #fffefa; }
.cv360-control__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 88px; align-items: start; }
.cv360-control__intro h2 { margin: 0; color: var(--ink); font: 400 clamp(2rem, 3.1vw, 2.7rem)/1.15 Georgia, serif; letter-spacing: -.03em; }
.cv360-control__intro > p:not(.eyebrow) { margin: 23px 0 0; color: #53616a; font-size: 1rem; line-height: 1.85; }
.cv360-controls article { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid #e5ded0; }
.cv360-controls article:first-child { padding-top: 0; }
.cv360-controls article > span { color: var(--gold-dark); padding-top: 4px; }
.cv360-controls .site-icon { width: 24px; height: 24px; }
.cv360-controls h3 { margin: 0 0 7px; color: var(--ink); font-size: 1rem; }
.cv360-controls p { margin: 0; color: #53616a; font-size: .9375rem; line-height: 1.8; }
.cv360-implementation { margin-top: 23px; color: var(--ink-soft); }
.cv360-implementation summary { padding: 5px 0; cursor: pointer; font-weight: 600; font-size: .9375rem; }
.cv360-implementation p { margin: 12px 0 0; }

:is(.convoca360-page, .contrata360-page, .civitas360-page) .cv360-demo { padding-block: 20px 70px; background: #fffefa; }
.cv360-demo__panel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr); gap: 55px; align-items: center; padding: 48px; border-radius: 12px; background: var(--navy-deep); color: #fff; border-top: 4px solid var(--gold); }
.cv360-demo .eyebrow { color: var(--gold-light); }
.cv360-demo h2 { margin: 0; color: #fff; font: 400 clamp(1.85rem, 2.7vw, 2.5rem)/1.2 Georgia, serif; letter-spacing: -.025em; }
.cv360-demo__panel > div > p:not(.eyebrow) { margin: 20px 0 0; color: #d7e2e7; font-size: 1rem; line-height: 1.8; }
.cv360-demo__action { text-align: center; }
.cv360-demo__action .button { width: 100%; }
.cv360-demo__panel .cv360-demo__action > p { font-size: .875rem; color: #b9ced8; }

@media (max-width: 1100px) {
  .cv360-hero__grid { gap: 30px; }
  .cv360-hero h1 { font-size: 2.7rem; }
  .cv360-hero .hero-actions .button { padding-inline: 16px; }
  .cv360-benefits article { gap: 12px; padding-inline: 18px; }
  .cv360-tabs button { padding: 16px 13px; gap: 8px; }
  .cv360-step { padding: 28px; gap: 28px; }
  .cv360-control__grid { gap: 45px; }
}
@media (max-width: 850px) {
  .cv360-hero { padding-bottom: 40px; }
  .cv360-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .cv360-hero__copy { max-width: 680px; }
  .cv360-hero h1 { max-width: 650px; font-size: clamp(2.5rem, 6vw, 3.4rem); }
  .cv360-hero__visual { width: 100%; max-width: 690px; }
  .cv360-benefits__grid { grid-template-columns: 1fr; gap: 24px; }
  .cv360-benefits article, .cv360-benefits article:first-child, .cv360-benefits article:last-child { padding: 0; }
  .cv360-benefits article + article { border-left: 0; }
  .cv360-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv360-tabs button { min-height: 78px; }
  .cv360-tabs button:nth-child(3) { border-left: 0; }
  .cv360-tabs button:nth-child(n + 3) { border-top: 1px solid var(--cv360-border); }
  .cv360-step { grid-template-columns: 1fr; }
  .cv360-step__screen > a { height: auto; max-height: none; }
  .cv360-step__screen img { height: auto; }
  .cv360-control__grid { grid-template-columns: 1fr; gap: 35px; }
  .cv360-demo__panel { grid-template-columns: 1fr; gap: 30px; padding: 35px; }
  .cv360-demo__action { text-align: left; }
  .cv360-demo__action .button { width: auto; }
}
@media (max-width: 520px) {
  :is(.convoca360-page, .contrata360-page, .civitas360-page) .header-inner { gap: 12px; }
  :is(.convoca360-page, .contrata360-page, .civitas360-page) .brand--header { flex: 1 1 148px; min-width: 0; max-width: 148px; }
  :is(.convoca360-page, .contrata360-page, .civitas360-page) .language-switcher { flex-shrink: 0; }
  :is(.convoca360-page, .contrata360-page, .civitas360-page) .nav-toggle { flex: 0 0 40px; width: 40px; }
  .cv360-hero { padding-top: 22px; }
  .cv360-hero .breadcrumb { margin-bottom: 25px; }
  .cv360-brand { font-size: 1.85rem; }
  .cv360-hero .eyebrow { font-size: .8125rem; }
  .cv360-hero h1 { font-size: clamp(2.2rem, 9vw, 2.85rem); }
  .cv360-lead { font-size: 1rem; }
  .cv360-hero .hero-actions { flex-direction: column; align-items: stretch; }
  .cv360-window__bar { padding: 11px; gap: 7px; font-size: .8125rem; }
  .cv360-window__bar > span:last-child { font-size: .75rem; }
  .cv360-hero__visual figcaption > span { font-size: .9375rem; align-items: flex-start; }
  .cv360-hero__visual small { padding-left: 0; }
  .cv360-benefits { padding-block: 28px; }
  :is(.convoca360-page, .contrata360-page, .civitas360-page) .cv360-journey, :is(.convoca360-page, .contrata360-page, .civitas360-page) .cv360-control { padding-block: 48px; }
  .cv360-tabs button { flex-direction: column; align-items: flex-start; gap: 5px; padding: 13px 10px; }
  .cv360-tabs button > strong { font-size: .875rem; }
  .cv360-tabs button > span { font-size: .8125rem; }
  .cv360-step { padding: 24px 18px; }
  .cv360-step__screen figcaption { flex-wrap: wrap; gap: 6px; padding: 12px; }
  .cv360-demo__panel { padding: 30px 23px; gap: 25px; }
  .cv360-demo__action .button { width: 100%; }
  .cv360-caption { font-size: .8125rem; }
}
