/* ==========================================================
   Componentes compartilhados das páginas internas
   (depende de style.css)
   ========================================================== */
:root { --text: #3B3B3B; --split-content: var(--content); }

.rich p { margin: 0 0 14.4px; }

/* ---------- Título da página + trilha ---------- */
.page-hero {
  position: relative; display: flex; align-items: center;
  min-height: 313px; padding: 10px;
  background: url("../img/assahi-maquinas-banner-paginas.webp") center center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; background: var(--navy); opacity: .77;
}
.page-hero-inner {
  position: relative; width: 100%; padding: 10px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.page-title {
  font-family: "Rubik", sans-serif; font-size: 65px; font-weight: 600;
  line-height: 1; color: #fff; text-align: center;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 -8px; padding: 0; list-style: none; }
.breadcrumb li {
  position: relative; margin: 0 8px;
  font-family: "Rubik", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.5;
  letter-spacing: 1.3px; text-transform: uppercase; color: #fff;
}
.breadcrumb li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -8px; height: 100%;
  transform: translateY(-50%); border-left: 2px solid var(--line);
}
.breadcrumb a span { color: var(--orange); }
.breadcrumb a:hover span { text-decoration: underline; }

/* ---------- Bloco foto + texto ---------- */
.about { background: #fff; padding: 150px 0; }
.split {
  display: flex; gap: 50px; width: 100%; max-width: var(--split-content);
  margin: 0 auto;
}
.photo-frame {
  flex: 0 1 50%; display: flex; flex-direction: column; justify-content: center;
  padding: 10px; border: 1px solid #ACACAC54; border-radius: 15px; min-width: 0;
}
.photo {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: var(--photo-h, 596px); padding: 50px; border-radius: 15px; overflow: hidden;
}
.photo--tall { min-height: 633px; }
.photo > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

.split-text {
  flex: 0 1 50%; display: flex; flex-direction: column; align-self: center;
  padding: 10px; min-width: 0;
}
.tag {
  display: flex; align-items: center; justify-content: center; gap: 10px; align-self: flex-start;
  width: 200px; margin-bottom: 10px; padding: 4px 10px;
  border: 1px dashed var(--orange); border-radius: 30px;
}
.tag svg { width: 16px; height: 16px; fill: var(--orange); flex-shrink: 0; }
.tag span {
  font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 500; line-height: 1.5;
  letter-spacing: 2.7px; text-transform: uppercase; color: #686869;
}
.split-title {
  font-family: "Montserrat", sans-serif; font-size: 35px; font-weight: 800;
  line-height: 1; color: var(--navy);
}
.split-text .rich {
  margin-top: 20px; font-family: "Montserrat", sans-serif; font-size: 17px;
  line-height: 27px; color: var(--text);
}
.split-text .btn-talk, .split-text .btn-pill { align-self: flex-start; }

/* Botão pílula (sem ícone) */
.btn-pill {
  display: inline-block; background: var(--navy); color: #fff; border-radius: 250px;
  font-family: "Rubik", sans-serif; font-size: 16px; font-weight: 400; line-height: 1;
  padding: 16px 25px; transition: background .3s, transform .3s;
}
.btn-pill:hover { background: #142230; transform: translateY(-2px); }

/* Botão pequeno (Artigos, Novidades) */
.btn-small {
  display: inline-block; background: var(--orange); color: var(--navy); border-radius: 4px;
  font-family: "Rubik", sans-serif; font-size: 11px; font-weight: 400; line-height: 1;
  text-transform: uppercase; padding: 10px; transition: background .3s;
}
.btn-small:hover { background: var(--navy); color: #fff; }

/* ---------- Chamada das páginas internas ---------- */
.cta--page .cta-inner { max-width: 738px; }
/* Variação cuja altura muda por largura de tela */
@media (max-width: 1366px) { .cta--vary { min-height: 408px; } }
@media (max-width: 767px) { .cta--vary { min-height: 304px; } }
.cta .cta-title {
  font-family: "Roboto", sans-serif; font-size: 35px; font-weight: 400;
  line-height: 1.2; color: #fff; text-align: center; margin-bottom: 28px;
}

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1366px) {
  .page-hero { min-height: 215px; }
  .page-title { font-size: 55px; }
  .breadcrumb li { font-size: 13px; }
  .about { padding: 120px 0; }
  .photo, .photo--tall { min-height: 551px; }
  .split-title { font-size: 28px; line-height: 32px; }
  .split-text .rich { font-size: 15px; line-height: 25px; }
  .btn-pill { font-size: 14px; }
  .cta .cta-title { font-size: 30px; }
}

@media (max-width: 1200px) {
  .about { padding: 70px 60px 50px; }
}

@media (max-width: 1024px) {
  :root { --split-content: 700px; }
  .about { padding: 50px 0; }
  .split { flex-direction: column; gap: 30px; }
  .photo-frame, .split-text { flex: none; width: 100%; }
  .tag span { font-size: 16px; }
  .split-title { font-size: 35px; line-height: 1.3; }
  .cta .cta-title { font-size: 32px; max-width: 85%; }
}

@media (max-width: 767px) {
  :root { --split-content: 400px; }
  .page-hero { background-image: url("../img/assahi-maquinas-banner-paginas-mobile.webp"); }
  .page-hero { min-height: 160px; }
  .page-title { font-size: 40px; }
  .about { padding: 50px 20px 30px; }
  .photo, .photo--tall { min-height: 447px; padding: 0 20px 20px; }
  .tag span { font-size: 14px; }
  .split-title { font-size: 30px; line-height: 1.1; }
  .cta .cta-title { max-width: 100%; width: 100%; padding: 0 15px; font-size: 38px; }
  .cta--page h2, .cta--page .cta-title { font-size: 28px; }
}
