/* Mainichi Car Service — identidade compartilhada, sem regras de negócio. */
:root {
  --navy: #061b2c;
  --navy2: #103952;
  --yellow: #ffd000;
  --paper: #f5f8fa;
  --brand-blue: #00a7ef;
}
.brand-service-header img, .brand-service-footer img {
  display: block; width: 100%; height: 100%; object-fit: contain;
}
.brand-service-footer { display: block; width: 220px; height: 100px; flex: none; }
.brand-public .site-header, .brand-public footer { background: #061b2c; }
.brand-public .header-logo-window { width: 205px; height: 88px; display: block; overflow: visible; }
.brand-public .header-logo-window img { width: 100%; height: 100%; object-fit: contain; transform: none; }
.brand-public .hero.cinematic-hero { background: #061b2c; }
.brand-public .hero-photo-shade { background: linear-gradient(90deg,#061b2c 0%,#061b2cbd 35%,#061b2c18 78%),linear-gradient(0deg,#061b2c55,transparent 45%); }
.brand-public .hero-stage { isolation: isolate; }
.brand-public .hero-copy { max-width: 61%; }
.brand-public .hero-brand-avatar {
  position: absolute; z-index: 1; right: 0; bottom: 0; width: min(40%, 440px);
  height: 93%; object-fit: contain; object-position: bottom right;
  filter: drop-shadow(-12px 4px 16px #006ba944) drop-shadow(7px 2px 12px #0007);
  pointer-events: none;
}
.brand-public .founder-section, .brand-public .booking-section { background: radial-gradient(ellipse at 80% 10%,#174d67,#061b2c 50%,#030a12); }
.brand-public .section-heading h2, .brand-public .hero h1 { font-weight: 800; }
.brand-public .hero h1 em { color: #ffd000; }
.brand-public .button, .brand-access .access-cta, .brand-management .auth-card .primary, .brand-client .auth-card .button-primary, .brand-fleet .button, .brand-shop .button {
  border-radius: 999px; box-shadow: inset 0 2px 3px #ffffff88, 0 7px 18px #0002;
}
.brand-public .button:hover, .brand-access .access-cta:hover, .brand-management .auth-card .primary:hover, .brand-client .auth-card .button-primary:hover { filter: brightness(1.04); }
.brand-access {
  min-height: 100vh; background: radial-gradient(ellipse at 10% 70%,#12618b99,transparent 50%),linear-gradient(120deg,#061b2c,#030b14 75%); color: #fff;
}
.brand-access .access-wrap { width: min(1050px,calc(100% - 36px)); margin: 32px auto; }
.brand-access .back-site, .brand-access .access-foot { color: #d4e3ef; }
.brand-access .access-shell { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 28px; align-items: center; }
.brand-access .access-visual { align-self: end; display: flex; align-items: flex-end; justify-content: center; min-height: 300px; }
.brand-access .access-visual img { width: 100%; max-height: 570px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 0 28px #0089c544); }
.brand-access .access-card { margin-top: 16px; color: #102438; background: #f5f8fa; padding: 32px; box-shadow: 0 18px 70px #0005; }
.brand-access .access-brand img { width: min(340px,100%); height: 112px; }
.brand-access .access-intro h1 em { color: #8b6b00; }
.brand-access .access-tab.active { background: #ffd000; color: #061b2c; }
.brand-access .access-cta { display: block; line-height: 1.4; white-space: normal; width: 100%; height: auto; position: static; margin: 14px 0 12px; padding: 14px 16px; background: linear-gradient(175deg,#ffe65d,#ffd000); color: #061b2c; }
.brand-access .access-panel>small { display: block; position: static; margin-top: 9px; clear: both; line-height: 1.6; }
.brand-management { background: #f5f8fa; }
.brand-management .auth-wrap { background: radial-gradient(ellipse at 12% 75%,#14628b88,transparent 55%),linear-gradient(125deg,#061b2c,#020912); padding-top: 55px; }
.brand-management .auth-wrap .back { color: #fff; }
.brand-management .management-auth-layout { display: grid; grid-template-columns: minmax(0,380px) minmax(0,450px); gap: 36px; align-items: center; width: min(900px,100%); }
.brand-management .management-auth-visual { color: white; text-align: center; align-self: end; }
.brand-management .management-auth-visual h2 { font-size: clamp(26px,3vw,39px); margin: 18px 0 6px; font-weight: 800; }
.brand-management .management-auth-visual p { color: #ffd000; }
.brand-management .management-auth-visual img { display: block; width: 100%; max-height: 440px; object-fit: contain; object-position: bottom; }
.brand-management .auth-card .logo { width: min(315px,100%); height: 115px; }
.brand-management .auth-card .primary { background: linear-gradient(#ffe45a,#ffd000); }
.brand-management .sidebar { background: #061b2c; }
.brand-management .sidebrand { height: 116px; }
.brand-management .sidebrand img { width: min(220px,100%); height: 77px; }
.brand-management .nav button.active { background: #ffd000; color: #061b2c; }
.brand-client .topbar { background: #061b2c; }
.brand-client .topbar .brand img { width: min(230px,45vw); height: 73px; }
.brand-client .auth-layout { gap: clamp(24px,4vw,58px); grid-template-columns: minmax(0,1fr) minmax(0,470px); }
.brand-client .welcome { background: radial-gradient(ellipse at 70% 75%,#185a82,#061b2c 70%); padding: 36px 30px 0; border-radius: 20px; color: white; overflow: hidden; align-self: stretch; display: flex; flex-direction: column; }
.brand-client .welcome h1 { color: #fff; font-weight: 800; }
.brand-client .welcome h1 em, .brand-client .welcome-note strong { color: #ffd000; }
.brand-client .welcome .lead,.brand-client .welcome-note,.brand-client .welcome .eyebrow { color: #deebf5; }
.brand-client .welcome .lead { margin-bottom: 20px; }
.brand-client .welcome-note { border-color: #ffffff32; padding-top: 14px; }
.brand-client .welcome-avatar { width: min(82%,325px); height: 290px; object-fit: contain; object-position: bottom; align-self: center; margin-top: auto; filter: drop-shadow(0 0 20px #009ce44d); }
.brand-client .auth-card { box-shadow: 0 15px 40px #061b2c18; }
.brand-client .auth-card .button-primary { background: linear-gradient(#ffe65d,#ffd000); color: #061b2c; }
.brand-client .portal-head { border-bottom: 1px solid #e3eaf0; padding-bottom: 16px; }
.brand-client .link-card { max-width: 100%; }
.brand-client #linkPending { align-items: center; gap: 22px; position: relative; }
.brand-client #linkPending>div:last-child { flex: 1; min-width: 0; }
.brand-client #linkPending .auth-form { max-width: 520px; }
.brand-client #linkPending .auth-form .button-primary { width: 100%; border-radius: 999px; background: linear-gradient(#ffe65d,#ffd000); color: #061b2c; }
@media(min-width: 900px) {
  .brand-client #linkPending:before { content:""; flex: 0 0 min(30%,230px); align-self: stretch; min-height: 225px; background: url('mascot-tablet.png') center bottom/contain no-repeat; }
}
.brand-shop .shop-banner { background: linear-gradient(115deg,#061b2c,#17435d); }
.brand-shop .header-logo-window { width: 205px; height: 85px; overflow: visible; }
.brand-shop .header-logo-window img { width: 100%; height: 100%; object-fit: contain; transform: none; }
.brand-shop .shop-banner img { object-fit: contain; }
.brand-fleet .fleet-bar { background: #061b2c; }
.brand-fleet .fleet-hero { background: radial-gradient(ellipse at 75% 10%,#14577b,#061b2c 60%); }
.fleet-brand-mark { background-image: url('frotas-marca.png'); background-size: contain; background-position: center; background-repeat: no-repeat; aspect-ratio: 3/1; width: min(100%,410px); }
.fleet-approved-avatar { background-image: url('mascot-tablet.png'); background-size: contain; background-position: bottom center; background-repeat: no-repeat; aspect-ratio: 1139/1381; }
.brand-fleet .fleet-hero .fleet-brand-mark { width: min(100%,580px); }
.brand-fleet .fleet-hero .fleet-approved-avatar { display: none; }
@media (max-width: 900px) {
  .brand-public .header-logo-window, .brand-shop .header-logo-window { width: 165px; height: 78px; }
  .brand-client .auth-layout { grid-template-columns: minmax(0,1fr); }
  .brand-client .welcome { padding: 22px; }
  .brand-client .welcome-avatar { height: 150px; margin-top: 14px; }
  .brand-client .welcome-note { margin-bottom: 0; }
}
@media (max-width: 680px) {
  .brand-public .header-logo-window,.brand-shop .header-logo-window { width: 110px; height: 64px; }
  .brand-public .hero-copy { max-width: 100%; }
  .brand-public .hero-stage { min-height: 540px; padding-bottom: 25px; align-items: flex-end; }
  .brand-public .hero-brand-avatar { height: 51%; width: 70%; right: 0; bottom: 49%; opacity: .95; }
  .brand-public .hero-photo-shade { background: linear-gradient(0deg,#061b2c 0%,#061b2ce6 36%,#061b2c22 90%); }
  .brand-public .hero-copy h1 { font-size: clamp(30px,8.1vw,44px); }
  .brand-service-footer { width: 170px; height: 80px; }
  .brand-access .access-shell,.brand-management .management-auth-layout { display: flex; flex-direction: column; gap: 12px; }
  .brand-access .access-visual,.brand-management .management-auth-visual { display: none; }
  .brand-access .access-card { width: 100%; padding: 23px 18px; }
  .brand-access .access-brand img { height: 90px; }
  .brand-client .welcome-avatar { display: none; }
  .brand-client .welcome { padding: 22px; }
  .brand-client .welcome .lead { font-size: 14px; margin: 10px 0 15px; }
  .brand-client .welcome h1 { font-size: 29px; }
  .brand-client .welcome-note { font-size: 11px; }
  .brand-client .topbar .brand img { height: 61px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-public .hero-brand-avatar { animation: none; }
}

/* Ajustes finais: mascote ilustrado, serviços, história e loja. */
.brand-public .header-inner { gap: clamp(12px,2vw,30px); }
.brand-public .header-inner nav { gap: clamp(12px,2vw,26px); }
.brand-public .footer-main { gap: 24px; }
.brand-public .footer-main>div { justify-content: flex-end; }
.brand-public .pillar { min-height: 235px; background-position: center; }
.brand-public .pillar:nth-child(1) { background-image: url('service-preventiva.jpg'); }
.brand-public .pillar:nth-child(2) { background-image: url('service-corretiva.jpg'); }
.brand-public .pillar:nth-child(3) { background-image: url('service-scanner.jpg'); }
.brand-public .pillar:nth-child(4) { background-image: url('service-injecao.jpg'); }
.brand-public .pillar:before { background: linear-gradient(90deg,#061b2ce8 0%,#061b2c95 43%,#061b2c05 84%),linear-gradient(0deg,#061b2c88,transparent 60%); }
.brand-public .pillar h3 { max-width: 68%; text-shadow: 0 2px 8px #0008; }
.brand-public .pillar p { max-width: 75%; }
.brand-public .founder-grid { grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(32px,6vw,88px); align-items: center; }
.brand-public .founder-photo-wrap { width: 100%; max-width: 400px; margin: 0 auto; padding: 0; }
.brand-public .founder-photo-frame { width: 100%; height: auto; max-width: none; border-radius: 12px 12px 0 0; overflow: hidden; }
.brand-public .founder-photo-frame img { display: block; width: 100%; height: auto; max-height: 530px; object-fit: contain; object-position: center; }
.brand-public .founder-name { position: static; width: 100%; margin: 0; padding: 18px 22px; border-radius: 0 0 12px 12px; border-left: 3px solid #ffd000; }
.brand-public .founder-photo-wrap .photo-corner { display: none; }
.brand-public .founder-copy { min-width: 0; }
.brand-client #linkPending:before { background-image: url('mascot-tablet.png'); }
.fleet-brand-mark { background-image: url('frotas-marca.png'); background-size: contain; aspect-ratio: 1010/670; max-height: 190px; }
.fleet-approved-avatar { background-image: url('mascot-tablet.png'); aspect-ratio: 678/724; }
.brand-fleet .fleet-hero .fleet-brand-mark { max-height: 245px; max-width: 410px; }
.brand-fleet .fleet-hero .fleet-approved-avatar { display: block; width: clamp(110px,22vw,285px); right: 6%; bottom: 9%; }
.brand-fleet .fleet-hero h1,.brand-fleet .fleet-hero p { max-width: min(65%,690px); }

/* A loja usa superfícies claras e texto escuro; o banner é a única área escura. */
body.brand-shop { background: #f5f8fa; color: #14283b; --ink:#14283b; --paper:#f5f8fa; --muted:#51616f; --line:#dbe3ea; }
.brand-shop .site-header, .brand-shop footer { background: #061b2c; color: #fff; }
.brand-shop .header-inner nav a,.brand-shop footer a,.brand-shop .footer-bottom,.brand-shop .footer-main>p { color: #e5edf5; }
.brand-shop .header-inner nav a:hover,.brand-shop footer a:hover { color: #ffd000; }
.brand-shop .shop-banner { background: radial-gradient(ellipse at 85% 70%,#1b5679,#061b2c 68%); color: #fff; border: 1px solid #1a4260; box-shadow:0 16px 38px #061b2c1a; }
.brand-shop .shop-banner h1,.brand-shop .shop-banner p { color: #fff; }
.brand-shop .shop-banner .eyebrow { color: #ffd000; }
.brand-shop .shop-banner img { width: min(37%,245px); height: 235px; object-fit: contain; border-radius: 0; }
.brand-shop .shop-title h2,.brand-shop .shop-title span,.brand-shop .shop-help { color: #14283b; }
.brand-shop .shop-title .eyebrow { color: #6b5510; }
.brand-shop .filters-form { color: #14283b; background: #fff; border: 1px solid #dbe3ea; box-shadow: 0 7px 22px #061b2c09; }
.brand-shop .filters-form label,.brand-shop .shop-form label { color: #273e51; }
.brand-shop .filters-form input,.brand-shop .filters-form select,.brand-shop .shop-form input,.brand-shop .shop-form select,.brand-shop #shopDialog input,.brand-shop #shopDialog select,.brand-shop #shopDialog textarea { background: #fff; color: #14283b; border-color:#bfcbd6; }
.brand-shop .product-card,.brand-shop .shop-empty,.brand-shop #shopDialog { background: #fff; color: #14283b; border-color:#dbe3ea; }
.brand-shop .product-card { box-shadow: 0 7px 20px #061b2c09; }
.brand-shop .product-card h3,.brand-shop .product-card .price,.brand-shop .shop-empty h3,.brand-shop #shopDialog h2,.brand-shop #shopDialog h3,.brand-shop #shopDialog label,.brand-shop #shopDialog summary { color: #14283b; }
.brand-shop .product-card small,.brand-shop .shop-empty p,.brand-shop .detail-specs,.brand-shop .shop-row small { color: #51616f; }
.brand-shop .product-card img,.brand-shop .detail-image,.brand-shop .part-photo { background: #f5f8fa; }
.brand-shop .button,.brand-shop .button-small,.brand-shop #shopDialog .button { background: #ffd000; color: #061b2c; border: 1px solid #e5bc00; font-weight: 700; }
.brand-shop .button:hover,.brand-shop #shopDialog .button:hover { background:#ffe044; }
.brand-shop .shop-note { background:#fff5c7; color:#493a0b; }
.brand-shop .shop-error { color:#9b2525; }
.brand-shop #closeDialog,.brand-shop .shop-row button:not(.button) { color:#173c56; }
.brand-shop .shop-help a { color:#084a72; }
@media(max-width:900px) {
  .brand-public .founder-grid { gap:36px; }
  .brand-shop .shop-banner img { height: 170px; }
}
@media(max-width:680px) {
  .brand-public .footer-main>div { justify-content: flex-start; }
  .brand-public .founder-grid { grid-template-columns:1fr; }
  .brand-public .founder-photo-wrap { max-width:350px; }
  .brand-public .pillar { min-height:190px; }
  .brand-public .pillar h3 { max-width:85%; }
  .brand-fleet .fleet-hero .fleet-approved-avatar { position: static; width:160px; margin: 10px 0; }
  .brand-fleet .fleet-hero h1,.brand-fleet .fleet-hero p { max-width:100%; }
  .brand-shop .shop-banner img { width: 34%; height:150px; }
}
@media(max-width:480px) {
  .brand-shop .shop-banner img { display:none; }
}
