@font-face { font-family: "Sora"; src: url("/solar/fonts/sora-latin-ext.woff2") format("woff2"); font-style: normal; font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/solar/fonts/inter-latin-ext.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0c1730;
  --paper: #f6f4ec;
  --yellow: #ffd329;
  --blue: #0b2b57;
  --line: rgba(12, 23, 48, .13);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 50% -10%, #fff 0, transparent 36rem), var(--paper); font-family: "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; }

.choice-page { width: min(1120px, calc(100% - 48px)); min-height: 100svh; margin-inline: auto; display: grid; grid-template-rows: auto auto 1fr; }
.choice-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.group-brand { padding: .48rem .72rem; display: flex; align-items: center; color: #fff; background: var(--blue); border-radius: 11px; box-shadow: 0 8px 24px rgba(11, 43, 87, .12); }
.group-brand img { width: 124px; height: auto; }
.choice-header > p { margin: 0; color: #667086; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

.choice-intro { padding: clamp(1.45rem, 3.5vh, 2.6rem) 0 clamp(1rem, 2.5vh, 1.7rem); text-align: center; }
.eyebrow { margin: 0 0 .55rem; color: #857000; font-size: .65rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.choice-intro h1 { margin: 0; font-family: "Sora", sans-serif; font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 560; letter-spacing: -.055em; line-height: 1; }

.choice-grid { min-height: 0; padding-bottom: clamp(1.5rem, 3.5vh, 2.6rem); display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.choice-card { position: relative; min-height: min(56vh, 500px); overflow: hidden; isolation: isolate; border: 1px solid rgba(255, 255, 255, .18); border-radius: 24px; color: #fff; box-shadow: 0 22px 55px rgba(10, 23, 46, .12); transform: translateY(0); transition: transform .35s ease, box-shadow .35s ease; }
.choice-card:hover, .choice-card:focus-visible { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(10, 23, 46, .2); outline: none; }
.choice-photo, .choice-shade { position: absolute; z-index: -2; inset: 0; }
.choice-photo { background-position: center; background-size: cover; transform: scale(1.01); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.choice-card:hover .choice-photo, .choice-card:focus-visible .choice-photo { transform: scale(1.055); }
.choice-solar .choice-photo { background-image: url("/solar/assets/hero-solar-premium.jpg"); }
.choice-eletrica .choice-photo { background-image: url("/eletrica-automacao/assets/hero-eletrica-automacao.webp"); }
.choice-shade { z-index: -1; background: linear-gradient(180deg, rgba(4, 14, 34, .08), rgba(3, 12, 29, .92)); }
.choice-eletrica .choice-shade { background: linear-gradient(180deg, rgba(8, 20, 36, .1), rgba(7, 25, 49, .94)); }
.choice-content { height: 100%; min-height: inherit; padding: clamp(1.35rem, 3vw, 2.2rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.choice-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; color: var(--yellow); font-size: 1.15rem; }
.choice-content strong { margin-top: 1rem; font-family: "Sora", sans-serif; font-size: clamp(1.8rem, 3.4vw, 3.05rem); font-weight: 560; letter-spacing: -.055em; line-height: 1; }
.choice-action { width: 100%; margin-top: 1.2rem; padding-top: .9rem; display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .22); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.choice-action i { color: var(--yellow); font-size: 1rem; font-style: normal; transition: transform .25s ease; }
.choice-card:hover .choice-action i, .choice-card:focus-visible .choice-action i { transform: translateX(5px); }

@media (max-width: 760px) {
  .choice-page { width: min(100% - 24px, 560px); height: 100svh; min-height: 560px; }
  .choice-header { min-height: 64px; }
  .group-brand { padding: .4rem .6rem; border-radius: 9px; }
  .group-brand img { width: 104px; }
  .choice-header > p { font-size: .58rem; }
  .choice-intro { padding: .85rem 0 .75rem; text-align: left; }
  .eyebrow { margin-bottom: .35rem; font-size: .58rem; }
  .choice-intro h1 { font-size: clamp(1.65rem, 7.5vw, 2.2rem); }
  .choice-grid { padding-bottom: .75rem; grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .choice-card { min-height: 0; border-radius: 18px; }
  .choice-content { min-height: 0; padding: 1rem 1.1rem; }
  .choice-icon { width: 34px; height: 34px; font-size: 1rem; }
  .choice-content strong { margin-top: .65rem; font-size: clamp(1.45rem, 7vw, 2rem); }
  .choice-action { margin-top: .7rem; padding-top: .65rem; font-size: .62rem; }
}

@media (max-width: 760px) and (max-height: 650px) {
  .choice-header { min-height: 58px; }
  .group-brand img { width: 94px; }
  .choice-intro { padding: .6rem 0; }
  .eyebrow { display: none; }
  .choice-content { padding: .8rem 1rem; }
  .choice-icon { width: 30px; height: 30px; }
  .choice-content strong { margin-top: .45rem; font-size: 1.35rem; }
  .choice-action { margin-top: .5rem; padding-top: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
