/* Complemento do visual aprovado: banner responsivo, foco e vídeo sob demanda. */
.hearing-page{max-width:1160px;margin:0 auto;padding:48px 24px 64px;color:#173444}
.hearing-page h1,.hearing-page h2,.hearing-page h3{color:#052956;line-height:1.2;overflow-wrap:anywhere}
.hearing-page h1{font-size:clamp(34px,4vw,52px);margin:10px 0 18px}
.hearing-page h2{font-size:clamp(26px,3vw,34px);margin:0 0 16px}
.hearing-page h3{font-size:21px;margin:16px 0 12px}
.hearing-page p{font-size:16px;line-height:1.75;color:#526b7c}
.hearing-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.hearing-hero>div{min-width:0}
.hearing-hero .hearing-lead{font-size:20px;line-height:1.55;color:#173444}
.hearing-hero .button{margin-top:12px;white-space:normal;text-align:center}
.hearing-hero figure{margin:0;aspect-ratio:4 / 3;border-radius:16px;overflow:hidden;background:#052956;max-height:380px}
.hearing-hero img{display:block;width:100%;height:100%;object-fit:cover;object-position:68% center}
.hearing-services,.hearing-guidance{margin-top:64px}
.hearing-intro{max-width:760px}
.hearing-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}
.hearing-service-grid>section{padding:26px;background:#fff;border:1px solid #dbe5e5;border-radius:12px}
.hearing-step{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#e4f3f4;color:#08706e;font-weight:800}
.hearing-service-grid p{margin-bottom:0}
.hearing-guidance{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:start}
.hearing-guidance aside{padding:26px;background:#eaf3f5;border-radius:12px}
.hearing-guidance aside h3{margin-top:0}
.hearing-guidance ul{padding-left:20px;line-height:1.8;margin-bottom:20px}
.hearing-guidance aside a{display:flex;align-items:center;gap:8px;min-height:44px;color:#08706e;font-weight:700}
.hearing-guidance aside svg{width:18px;height:18px}
.hearing-contact{margin-top:48px;padding:30px;background:#052956;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.hearing-contact h2,.hearing-contact p{color:#fff}
.hearing-contact h2{font-size:26px}.hearing-contact p{margin-bottom:0}
.hearing-contact .button{flex-shrink:0;background:#fff;color:#052956}
@media(max-width:800px){.hearing-hero,.hearing-guidance{grid-template-columns:1fr;gap:24px}.hearing-hero figure{max-height:320px}.hearing-service-grid{grid-template-columns:1fr}.hearing-contact{flex-direction:column;align-items:flex-start}.hearing-services,.hearing-guidance{margin-top:40px}}
@media(max-width:480px){.hearing-page{padding:28px 20px 40px}.hearing-hero .hearing-lead{font-size:18px}.hearing-contact{padding:24px}.hearing-contact .button{width:100%;white-space:normal;text-align:center}}
.skip-link{position:absolute;left:-999px;top:8px;background:#fff;color:#02243d;padding:8px 12px;z-index:80}
.news-inline-photo{margin:24px 0}
.news-inline-photo img{display:block;width:100%;height:auto;max-height:650px;object-fit:contain;border-radius:8px;background:#edf3f5}
.skip-link:focus{left:12px}
a:focus-visible,button:focus-visible{outline:2px solid #078cb9;outline-offset:3px}
.hero-carousel{position:relative;overflow:clip;background:#052956}
/* O script do banner fica entre as seções, por isso o seletor é o irmão geral. */
.hero-carousel ~ .catalog{padding-top:36px}
@media(max-width:768px){
  .hero-carousel ~ .catalog{padding-top:24px}
}
.hero-carousel h1{max-width:100%;overflow-wrap:anywhere}
.hero-copy{width:min(660px,100%)}
@media(min-width:721px){
  .hero-carousel .hero-copy{width:min(620px,calc(100% - 130px))}
}
@media(max-width:720px){
  .hero-carousel h1{max-width:100%;font-size:34px;line-height:1.05}
  .hero-carousel h1 em{display:block}
  .hero-carousel .trust{margin-bottom:58px}
  .hero-carousel::before{background:linear-gradient(90deg,rgba(2,27,59,.96) 0%,rgba(2,27,59,.9) 58%,rgba(2,27,59,.72) 100%)}
}
@media(max-width:560px){
  .contact-strip a,.contact-strip a:first-child{display:inline-flex}
}
.hero-picture{position:absolute;inset:0;z-index:0;margin:0}
.hero-picture img{width:100%;height:100%;object-fit:cover;display:block}
.hero-carousel::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(2,27,59,.96) 0%,rgba(3,35,73,.88) 42%,rgba(3,31,65,.2) 70%,rgba(3,31,65,.05) 100%)}
.hero-copy{position:relative;z-index:2}
/* Setas e bolinhas ficam ancoradas no banner, acima da foto e do degradê. */
.hero-arrow,.hero-dots{position:absolute;z-index:4}
.video-facade{display:block;width:100%;height:100%;padding:0;border:0;background:#001b38;cursor:pointer;position:relative}
.video-facade img{width:100%;height:100%;object-fit:cover;display:block}
.video-facade::after{content:"▶";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:54px;height:54px;border-radius:50%;background:#ffffffd0;color:#052956;display:grid;place-items:center;font-size:18px}
html,body{overflow-x:clip}
.avatar img{width:100%;height:190px;object-fit:cover;display:block}
@media (prefers-reduced-motion: reduce){
  .reveal-ready{animation:none!important;transition:none!important}
}
.section-head{flex-wrap:wrap}
.section-head>div,.news-detail,.product-detail-copy,.test-copy{min-width:0;max-width:100%}
.section-head h2,.news-detail h1,.product-detail-copy h1,.hearing-test h2,.news-detail p{overflow-wrap:anywhere}

/* Fundo branco acomoda fotos com fundo próprio e imagens transparentes. */
.catalog .product-image,
.product-panel .product-image,
.product-detail .product-image{
  height:156px;
  overflow:hidden;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
  box-sizing:border-box;
}
.catalog .product-image img,
.product-panel .product-image img,
.product-detail .product-image img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  min-width:0;
  min-height:0;
  object-fit:contain;
  object-position:center;
  transform:none;
}
.product-card:hover .product-image img,
.product-image.hearing-pair img,
.product-image.hearing-case img,
.product-image.hearing-detail-left img,
.product-image.hearing-detail-right img,
.product-image.cpap-device img,
.product-image.cpap-mask img,
.product-image.cpap-control img,
.product-image.cpap-hose img,
.product-image.accessory-batteries img,
.product-image.accessory-kit img,
.product-image.accessory-control img,
.product-image.accessory-cleaning img,
.product-card:hover .product-image.hearing-case img,
.product-card:hover .product-image.hearing-detail-left img,
.product-card:hover .product-image.hearing-detail-right img,
.product-card:hover .product-image.cpap-device img,
.product-card:hover .product-image.cpap-mask img,
.product-card:hover .product-image.cpap-control img,
.product-card:hover .product-image.cpap-hose img,
.product-card:hover .product-image.accessory-batteries img,
.product-card:hover .product-image.accessory-control img,
.product-card:hover .product-image.accessory-cleaning img{
  object-fit:contain;
  object-position:center;
  transform:none;
}
.product-detail{align-items:start}
.product-detail-media{
  height:460px;
  min-height:0;
  max-width:100%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  box-sizing:border-box;
  background:#fff;
  border:1px solid #e2e9ef;
  border-radius:8px;
}
.product-detail-media img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  min-width:0;
  min-height:0;
  object-fit:contain;
  object-position:center;
}
@media(max-width:1024px){
  .product-detail-media{height:400px}
}
@media(max-width:900px){
  .product-panel .product-image{height:160px}
}
@media(max-width:768px){
  .catalog .product-image,
  .product-panel .product-image,
  .product-detail .product-image{height:148px}
  .product-detail-media{height:340px}
}
@media(max-width:680px){
  .product-panel .product-image{height:148px}
}
@media(max-width:390px){
  .catalog .product-image,
  .product-panel .product-image,
  .product-detail .product-image{height:136px}
  .product-detail-media{height:280px;padding:16px}
}

/* Cards de produto mais baixos: menos respiro interno, texto limitado e altura estável. */
.catalog .product-card{
  display:flex;
  flex-direction:column;
  height:100%;
  min-width:0;
  max-width:100%;
  padding-bottom:12px;
}
.product-panel > *{min-width:0}
/* display:grid/flex do card vence o hidden do navegador e a aba parece sem efeito. */
.product-panel[hidden],
.product-card[hidden]{display:none !important}
.catalog .product-card > small,
.catalog .product-card > h3,
.catalog .product-card > p,
.catalog .product-card > a{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  margin-left:0;
  margin-right:0;
  padding-left:16px;
  padding-right:16px;
}
.catalog .product-card > small{
  margin-top:10px;
}
.catalog .product-card > h3{
  margin-top:4px;
  margin-bottom:2px;
  font-size:20px;
  line-height:1.25;
  min-height:2.5em;
  overflow-wrap:break-word;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
}
.catalog .product-card > p{
  margin-top:0;
  margin-bottom:0;
  font-size:13px;
  line-height:1.45;
  min-height:4.35em;
  overflow-wrap:break-word;
  font-size:14px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
}
.catalog .product-card > a{
  margin-top:4px;
  min-height:36px;
}
/* Sem foto real, o card usa a marca no mesmo quadro, sem ícone genérico. */
.product-image:has(img[src*="placeholder.svg"]){
  background:#fff;
}
.product-image:has(img[src*="placeholder.svg"]) img{
  opacity:0;
  position:absolute;
  width:1px;
  height:1px;
}
.product-image:has(img[src*="placeholder.svg"])::after{
  content:"";
  width:108px;
  height:46px;
  background:url("../../public/brand/logo-ama.png") center/contain no-repeat;
}
@media(max-width:1279px){
  .catalog .product-card > h3{font-size:18px}
}
@media(min-width:769px){
  /* O painel de destaque acompanha a nova altura do card, sem esticar a fileira. */
  .product-category-copy{min-height:0}
}
@media(min-width:1024px) and (max-width:1279px){
  main:not(:has(.hero-carousel)) .product-panel,
  main:not(:has(.hero-carousel)) .catalog .product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(min-width:901px){
  /* Home: destaque + 3 cards na mesma linha. */
  main:has(.hero-carousel) .product-panel{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media(min-width:1280px){
  /* Catálogo completo: painel + 3 produtos na primeira linha. */
  main:not(:has(.hero-carousel)) .product-panel,
  main:not(:has(.hero-carousel)) .catalog .product-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
.product-panel + .product-panel{margin-top:22px}
/* Quatro abas: Todos e as três categorias. No celular, uma por linha. */
.category-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){
  .category-tabs{grid-template-columns:1fr}
}
@media(max-width:768px){
  .product-panel,
  .catalog .product-grid{grid-template-columns:1fr}
}

/* Acabamento visual da home: só apresentação, sem mudar conteúdo. */
.hero-picture{background:#052956}
.hero-picture img{object-fit:cover;object-position:center center}
.microsom-banner{
  background:
    linear-gradient(90deg,rgba(2,25,55,.94) 0%,rgba(3,36,76,.78) 48%,rgba(3,31,65,.28) 78%),
    url("../../public/backgrounds/hearing-divider-blue.png") center/cover no-repeat,
    #052956;
}
.why-visual{
  background:
    linear-gradient(165deg,rgba(5,41,86,.78),rgba(10,120,168,.42)),
    url("../../public/backgrounds/hero-ama-blue.png") center/cover no-repeat,
    #052956;
}
.category-tabs button{min-height:76px}
.category-tabs button:hover:not(.active){background:#e8f4f8;color:#052956}
.category-tabs button:hover:not(.active) strong{color:#052956}
.category-tabs button:focus-visible{outline:2px solid #078cb9;outline-offset:-3px}
.category-tabs small{font-size:12px;line-height:1.35}
.catalog .product-card{background:#fff;border-color:#e2e9ef}
.catalog .product-image{border-bottom:1px solid #eef2f6}
.catalog .product-card,
.news-card,
.team-grid article,
.unit-list article,
.video-preview-grid article{
  border-radius:8px;
}
.specialty-grid article{
  min-height:0;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 12px 30px #052e5316;
}
.specialty-photo{
  height:248px;
  background:linear-gradient(155deg,#052956 0%,#0a7ea8 100%);
}
.specialty-content p{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
  min-height:0;
}
.specialty-content h3{font-size:24px;line-height:1.2;margin-bottom:8px}
.differential-grid{gap:18px}
.differential-grid>article,
.differential-grid>a{min-height:0;padding:26px 22px}
.catalog{padding-bottom:72px}
.differential-grid h3{font-size:17px;line-height:1.35}
.news .section-head,.team .section-head{margin-bottom:28px;align-items:end}
.news-card{display:flex;flex-direction:column;height:100%}
.news-visual{
  height:196px;
  flex:0 0 196px;
}
.news-1{background:linear-gradient(145deg,#052956,#0b6f96)}
.news-2{background:linear-gradient(145deg,#063d76,#1297bf)}
.news-3{background:linear-gradient(145deg,#021b38,#0878aa)}
.news-visual{background-size:cover;background-position:center}
.news-card > div:last-child{display:flex;flex-direction:column;flex:1;padding:16px 18px 14px;gap:6px}
.news-card a{margin-top:auto}
.news-card small{font-size:11px;letter-spacing:.14em}
.news-card h3{
  font-size:20px;
  line-height:1.3;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
}
.news-card p{
  font-size:14px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
}
.video-preview-grid{align-items:stretch}
.video-preview-grid article{display:flex;flex-direction:column;height:100%;border-radius:8px;overflow:hidden}
.video-frame{aspect-ratio:16/9;height:auto}
.video-frame img{width:100%;height:100%;object-fit:cover;display:block}
.video-preview-grid small{font-size:11px;letter-spacing:.14em}
.video-preview-grid h3{
  font-size:17px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
}
.video-preview-grid p{font-size:13px;line-height:1.5}
.team-grid{align-items:stretch}
.team-grid article{display:flex;flex-direction:column;height:100%;border-radius:8px}
.avatar{border-radius:8px}
.team-grid .avatar{width:100%;height:auto;aspect-ratio:1 / 1;overflow:hidden;flex-shrink:0}
.team-grid .avatar img{width:100%;height:100%;object-fit:cover;object-position:center top}
.team-grid small{font-size:11px}
.team-grid h3{font-size:20px}
.team-grid h3+p{font-size:15px;font-weight:700;color:#0e4d70;min-height:0;line-height:1.4}
.review-cards{align-items:stretch}
.review-cards blockquote{position:relative;border-radius:8px;padding:22px 22px 18px}
.review-cards blockquote::before{content:"“";display:block;font-family:Georgia,serif;font-size:52px;line-height:.7;color:#18bfe5;height:28px}
.review-cards blockquote>p{font-size:16px;line-height:1.5}
.review-cards blockquote strong{font-size:14px}
.review-cards blockquote span{font-size:12px}
.unit-list{gap:16px}
.unit-list article{padding:26px;border-radius:8px;display:flex;flex-direction:column;gap:8px}
.unit-title strong{font-size:18px}
.unit-title small{font-size:11px}
.unit-list article>p{font-size:14px;line-height:1.5;margin:0}
.unit-list article a{font-size:13px;min-height:40px}
.nav-dropdown>button span,
.nav-dropdown:hover>button span{transform:none}
.site-footer{padding:22px clamp(20px,4vw,72px)}
.footer-nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 22px}
.footer-nav>a,
.footer-nav .nav-dropdown>button{
  color:#fff;
  background:transparent;
  border:0;
  padding:12px 0;
  font-family:'Manrope',sans-serif;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}
.footer-nav>a:hover,
.footer-nav .nav-dropdown>button:hover{color:#7ee0f6}
.footer-nav .nav-dropdown>button{display:inline-flex;align-items:center;gap:6px}
.footer-nav .dropdown-menu{top:auto;bottom:calc(100% + 8px);left:0}
.footer-nav .nav-dropdown.open .dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}
.footer-nav .dropdown-menu a{color:#173657}
.footer-note{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin-top:14px;padding-top:14px;border-top:1px solid #ffffff20;color:#9eb6c6;font-size:13px}
.footer-note small,.footer-note span{line-height:1.4}
.footer-note a{color:#d7e8f2;text-decoration:underline;text-underline-offset:2px}
.footer-note a:hover,.footer-note a:focus-visible{color:#fff}
@media(max-width:720px){
  .footer-nav{flex-direction:column;align-items:flex-start}
  .footer-nav .dropdown-menu{position:static;width:auto;margin:4px 0 0;padding:0 0 0 8px;background:transparent;box-shadow:none;border-top:0}
  .footer-nav .dropdown-menu a{color:#d7e8f2;background:transparent;border-bottom-color:#ffffff24}
}
.intro,.team,.news{padding-top:78px;padding-bottom:78px}
.videos,.units,.google-reviews,.differentials{padding-top:72px;padding-bottom:72px}
@media(max-width:900px){
  .news-card{display:flex;flex-direction:column}
  .news-visual{height:180px;flex-basis:180px}
}
@media(max-width:768px){
  .specialty-photo{height:210px}
  .differential-grid>article,.differential-grid>a{min-height:132px;padding:22px 18px}
  .category-tabs button{min-height:68px}
}

/* Página individual de notícia: coluna editorial, sem mudar a home. */
.news-page{background:#fff;padding:56px 24px 72px}
.news-article{width:min(820px,100%);margin:0 auto}
.news-hero .eyebrow{margin-bottom:14px}
.news-hero h1{
  margin:0 0 16px;
  font-family:'Montserrat',Arial,sans-serif;
  font-size:clamp(32px,4vw,46px);
  line-height:1.15;
  color:#052956;
  overflow-wrap:break-word;
}
.news-lead{margin:0 0 18px;font-size:18px;line-height:1.65;color:#3e5a6c}
.news-meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0 0 22px;font-size:14px;line-height:1.4;color:#5d7686}
.news-meta span{font-weight:700;color:#0e4d70}
.news-all{white-space:normal;max-width:100%}
.news-cover{
  margin:28px 0 8px;
  aspect-ratio:16/9;
  border-radius:8px;
  overflow:hidden;
  background:#052956;
  position:relative;
}
.news-cover img{width:100%;height:100%;object-fit:cover;display:block}
.news-cover>span{
  position:absolute;
  left:16px;
  bottom:16px;
  padding:6px 10px;
  border-radius:999px;
  background:#ffffffeb;
  color:#052956;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.news-body{margin-top:28px;font-size:18px;line-height:1.75;color:#173444}
.news-body p{margin:0 0 1.15em}
.news-body h2,.news-body h3{font-family:'Montserrat',Arial,sans-serif;color:#052956;line-height:1.25;overflow-wrap:break-word}
.news-body h2{font-size:28px;margin:1.6em 0 .55em}
.news-body h3{font-size:22px;margin:1.35em 0 .45em}
.news-body ul,.news-body ol{margin:0 0 1.2em;padding-left:1.2em}
.news-body li{margin:0 0 .45em}
.news-body a{color:#0878aa;text-decoration:underline;text-underline-offset:3px}
.news-body strong{color:#052956}
.news-body blockquote{
  margin:1.4em 0;
  padding:4px 0 4px 16px;
  border-left:3px solid #18bfe5;
  color:#0e4d70;
  font-size:20px;
  line-height:1.5;
}
.news-cta{
  margin-top:36px;
  padding:28px 26px;
  border-radius:8px;
  background:linear-gradient(145deg,#052956,#0a6f96);
  color:#fff;
}
.news-cta .eyebrow{color:#7ee0f6;margin-bottom:8px}
.news-cta h2{margin:0 0 16px;font-family:'Montserrat',Arial,sans-serif;font-size:clamp(24px,3vw,32px);line-height:1.2;color:#fff}
.news-cta-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px}
.news-cta .button{max-width:100%}
.news-cta .button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.news-cta .text-link{color:#fff;border-color:#ffffffcc}
.news-also{margin-top:40px}
.news-also h2{margin:0 0 16px;font-family:'Montserrat',Arial,sans-serif;font-size:28px;color:#052956}
.news-also-grid{display:grid;grid-template-columns:1fr;gap:16px}
.news-also-card{border:1px solid #d7e4ec;border-radius:8px;overflow:hidden;background:#fff;min-width:0}
.news-also-card a{display:flex;flex-direction:column;height:100%;color:inherit}
.news-also-cover{
  aspect-ratio:16/9;
  background-size:cover;
  background-position:center;
  position:relative;
}
.news-also-cover span{
  position:absolute;
  left:12px;
  bottom:12px;
  max-width:calc(100% - 24px);
  padding:5px 9px;
  border-radius:999px;
  background:#ffffffeb;
  color:#052956;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.news-also-card div{padding:14px 14px 16px}
.news-also-card small{display:block;color:#078cb9;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.news-also-card h3{
  margin:6px 0 10px;
  font-size:18px;
  line-height:1.3;
  color:#052956;
  overflow-wrap:break-word;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
}
.news-also-link{color:#0878aa;font-size:14px;font-weight:800}
.news-end{margin:28px 0 0}
@media(min-width:768px){
  .news-also-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:390px){
  .news-page{padding:40px 16px 56px}
  .news-lead,.news-body{font-size:17px}
  .news-cta{padding:22px 18px}
  .news-cta-actions{align-items:stretch}
  .news-cta .button,.news-cta .text-link{width:100%;justify-content:center;text-align:center}
}

/* Páginas de vídeos e unidades. A home continua no resumo já aprovado. */
.videos .videos-all{margin-top:22px;color:#fff;border-color:#7ee0f6}
.units .units-all{margin-top:22px}
.video-frame{background:#052956 url('../../public/brand/logo-ama.png') center/92px auto no-repeat}
.library-page,.units-page,.unit-page{
  width:min(1180px,100%);
  margin:0 auto;
  padding:64px clamp(16px,4vw,72px) 80px;
  overflow-wrap:break-word;
}
.library-page h1,.units-page h1,.unit-page h1{margin:8px 0 12px;color:#052956;font-size:clamp(32px,4vw,48px);line-height:1.15}
.library-lead{max-width:720px;color:#4d6474;font-size:17px;line-height:1.6}
.video-library,.unit-index{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-top:28px}
.video-library article,.unit-index article{min-width:0;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 10px 28px #001a3814}
.video-library small,.video-library h3,.video-library p{display:block;margin-left:16px;margin-right:16px}
.video-library small{margin-top:16px;color:#08706e;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.video-library h3{margin-top:8px;margin-bottom:8px;font-size:18px;line-height:1.3;color:#052956}
.video-library h3 a{color:inherit}
.video-library p{margin-bottom:16px;color:#5d7484;font-size:14px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.video-player{max-width:960px;margin:18px 0 8px}
.library-also{margin:36px 0 0;color:#052956}
.library-end{margin-top:28px}
.pager{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;justify-content:center;margin-top:28px}
.pager a{color:#08706e;font-weight:800}
.unit-index article{display:flex;flex-direction:column}
.unit-photo{aspect-ratio:16/10;background:#052956 url('../../public/brand/logo-ama.png') center/110px auto no-repeat}
.unit-photo img,.unit-gallery img,.unit-team img{width:100%;height:100%;object-fit:cover;display:block}
.unit-index article>div{display:flex;flex-direction:column;gap:8px;flex:1;padding:18px}
.unit-index small{color:#08706e;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.unit-index h2{margin:0;color:#052956;font-size:22px;line-height:1.25}
.unit-index p{margin:0;color:#5d7484;font-size:14px;line-height:1.5}
.unit-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:8px}
.unit-hero{display:grid;gap:22px;align-items:center}
.unit-hero .unit-photo{border-radius:12px;overflow:hidden}
.unit-about,.unit-contact,.unit-map,.unit-team,.unit-gallery{margin-top:36px}
.unit-about h2,.unit-contact h2,.unit-map h2,.unit-team h2,.unit-gallery h2{margin:0 0 12px;color:#052956}
.unit-contact p,.unit-about p{margin:0 0 8px;line-height:1.6}
.unit-map iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:12px}
.unit-map-link{
  display:flex;align-items:flex-end;justify-content:center;
  min-height:220px;padding:20px;border-radius:12px;
  background:#052956 url('../../public/brand/logo-ama.png') center 38%/110px auto no-repeat;
  color:#fff;font-weight:800;
}
.unit-go{margin-top:16px}
.unit-team-grid,.unit-gallery>div{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.unit-team-grid article{background:#fff;border:1px solid #dbe5e5;border-radius:8px;padding:16px}
.unit-team-grid img{width:72px;height:72px;border-radius:50%;object-fit:cover}
.unit-team-grid h3{margin:10px 0 4px;font-size:18px}
.unit-team-grid p{margin:0;color:#5d7484}
.unit-gallery img{aspect-ratio:4/3;border-radius:8px}
.unit-cta{margin-top:36px;padding:24px;border-radius:12px;background:#052956;color:#fff}
.unit-cta h2{margin:0 0 14px}
.unit-cta .button{background:#fff;color:#052956}
@media(min-width:768px){
  .video-library,.unit-index,.unit-team-grid,.unit-gallery>div{grid-template-columns:repeat(2,minmax(0,1fr))}
  .unit-hero{grid-template-columns:1.1fr .9fr}
}
@media(min-width:1024px){
  .video-library,.unit-index,.unit-gallery>div{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:390px){
  .library-page,.units-page,.unit-page{padding:40px 16px 56px}
  .unit-actions .button,.unit-actions .outline-button,.unit-cta .button,.unit-go .outline-button{width:100%;justify-content:center}
}
.unit-reviews{margin-top:36px}
.unit-reviews h2,.unit-reviews-score{color:#052956}
.unit-reviews-score{margin:0 0 14px;font-weight:800}
.unit-reviews-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
/* Fachadas em cartões horizontais compactos, na home e no índice. */
.units{grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);gap:32px;padding-top:56px;padding-bottom:56px;align-items:start}
.unit-list{display:grid;gap:12px}
.unit-list article{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:0;padding:12px;overflow:hidden}
.unit-list .unit-photo{position:relative;width:100%;aspect-ratio:3 / 2;min-height:0;overflow:hidden;border-radius:6px;background:#edf3f5}
.unit-list .unit-photo img{position:absolute;inset:0;object-fit:contain}
.unit-list article>.unit-summary{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;padding:4px 8px 4px 18px;min-width:0}
.unit-summary p{margin:6px 0;font-size:13px;line-height:1.45;color:#5d7484}
.unit-summary .unit-title{margin:0}
.unit-summary .unit-title span{align-items:flex-start;gap:3px}
.unit-summary .unit-title>svg{flex-shrink:0}
.unit-summary>a{margin-top:0}
.unit-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.unit-index article{display:grid;grid-template-columns:38% minmax(0,1fr);align-items:center;padding:12px}
.unit-index article>.unit-photo{position:relative;display:block;padding:0;aspect-ratio:3 / 2;min-width:0;width:100%;overflow:hidden;border-radius:6px;background:#edf3f5}
.unit-index .unit-photo img{position:absolute;inset:0;object-fit:contain}
.unit-index article>div:not(.unit-photo){padding:16px;gap:6px;min-width:0}
.unit-index h2{font-size:20px}
.unit-index .unit-actions{gap:8px}
.unit-index .unit-actions a{padding:10px 12px;font-size:12px;min-height:44px}
@media(max-width:900px){.units{grid-template-columns:minmax(0,1fr)}.unit-index{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){
  .unit-list article{grid-template-columns:112px minmax(0,1fr);padding:8px}
  .unit-list article>.unit-summary{padding:4px 0 4px 12px}
  .unit-index article{grid-template-columns:32% minmax(0,1fr)}
  .unit-index article>div:not(.unit-photo){padding:12px}
}
.unit-reviews blockquote{margin:0;background:#fff;border:1px solid #dbe5e5;border-radius:8px;padding:16px;min-width:0}
.unit-reviews blockquote>div{color:#f5ad00;letter-spacing:2px}
.unit-reviews blockquote>p{margin:12px 0;color:#173444;line-height:1.45;overflow-wrap:break-word}
.unit-reviews footer{display:flex;flex-direction:column;gap:2px}
.unit-reviews footer span{color:#6d8290;font-size:13px}
@media(min-width:768px){
  .unit-reviews-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1024px){
  .unit-reviews-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Galeria do produto: fotos adicionais com legenda */
.product-gallery{padding-top:40px}
.product-gallery .section-head{margin-bottom:22px}
.product-gallery .product-card{padding-bottom:18px}
.product-gallery .product-image{background:#fff}
.product-gallery .product-image img{width:100%;height:100%;object-fit:contain;padding:14px}
.product-gallery .product-card h3{font-size:17px;line-height:1.35;margin:14px 0 0;padding:0 18px;color:#02243d}
