:root{--ink:#10243d;--muted:#66758a;--line:#dce4ea;--soft:#f4f8f7;--green:#0b9a49;--green2:#dff5e8;--green3:#edf9f2;--white:#fff;--label-col:195px;--add-col:180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:14px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.site-header{height:72px;border-bottom:1px solid #edf1f3;display:flex;align-items:center;padding:0 32px;gap:28px;position:sticky;top:0;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);z-index:20}.brand{display:flex;align-items:center;gap:11px;min-width:330px}.brand img{width:54px;height:40px}.brand-copy{display:flex;flex-direction:column}.brand-copy strong{font-size:20px;letter-spacing:-.6px}.brand-copy small{font-size:9px;font-weight:700;color:#7890a0;letter-spacing:.7px}.main-nav{display:flex;gap:30px;height:100%;align-items:center}.main-nav a{height:100%;display:flex;align-items:center;position:relative;font-weight:650}.main-nav a.active{color:var(--green)}.main-nav a.active:after{content:"";height:3px;background:var(--green);position:absolute;bottom:0;left:0;right:0;border-radius:3px}.search-button{margin-left:auto;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:22px}
.profile-bar{margin:18px auto 0;max-width:1200px;background:linear-gradient(100deg,#effaf5,#f7fbfa);border:1px solid #e1eee8;border-radius:12px;padding:13px 14px;display:grid;grid-template-columns:1.55fr repeat(3,1fr) 1.45fr .8fr .75fr auto;gap:10px;align-items:center}.profile-title{display:flex;gap:10px;align-items:center}.gear{width:30px;height:30px;border-radius:9px;background:#d8f0e3;color:var(--green);display:grid;place-items:center}.profile-title div{display:flex;flex-direction:column}.profile-title small,.profile-bar small{color:#728292;font-size:10px}.profile-bar label{display:grid;grid-template-columns:1fr auto;gap:1px 6px;color:#526478;font-size:10px;font-weight:700}.profile-bar input,.profile-bar select{width:100%;height:38px;border:1px solid #d3dee5;border-radius:7px;background:#fff;padding:0 10px;color:var(--ink);font-weight:700;grid-column:1/-1}.profile-bar label small{grid-column:2}.solar-label{display:block!important;position:relative;padding-left:25px}.solar-label input{position:absolute;left:0;top:3px;width:auto;height:auto}.solar-label span{font-size:11px;color:var(--ink)}.solar-label small{display:block;margin-top:2px}.green-button{background:var(--green);color:#fff;border:0;border-radius:9px;padding:12px 17px;font-weight:750}
.compare-section{max-width:1200px;margin:30px auto}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.eyebrow{margin:0 0 4px;color:var(--green);font-size:10px;font-weight:800;letter-spacing:1.2px}.section-head h1,.verdict h2,.sources h2,.about h2{margin:0;font-size:31px;letter-spacing:-1.2px}.section-head>div:first-child p:last-child{margin:2px 0 0;color:var(--muted);font-size:15px}.data-status{font-size:11px;color:#718091}.data-status.ok{color:var(--green);font-weight:700}
/* The header grid and data grid intentionally share the same columns. This is what keeps every value under its car. */
.compare-grid,.table-row,.table-head-row{grid-template-columns:var(--label-col) repeat(var(--car-count,2),minmax(0,1fr)) var(--add-col)}.compare-grid{display:grid;border:1px solid var(--line);border-bottom:0;border-radius:10px 10px 0 0;overflow:hidden;background:#fff}.intro-column{padding:28px 18px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--line);background:#fbfcfc}.intro-icon{font-size:34px;color:var(--green);margin-bottom:10px}.intro-column b{font-size:15px}.intro-column span{color:var(--muted);font-size:11px;margin-top:3px}.car-columns{display:contents}.car-card{min-width:0;padding:12px 14px 13px;border-right:1px solid var(--line);position:relative;background:#fff}.car-card .remove{position:absolute;right:10px;top:8px;border:0;background:none;color:#8090a0;font-size:20px}.car-photo{height:122px;border-radius:8px;background:linear-gradient(145deg,#f4f7f8,#e8edef);display:grid;place-items:center;overflow:hidden;margin-bottom:8px}.car-photo img{width:100%;height:100%;object-fit:contain;padding:5px}.car-placeholder{font-size:42px;color:#8aa0aa}.select-plus{width:42px;height:42px;border:2px solid #83c9a0;color:var(--green);border-radius:50%;display:grid;place-items:center;font-size:27px}.car-card h3{font-size:16px;line-height:1.1;margin:5px 0 3px}.car-card .version{color:#718092;font-size:10px;min-height:30px}.price-note{font-size:9px;color:#82909d}.spec-link,.select-button{display:inline-block;color:var(--green);font-weight:800;font-size:11px;margin-top:8px;border:0;background:none;padding:0}.select-button{background:var(--green);color:#fff;border-radius:7px;padding:9px 18px}.empty-copy{font-size:10px;color:#7a838d;max-width:150px;line-height:1.4;margin:4px 0}.add-column{border:0;border-right:1px solid var(--line);background:#f6fcf8;color:var(--green);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:285px}.add-column span{border:2px solid var(--green);border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font-size:27px}.add-column b{font-size:14px}.add-column small{color:#728292}.add-column[disabled]{opacity:.4;cursor:not-allowed}
.comparison-table{border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px;overflow:hidden;background:#fff}.table-head-row,.table-row{display:grid;min-height:34px}.table-head-row>div,.table-row>div{padding:8px 10px;border-right:1px solid #e9eeeb;border-bottom:1px solid #eef1ef;font-size:10px;min-width:0}.table-head-row{background:#fbfcfc}.table-head-row>div{font-weight:900;color:var(--ink);font-size:11px}.table-head-row>div:not(:first-child){text-align:center}.table-row>div:not(:first-child){text-align:center;color:#283343}.table-row>div:first-child{font-weight:700;color:#53606e;background:#fbfcfc}.group-row>div{background:#effaf4;color:#126b3b;font-weight:900}.group-row>div:not(:first-child){background:#effaf4}.winner-cell{background:#e6f8ed!important;color:#087d3e!important;font-weight:900!important}.table-spacer{background:#fff}.empty-table{padding:38px 20px;text-align:center;display:flex;flex-direction:column;gap:5px;color:var(--ink)}.empty-table span{font-size:12px;color:#77818b}.table-actions{text-align:center;padding:14px}.secondary-button{background:#fff;border:1px solid #cfdbe2;border-radius:9px;padding:10px 18px;color:var(--ink);font-weight:750}
.verdict{max-width:1200px;margin:25px auto 0;border:1px solid #cfe8d9;border-radius:14px;background:linear-gradient(135deg,#f5fcf7,#fff);padding:22px}.verdict-head{display:flex;justify-content:space-between;gap:20px}.verdict-head h2{font-size:27px}.verdict-head p:last-child{color:var(--muted);margin:3px 0 0}.verdict-tag{font-size:10px;font-weight:800;color:var(--green);background:#e4f6eb;padding:7px 10px;border-radius:20px;height:max-content}.verdict-content{margin-top:18px}.verdict-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:14px}.winner-panel,.break-panel,.chart-panel{border:1px solid #dfe9e4;border-radius:10px;background:#fff;padding:17px}.winner-panel{background:#e4f7eb}.winner-panel .trophy{font-size:28px}.winner-panel h3{font-size:23px;margin:7px 0 3px}.winner-panel p,.break-panel p{margin:4px 0;color:#526478}.saving{display:inline-block;background:var(--green);color:#fff;border-radius:8px;padding:8px 11px;font-weight:850;margin-top:8px}.big-number{font-size:25px;color:var(--green);font-weight:900;margin:6px 0}.bar{display:flex;align-items:center;gap:7px;margin:9px 0;font-size:11px}.bar label{width:90px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar i{height:12px;background:#b9c5cf;border-radius:3px;display:block}.bar.best i{background:var(--green)}.bar b{min-width:78px;text-align:right}.empty-verdict{padding:20px;border:1px dashed #ccd8df;border-radius:9px;color:#718092;text-align:center}.calc-foot{font-size:9px;color:#7a858e;margin:12px 2px 0}
.sources{max-width:1200px;margin:38px auto;display:grid;grid-template-columns:1fr 1.7fr;gap:30px;padding-top:10px}.sources p:not(.eyebrow),.about>p{color:var(--muted);max-width:520px}.source-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.source-cards article{border:1px solid var(--line);border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:7px}.source-cards b{font-size:12px}.source-cards span{font-size:11px;color:var(--muted);flex:1}.source-cards a{font-size:10px;color:var(--green);font-weight:800}.about{max-width:1200px;margin:0 auto 45px;border-top:1px solid var(--line);padding-top:26px;display:flex;justify-content:space-between;gap:50px}.about>p{margin:0}footer{border-top:1px solid var(--line);padding:20px 32px;display:flex;justify-content:space-between;align-items:center;color:#81909e;font-size:10px}.footer-brand{display:flex;align-items:center;gap:8px;color:var(--ink)}.footer-brand img{width:35px;height:25px}
.picker-backdrop,.drawer-backdrop{position:fixed;inset:0;background:rgba(16,36,61,.42);z-index:50}.picker-modal{position:fixed;z-index:51;top:50%;left:50%;transform:translate(-50%,-46%);width:min(560px,calc(100vw - 28px));max-height:min(720px,calc(100vh - 30px));overflow:hidden;background:#fff;border-radius:16px;box-shadow:0 25px 70px rgba(7,17,26,.2);padding:22px;opacity:0;visibility:hidden;transition:.2s}.picker-modal.open{opacity:1;visibility:visible;transform:translate(-50%,-50%)}.picker-close,.drawer-close{position:absolute;right:13px;top:10px;border:0;background:none;font-size:26px;color:#7b858c;cursor:pointer}.picker-modal h2{margin:0;color:var(--ink);font-size:24px}.picker-help{margin:5px 0 14px;color:#727d87;font-size:11px}.picker-search{display:flex;align-items:center;gap:8px;border:1px solid #dce5df;border-radius:9px;padding:0 11px;height:42px}.picker-search span{font-size:19px;color:#7c8881}.picker-search input{border:0;outline:0;width:100%;font-size:13px}.picker-results{margin-top:10px;overflow:auto;max-height:500px}.picker-item{width:100%;display:grid;grid-template-columns:54px 1fr 18px;align-items:center;gap:9px;padding:9px;border:0;border-bottom:1px solid #eef1ef;background:#fff;text-align:left;cursor:pointer}.picker-item:hover{background:#f4faf6}.picker-thumb{width:54px;height:42px;background:#f2f5f6;border-radius:7px;display:grid;place-items:center;overflow:hidden}.picker-thumb img{width:100%;height:100%;object-fit:contain}.picker-car{font-size:21px}.picker-item b{display:block;font-size:11px;color:var(--ink)}.picker-item small{display:block;font-size:9px;color:#77818a;margin-top:3px}.picker-arrow{font-size:22px;color:var(--green)}.no-results{text-align:center;padding:30px 10px;color:#78838c;font-size:11px}
.drawer{position:fixed;z-index:52;right:0;top:0;height:100dvh;width:min(470px,94vw);background:#fff;transform:translateX(100%);transition:.25s;padding:26px 24px;overflow:auto;box-shadow:-20px 0 60px rgba(7,17,26,.15)}.drawer.open{transform:translateX(0)}.drawer h2{margin:0;color:var(--ink);font-size:24px}.drawer-sub{font-size:10px;color:#727d87;margin:4px 0 16px}.drawer-photo{height:190px;background:#f2f5f6;border-radius:12px;display:grid;place-items:center;margin-bottom:10px;overflow:hidden}.drawer-photo img{width:100%;height:100%;object-fit:contain}.drawer-section h3{font-size:13px;color:var(--ink)}.drawer-row{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #edf1ef;font-size:10px}.drawer-row span{color:#68737d}.drawer-row b{text-align:right;color:var(--ink)}.drawer-source{font-size:9px;line-height:1.5;color:#78828a;margin-top:18px}.drawer-source a{color:var(--green);font-weight:800}.photo-credit{font-size:8px;color:#8a959e;margin:0 0 12px}
@media(max-width:1050px){.profile-bar{grid-template-columns:1.5fr repeat(3,1fr) 1fr 1fr}.green-button{grid-column:span 2}.main-nav{display:none}.brand{min-width:auto}.compare-section,.verdict,.sources,.about{margin-left:16px;margin-right:16px}.compare-grid{grid-template-columns:155px repeat(var(--car-count,2),minmax(170px,1fr)) var(--add-col);overflow-x:auto}.comparison-table{overflow-x:auto}.table-head-row,.table-row{min-width:calc(var(--label-col) + var(--car-count,2) * 170px + var(--add-col))}.verdict-grid{grid-template-columns:1fr 1fr}.winner-panel{grid-column:span 2}}
@media(max-width:720px){
  :root{--label-col:0px;--add-col:0px}
  .site-header{padding:0 12px;height:58px}.brand-copy small,.main-nav,.search-button{display:none}.brand img{width:38px;height:32px;object-fit:contain}.brand-copy strong{font-size:14px}
  .profile-bar{margin:8px 8px 0;padding:12px 9px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-radius:11px}.profile-title{grid-column:1/-1}.profile-title b{font-size:11px}.profile-title small{font-size:8px}.profile-bar label{font-size:8px}.profile-bar input,.profile-bar select{height:34px;font-size:11px}.green-button{grid-column:1/-1;height:34px}
  .compare-section,.verdict,.sources,.about{margin:18px 8px}.section-head{display:block}.section-head h1{font-size:24px}.section-head p:not(.eyebrow){font-size:11px}.data-status{margin-top:7px;font-size:9px}
  /* Initial state: exactly two cards, both fully visible. If a 3rd/4th is added, the strip becomes horizontally scrollable. */
  .compare-grid{display:grid;grid-template-columns:repeat(var(--car-count,2),minmax(calc((100% - 2px)/2),calc((100% - 2px)/2)));grid-template-areas:'cars';overflow-x:auto;border-radius:10px;margin-top:12px;scroll-snap-type:x proximity}.intro-column{display:none}.car-columns{display:contents}.car-card{grid-column:auto;min-width:0!important;width:100%;padding:9px 7px 11px;min-height:218px!important;scroll-snap-align:start}.car-card.empty{min-height:218px!important}.car-photo{height:82px;margin-bottom:7px}.car-card h3{font-size:11px}.version{font-size:8px;min-height:23px}.price-note{font-size:8px;line-height:1.3}.spec-link,.select-button{font-size:9px}.select-button{padding:8px 15px}.add-column{grid-column:1/-1;min-height:48px;width:calc(100vw - 16px);justify-self:start;flex-direction:row;gap:7px;border-top:1px solid var(--line);padding:8px;display:flex!important}.add-column span{width:27px;height:27px;font-size:19px}.add-column b{font-size:10px}.add-column small{font-size:8px}
  .comparison-table{border-radius:0 0 10px 10px;overflow-x:auto}.table-head-row,.table-row{grid-template-columns:30% 35% 35%;min-width:0}.table-head-row>div,.table-row>div{padding:7px 5px;font-size:8px;overflow-wrap:anywhere}.table-head-row>div{font-size:9px}.table-row>div:first-child{font-size:8px}.group-row>div{font-size:8px}.table-spacer{display:none}.table-actions{margin:10px;padding:0}.secondary-button{font-size:9px}
  .verdict{padding:14px;border-radius:11px}.verdict-head{display:block}.verdict h2{font-size:22px}.verdict-head p:not(.eyebrow){font-size:10px}.verdict-tag{display:inline-block;margin-top:5px}.verdict-grid{grid-template-columns:1fr;gap:8px}.winner-panel h3{font-size:19px}.sources{display:block}.source-cards{grid-template-columns:1fr;margin-top:12px}.about{display:block;padding:18px 0}.about>p{font-size:10px}footer{padding:15px 10px;display:block;font-size:8px}.footer-brand{margin-bottom:6px}
  .picker-modal{padding:18px 14px;border-radius:14px;width:calc(100vw - 20px)}.picker-modal h2{font-size:21px}.picker-results{max-height:calc(100vh - 220px)}.drawer{width:100vw;padding:22px 16px}.drawer-photo{height:150px}
}

/* V5 — alinhamento estrutural: a coluna Dados ocupa exatamente o mesmo espaço
   no cabeçalho dos carros e na tabela de comparação. */
.compare-grid{grid-template-columns:var(--label-col) repeat(var(--car-count,2),minmax(0,1fr));}
.car-columns{display:contents}
.add-car-row{width:100%;min-height:58px;border:1px dashed #b8d9c5;border-top:0;border-radius:0 0 10px 10px;background:#f7fcf9;color:var(--green);display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px}
.add-car-row span{width:32px;height:32px;border:2px solid var(--green);border-radius:50%;display:grid;place-items:center;font-size:22px;line-height:1}
.add-car-row b{font-size:12px}.add-car-row small{color:#728292;font-size:10px}.add-car-row[disabled]{opacity:.4;cursor:not-allowed}
.empty-value{color:#a1abb4!important;background:#fff!important}.table-scroll{width:100%}
.car-card.empty .select-plus{cursor:pointer;background:#fff}.car-card.empty .select-plus:hover{background:#eaf8ef}.car-card .remove{z-index:3;width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:0 1px 5px rgba(16,36,61,.08);display:grid;place-items:center;line-height:1}
.image-failed:after{content:'Imagem indisponível';font-size:9px;color:#8a969f}

@media(max-width:1050px){
  :root{--label-col:155px}
  .compare-grid{grid-template-columns:var(--label-col) repeat(var(--car-count,2),minmax(170px,1fr));overflow-x:auto}
  .comparison-table{overflow-x:auto}
  .table-head-row,.table-row{min-width:calc(var(--label-col) + var(--car-count,2) * 170px)}
}
@media(max-width:720px){
  :root{--label-col:29%;}
  .compare-grid{grid-template-columns:var(--label-col) repeat(var(--car-count,2),minmax(0,1fr));overflow:hidden;}
  .intro-column{display:flex;padding:10px 7px;min-width:0}.intro-icon{font-size:23px;margin-bottom:7px}.intro-column b{font-size:9px;line-height:1.2}.intro-column span{font-size:7px;line-height:1.35}
  .car-card{padding:9px 6px 10px;min-height:218px!important;border-right:1px solid var(--line)}
  .car-photo{height:76px}.car-card h3{font-size:10px}.version{font-size:7px;min-height:25px}.price-note{font-size:7px}.spec-link,.select-button{font-size:8px}.select-button{padding:7px 12px}.empty-copy{font-size:8px}
  .add-car-row{min-height:46px;border-radius:0 0 10px 10px}.add-car-row span{width:27px;height:27px;font-size:19px}.add-car-row b{font-size:10px}.add-car-row small{font-size:8px}
  .comparison-table{overflow:hidden}.table-head-row,.table-row{grid-template-columns:29% repeat(var(--car-count,2),minmax(0,1fr));min-width:0}.table-head-row>div,.table-row>div{padding:7px 4px;font-size:8px}.table-head-row>div{font-size:8px}.table-row>div:first-child{font-size:7.8px}.group-row>div{font-size:7.8px}.empty-value{font-size:8px!important}
}

/* Final alignment override: table has exactly the same number of columns as the car header. */
.compare-grid,.table-row,.table-head-row{grid-template-columns:var(--label-col) repeat(var(--car-count,2),minmax(0,1fr));}
@media(max-width:1050px){.compare-grid,.table-row,.table-head-row{grid-template-columns:var(--label-col) repeat(var(--car-count,2),minmax(170px,1fr));}.table-head-row,.table-row{min-width:calc(var(--label-col) + var(--car-count,2) * 170px);}}
@media(max-width:720px){.compare-grid,.table-row,.table-head-row{grid-template-columns:29% repeat(var(--car-count,2),minmax(0,1fr));}.table-head-row,.table-row{min-width:0;}}

/* V6 — mobile: o cabeçalho usa exatamente a mesma malha da tabela. */
@media(max-width:720px){
  :root{--label-col:29%;--mobile-car-col:220px}
  .compare-grid{grid-template-columns:var(--label-col) repeat(var(--car-count,2),var(--mobile-car-col));min-width:calc(29% + 440px);overflow-x:auto;overflow-y:hidden;display:grid;scrollbar-width:thin}
  .intro-column{display:flex!important;min-width:0;padding:10px 7px;justify-content:center;border-right:1px solid var(--line)}
  .intro-icon{font-size:22px;margin-bottom:5px}.intro-column b{font-size:9px;line-height:1.2}.intro-column span{font-size:7px;line-height:1.3}
  .car-card{width:auto!important;min-width:var(--mobile-car-col)!important;padding:8px 8px 10px;min-height:185px!important}
  .car-photo{height:64px!important;margin-bottom:6px}.car-photo img{object-fit:contain;padding:2px}
  .car-card h3{font-size:10px;margin:4px 0 2px}.car-card .version{font-size:7px;min-height:22px}.price-note{font-size:7px}.spec-link,.select-button{font-size:8px}.select-button{padding:6px 11px}
  .add-car-row{margin-top:0;position:relative;z-index:2}
  .comparison-table{overflow-x:auto;overflow-y:hidden}
  .table-head-row,.table-row{grid-template-columns:var(--label-col) repeat(var(--car-count,2),var(--mobile-car-col));min-width:calc(29% + 440px)}
  .table-head-row>div,.table-row>div{padding:7px 5px;font-size:8px}.table-head-row>div{font-size:8px}
}
.add-car-row{touch-action:manipulation;-webkit-tap-highlight-color:transparent}


/* V6 — alinhamento final com a tabela + fotos menores + seletor funcional */
.compare-grid{
  --car-min:0px;
  grid-template-columns:var(--label-col) repeat(var(--car-count,2),minmax(var(--car-min),1fr));
  align-items:stretch;
}
.car-columns{display:contents}
.car-card{min-width:0}
.car-photo{height:104px}
.car-photo img{width:100%;height:100%;object-fit:contain;padding:2px}
.add-car-row{position:relative;z-index:4;pointer-events:auto;cursor:pointer;user-select:none}
.add-car-row span{pointer-events:none}.add-car-row b,.add-car-row small{pointer-events:none}

@media(max-width:1050px){
  :root{--label-col:155px}
  .compare-grid,.table-head-row,.table-row{grid-template-columns:var(--label-col) repeat(var(--car-count,2),minmax(max(0px,var(--car-min)),1fr));}
  .compare-grid{overflow-x:auto}
  .table-head-row,.table-row{min-width:calc(var(--label-col) + var(--car-count,2) * max(170px,var(--car-min)))}
}

@media(max-width:720px){
  :root{--label-col:29%}
  .compare-grid{
    grid-template-columns:var(--label-col) repeat(var(--car-count,2),minmax(max(0px,var(--car-min)),1fr));
    overflow-x:auto;
    overflow-y:hidden;
    border-radius:10px 10px 0 0;
    scroll-snap-type:x proximity;
  }
  .intro-column{
    display:flex !important;
    grid-column:1;
    min-width:0;
    padding:10px 7px;
    justify-content:center;
  }
  .intro-icon{font-size:20px;margin-bottom:5px}
  .intro-column b{font-size:9px;line-height:1.2}
  .intro-column span{font-size:7px;line-height:1.25}
  .car-card{
    grid-column:auto;
    min-width:0 !important;
    width:auto;
    padding:8px 6px 9px;
    min-height:190px !important;
    scroll-snap-align:start;
  }
  .car-photo{height:60px;margin-bottom:6px}
  .car-placeholder{font-size:28px}
  .car-card h3{font-size:10px;margin:4px 0 2px}
  .car-card .version{font-size:7px;min-height:21px}
  .price-note{font-size:7px;line-height:1.2}
  .spec-link,.select-button{font-size:8px;margin-top:6px}
  .select-button{padding:6px 10px}
  .empty-copy{font-size:7.5px;line-height:1.3}
  .car-card .remove{width:24px;height:24px;right:5px;top:5px;font-size:18px}
  .add-car-row{min-height:48px;border-radius:0 0 10px 10px}
  .add-car-row span{width:28px;height:28px;font-size:19px}
  .add-car-row b{font-size:10px}.add-car-row small{font-size:8px}
  .comparison-table{overflow-x:auto}
  .table-head-row,.table-row{
    grid-template-columns:29% repeat(var(--car-count,2),minmax(max(0px,var(--car-min)),1fr));
    min-width:0;
  }
  .table-head-row>div,.table-row>div{padding:7px 4px;font-size:8px}
  .table-head-row>div{font-size:8px}
  .table-row>div:first-child{font-size:7.8px}
  .group-row>div{font-size:7.8px}
}


/* V7 — terceiro/quarto carro e alinhamento real com a tabela */
.add-car-row{pointer-events:auto!important;touch-action:manipulation!important}
.car-card .remove{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;align-items:center;justify-content:center}
@media(max-width:720px){
  :root{--label-col:29%;--mobile-car-col:145px}
  .compare-grid{grid-template-columns:var(--label-col) repeat(var(--car-count,2),var(--mobile-car-col))!important;min-width:calc(29% + var(--car-count,2) * var(--mobile-car-col))!important;overflow-x:auto!important}
  .car-card{min-width:var(--mobile-car-col)!important;width:var(--mobile-car-col)!important}
  .comparison-table{overflow-x:auto!important}
  .table-head-row,.table-row{grid-template-columns:var(--label-col) repeat(var(--car-count,2),var(--mobile-car-col))!important;min-width:calc(29% + var(--car-count,2) * var(--mobile-car-col))!important}
  .table-head-row>div,.table-row>div{overflow-wrap:anywhere}
}

/* V9 — refinamento visual, tabela legível e ficha completa */
.site-header{
  height:78px;
  padding:0 28px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdfc 100%);
  border-bottom:1px solid #e4ece8;
  box-shadow:0 4px 18px rgba(16,36,61,.045);
}
.brand{gap:13px;min-width:340px}
.brand img{width:58px;height:45px;filter:drop-shadow(0 3px 5px rgba(16,36,61,.08))}
.brand-copy strong{font-size:21px;letter-spacing:-.75px}
.brand-copy small{font-size:9px;color:#0b8b48;letter-spacing:1px}
.main-nav{gap:10px}
.main-nav a{height:38px;padding:0 12px;border-radius:20px}
.main-nav a.active{background:#eaf8f0;color:#087b3d}
.main-nav a.active:after{display:none}
.search-button{background:#f7faf9;border-color:#dce8e1}
.section-head{margin-bottom:18px}
.section-head h1{font-size:34px}

/* A tabela de 2 carros cabe inteira no celular; valores quebram em linhas em vez de criar uma tabela maior que a tela. */
.comparison-table{width:100%;overflow:hidden}
.table-scroll{width:100%;overflow:hidden}
.table-head-row,.table-row{width:100%;grid-template-columns:30% repeat(var(--car-count,2),minmax(0,1fr))!important;min-width:0!important}
.table-head-row>div,.table-row>div{font-size:12px;padding:10px 9px;line-height:1.35;overflow-wrap:anywhere;word-break:normal}
.table-head-row>div{font-size:12px;line-height:1.25}
.table-row>div:first-child{font-size:11.5px}
.group-row>div{font-size:11px;padding-top:9px;padding-bottom:9px}
.table-actions{padding:16px 0}
.secondary-button{font-size:12px;padding:11px 20px}

.all-specs-list{display:grid;gap:18px;margin-top:16px}
.all-spec-card{border:1px solid #dfe9e4;border-radius:14px;padding:14px;background:#fff}
.all-spec-photo{height:145px;border-radius:11px;overflow:hidden;background:#f4f7f7}
.all-spec-photo .drawer-photo{height:145px;margin:0;border-radius:0}
.all-spec-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:12px 0 8px}
.all-spec-title h3{margin:0;font-size:19px;color:var(--ink)}
.all-spec-title span{font-size:10px;color:#718092}
.mini-spec{border:1px solid #cfe1d7;background:#f2faf5;color:#087b3d;border-radius:8px;padding:8px 10px;font-size:10px;font-weight:800;white-space:nowrap}
.all-spec-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #edf1ef}
.all-spec-grid>div{padding:8px 5px;border-bottom:1px solid #edf1ef;display:flex;justify-content:space-between;gap:10px;font-size:10px}
.all-spec-grid span{color:#68737d}.all-spec-grid b{text-align:right;color:var(--ink);overflow-wrap:anywhere}

@media(max-width:720px){
  .site-header{height:64px;padding:0 13px}
  .brand{min-width:0;gap:9px}
  .brand img{width:46px;height:37px}
  .brand-copy strong{font-size:16px;letter-spacing:-.5px}
  .brand-copy small{display:block;font-size:7px;letter-spacing:.7px}
  .search-button{display:grid;margin-left:auto;width:36px;height:36px;font-size:19px}
  .section-head h1{font-size:25px}
  .comparison-table{overflow:hidden}
  .table-scroll{overflow:hidden}
  .table-head-row,.table-row{grid-template-columns:30% repeat(var(--car-count,2),minmax(0,1fr))!important;min-width:0!important}
  .table-head-row>div,.table-row>div{font-size:10.5px;padding:9px 5px;line-height:1.35;overflow-wrap:anywhere}
  .table-head-row>div{font-size:10.5px}
  .table-row>div:first-child{font-size:10px}
  .group-row>div{font-size:10px;padding:9px 5px}
  .empty-value{font-size:10.5px!important}
  .all-spec-card{padding:11px}
  .all-spec-photo,.all-spec-photo .drawer-photo{height:115px}
  .all-spec-title h3{font-size:16px}
  .all-spec-grid>div{font-size:9.5px;padding:7px 3px}
}


/* V10 — fotos sempre inteiras, sem corte */
.car-photo, .drawer-photo, .all-spec-photo { display:flex !important; align-items:center !important; justify-content:center !important; overflow:hidden !important; }
.car-photo img, .drawer-photo img, .all-spec-photo img { display:block !important; width:auto !important; height:auto !important; max-width:100% !important; max-height:100% !important; object-fit:contain !important; padding:0 !important; flex:0 1 auto !important; }
.car-photo { min-height:132px; height:132px; }
.drawer-photo { min-height:210px; height:210px; }
.all-spec-photo { min-height:185px; height:185px; }
.all-spec-photo .drawer-photo { min-height:185px; height:185px; width:100%; }
@media(max-width:720px){ .car-photo { min-height:100px; height:100px; } .drawer-photo { min-height:190px; height:190px; } .all-spec-photo, .all-spec-photo .drawer-photo { min-height:175px; height:175px; } }
@media(max-width:480px){ .all-spec-photo, .all-spec-photo .drawer-photo { min-height:165px; height:165px; } }


/* V11 — identidade final: bico de bomba + raio, hero moderno e 2 carros como padrão. */
:root{--hero-navy:#10243d;--hero-blue:#1b9fd0}
.site-header{height:76px;padding:0 30px;gap:22px;border-bottom:1px solid #e5ece9;box-shadow:0 5px 20px rgba(16,36,61,.05)}
.brand{min-width:320px;gap:10px}.brand img{width:55px;height:42px}.brand-copy strong{font-size:20px}.brand-copy small{color:#0b8b48;font-size:8.5px}
.main-nav{gap:5px}.main-nav a{font-size:12px;padding:0 13px;color:#31445b}.main-nav a.active{background:#e8f7ef;color:#087b3d}
.search-button{background:#f6faf8;border-color:#dce8e2}
.hero-modern{max-width:1200px;margin:18px auto 0;min-height:330px;border-radius:22px;overflow:hidden;position:relative;display:grid;grid-template-columns:1.05fr .95fr;background:linear-gradient(115deg,#f7fbfa 0%,#eef8f3 55%,#e8f2ef 100%);border:1px solid #e1ebe7;box-shadow:0 14px 38px rgba(16,36,61,.06)}
.hero-copy{padding:45px 42px 38px;position:relative;z-index:2}.hero-kicker{font-size:11px;font-weight:900;letter-spacing:1.8px;color:var(--green)}
.hero-copy h1{font-size:52px;line-height:.98;letter-spacing:-2.8px;margin:12px 0 13px;color:var(--hero-navy)}.hero-copy h1 em{font-style:normal;color:var(--green)}
.hero-copy>p{max-width:610px;margin:0;color:#5d6f82;font-size:17px;line-height:1.45}.hero-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.hero-pills span{font-size:10px;font-weight:800;color:#27516a;background:rgba(255,255,255,.8);border:1px solid #dbe8e3;border-radius:99px;padding:7px 10px}.hero-cta{display:inline-flex;align-items:center;gap:12px;margin-top:20px;background:var(--green);color:#fff;border-radius:10px;padding:11px 16px;font-size:12px;font-weight:850;box-shadow:0 7px 18px rgba(11,154,73,.18)}.hero-cta b{font-size:16px}
.hero-art{position:relative;min-height:330px;display:flex;align-items:flex-end;justify-content:flex-end;overflow:hidden}.hero-art:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 55% 48%,rgba(255,255,255,.85),rgba(255,255,255,0) 48%)}.hero-glow{position:absolute;width:330px;height:330px;right:-20px;top:10px;border-radius:50%;background:radial-gradient(circle,rgba(11,154,73,.13),rgba(27,159,208,.05) 45%,transparent 70%)}.hero-art img{position:relative;width:100%;max-width:760px;height:100%;margin:0;filter:drop-shadow(0 18px 20px rgba(16,36,61,.13));object-fit:contain;object-position:center bottom}
.profile-bar{margin-top:16px}
/* Foto inteira, sem crop: o conteúdo do carro sempre fica visível. */
.car-photo,.drawer-photo,.all-spec-photo{background:linear-gradient(145deg,#f6f9f8,#edf3f1)}.car-photo img,.drawer-photo img,.all-spec-photo img{object-fit:contain!important;object-position:center!important;padding:5px!important;width:100%;height:100%}.car-photo{height:112px}.all-spec-photo,.all-spec-photo .drawer-photo{height:160px}.drawer-photo{height:170px}
/* Exatamente dois carros no estado inicial. O 3º/4º só nasce depois do clique em Adicionar carro. */
.compare-grid{--car-count:2}.add-car-row{display:flex;align-items:center;justify-content:center;gap:10px;margin:0;border:1px dashed #a9d8bd;border-top:0;background:#f5fcf8;color:var(--green);min-height:58px;border-radius:0 0 10px 10px}.add-car-row span{width:32px;height:32px;border:2px solid #79c79a;border-radius:50%;display:grid;place-items:center;font-size:22px}.add-car-row b{font-size:12px}.add-car-row small{font-size:10px;color:#74838e}
/* Legibilidade da tabela. */
.table-head-row>div,.table-row>div{font-size:12px;padding:10px 9px;line-height:1.35}.table-head-row>div{font-size:12px}.table-row>div:first-child{font-size:11.5px}.group-row>div{font-size:11.5px}
@media(max-width:1050px){.hero-modern{margin-left:16px;margin-right:16px}.hero-copy h1{font-size:44px}.hero-art img{width:100%;margin:0}.main-nav a:nth-child(n+3){display:none}}
@media(max-width:720px){
 .site-header{height:62px;padding:0 12px}.brand{gap:8px}.brand img{width:44px;height:38px;object-fit:contain}.brand-copy strong{font-size:15px}.brand-copy small{font-size:7px}.search-button{width:35px;height:35px}
 .hero-modern{display:block;min-height:0;margin:10px 8px 0;border-radius:16px}.hero-copy{padding:24px 18px 18px}.hero-kicker{font-size:8px;letter-spacing:1.3px}.hero-copy h1{font-size:32px;letter-spacing:-1.7px;margin:8px 0 9px}.hero-copy>p{font-size:12px;line-height:1.4}.hero-pills{gap:5px;margin-top:12px}.hero-pills span{font-size:8px;padding:5px 7px}.hero-cta{font-size:10px;padding:9px 12px;margin-top:12px}.hero-art{height:230px;min-height:230px}.hero-art img{width:100%;max-width:none;height:100%;margin:0;object-fit:contain;object-position:center bottom;border-radius:0 0 16px 16px}.profile-bar{margin:10px 8px 0}
 .compare-section{margin-top:18px}.section-head h1{font-size:25px}.section-head>div:first-child p:last-child{font-size:11px}
 /* No celular, os dois cards padrão cabem lado a lado; somente após adicionar um terceiro há rolagem horizontal. */
 .compare-grid{grid-template-columns:29% repeat(var(--car-count,2),minmax(0,1fr))!important;min-width:0!important;overflow:hidden}.intro-column{display:flex!important;padding:9px 6px}.intro-column b{font-size:9px}.intro-column span{font-size:7px}.car-card{min-width:0!important;width:auto!important;padding:8px 6px 10px}.car-photo{height:76px!important}.car-card h3{font-size:10px}.car-card .version{font-size:7.5px;min-height:20px}.price-note{font-size:7.5px}.spec-link{font-size:8px}.add-car-row{min-height:48px}
 .comparison-table{overflow:hidden}.table-head-row,.table-row{grid-template-columns:29% repeat(var(--car-count,2),minmax(0,1fr))!important;min-width:0!important}.table-head-row>div,.table-row>div{font-size:10.5px;padding:9px 5px}.table-head-row>div{font-size:10.5px}.table-row>div:first-child{font-size:10px}.group-row>div{font-size:10px}
 .all-spec-photo,.all-spec-photo .drawer-photo{height:125px}.drawer-photo{height:150px}
}
@media(max-width:380px){.hero-copy h1{font-size:29px}.hero-pills span{font-size:7.5px}.brand-copy strong{font-size:14px}.compare-grid{grid-template-columns:28% repeat(var(--car-count,2),minmax(0,1fr))!important}.table-head-row,.table-row{grid-template-columns:28% repeat(var(--car-count,2),minmax(0,1fr))!important}.table-head-row>div,.table-row>div{font-size:9.5px;padding:8px 4px}}

/* V13 — dados claros, privacidade e SEO */
.data-scope-note{margin:10px 2px 0;padding:11px 13px;border:1px solid #e1ebe6;border-radius:10px;background:#f7fbf9;color:#687887;font-size:11px;line-height:1.45}.data-scope-note b{color:#18304a}.site-header a,.site-header a:visited,footer a,footer a:visited{color:inherit;text-decoration:none}.privacy-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:100;background:#10243d;color:#fff;border-radius:16px;padding:14px 16px;box-shadow:0 14px 40px rgba(16,36,61,.22);display:flex;gap:16px;align-items:center;justify-content:space-between}.privacy-banner[hidden]{display:none}.privacy-banner>div:first-child{display:grid;gap:3px}.privacy-banner b{font-size:14px}.privacy-banner span{font-size:11px;color:#dbe7ef;line-height:1.4}.privacy-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}.privacy-actions a{font-size:11px;color:#cfeedd}.privacy-actions button{border:0;border-radius:9px;padding:9px 14px;background:#0ca653;color:#fff;font-weight:800;cursor:pointer}.legal-page{background:#f7faf9;color:#10243d}.legal-page .site-header{position:sticky;top:0;z-index:5}.legal-wrap{max-width:820px;margin:38px auto 60px;padding:0 22px}.legal-wrap h1{font-size:42px;letter-spacing:-1.5px;margin:6px 0 16px}.legal-wrap h2{font-size:20px;margin:28px 0 8px}.legal-wrap p{color:#596b7a;line-height:1.7;font-size:15px}.legal-wrap .eyebrow{color:#0b8b48;font-weight:900;letter-spacing:2px;font-size:11px}.legal-updated{font-size:12px!important;color:#82909d!important;margin-top:35px}.legal-page footer{background:#fff}.legal-page footer p{margin:0}.legal-page footer a{color:#0b7f42;text-decoration:underline}@media(max-width:720px){.privacy-banner{left:10px;right:10px;bottom:10px;display:block}.privacy-actions{margin-top:10px;justify-content:flex-end;flex-wrap:wrap}.legal-wrap{margin-top:25px}.legal-wrap h1{font-size:31px}.legal-wrap p{font-size:14px}}

/* V17 — logo da OPÇÃO 2 original + carro inteiro no mobile */
.brand img{width:54px;height:46px;object-fit:contain;object-position:center;}
@media(max-width:720px){
  .brand img{width:44px;height:44px;object-fit:contain;}
  .hero-art{height:205px!important;min-height:205px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;}
  .hero-art img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:205px!important;object-fit:contain!important;object-position:center!important;margin:0 auto!important;}
}

/* V19 — tipografia desktop maior e nomes completos */
@media(min-width:721px){
  body{font-size:16px;line-height:1.5}
  .site-header{height:82px}
  .brand-copy strong{font-size:22px}
  .brand-copy small{font-size:10px}
  .main-nav a{font-size:15px}
  .search-button{font-size:24px}
  .profile-title b{font-size:15px}
  .profile-title small,.profile-bar small{font-size:12px}
  .profile-bar label{font-size:12px}
  .profile-bar input,.profile-bar select{height:42px;font-size:15px}
  .solar-label span{font-size:13px}
  .green-button{font-size:14px}
  .section-head h1{font-size:36px}
  .section-head>div:first-child p:last-child{font-size:17px}
  .data-status{font-size:13px}
  .intro-column b{font-size:17px}
  .intro-column span{font-size:13px}
  .car-card h3{font-size:17px;line-height:1.2}
  .car-card .version{font-size:12px;min-height:30px}
  .select-button,.spec-link{font-size:13px}
  .table-head-row>div,.table-row>div{font-size:12px;padding:10px 12px}
  .table-head-row>div{font-size:13px}
  .table-row>div:first-child{font-size:12px}
  .group-row>div{font-size:12px}
  .picker-modal h2{font-size:27px}
  .picker-help{font-size:13px}
  .picker-search input{font-size:15px}
  .picker-item{padding:12px}
  .picker-item b{font-size:14px}
  .picker-item small{font-size:11px}
  .no-results{font-size:13px}
}

.picker-item b{line-height:1.25}.picker-item small{line-height:1.3}.no-results{display:flex;flex-direction:column;gap:8px}.no-results b{color:var(--ink)}.no-results span{color:#78838c}.no-results a{color:var(--green);font-weight:800;text-decoration:underline}


/* V20 — preços FIPE, combustível por extenso, limpar pesquisa e remoção em todos os cards */
.car-card{position:relative}
.car-card .remove{position:absolute;top:10px;right:10px;z-index:5;width:34px;height:34px;border:1px solid #cbd8e1;border-radius:10px;background:#fff;color:#10243d;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(16,36,61,.08)}
.car-card .remove:hover{background:#f4faf7;border-color:#55b889;color:#008c4a}
.car-price{margin:8px 0 2px;color:#66778a;font-size:12px;line-height:1.35}
.car-price b{display:block;color:#008c4a;font-size:20px;line-height:1.15;margin-top:2px}
.car-price small{display:block;color:#8a98a5;font-size:10px;margin-top:2px}
.table-head-row>div small{display:block;font-weight:500;color:#718096;font-size:11px;line-height:1.25;margin-top:3px}
.table-row>div:first-child{font-weight:700}
.picker-search{display:flex;align-items:center;gap:8px}
.picker-search input{min-width:0;flex:1}
#clearSearch{height:42px;border:1px solid #cbd8e1;background:#fff;border-radius:10px;padding:0 12px;font-weight:800;color:#17324f;white-space:nowrap;cursor:pointer}
#clearSearch:hover{background:#f4faf7;border-color:#55b889;color:#008c4a}
@media(min-width:721px){.car-price{font-size:13px}.car-price b{font-size:22px}.car-card .remove{width:38px;height:38px;font-size:26px}.picker-search input{font-size:15px}}
