/* =========================================================================
   maquinas.css — Página de máquinas (maquinas.html)
   Usado junto com o style.css (que traz o menu, botões, ondas e rodapé).

   ÍNDICE:
    1. Topo da página (hero)
    2. Cards das 3 máquinas
    3. Celular
   ========================================================================= */


/* ===== 1. TOPO DA PÁGINA (hero) ===== */
.maq-hero{position:relative;overflow:hidden;background:var(--creme);min-height:clamp(380px,46vw,560px);display:flex;align-items:center}
.maq-hero .container{position:relative;z-index:2}
.maq-hero-texto{max-width:44%}
.maq-chamada{display:flex;align-items:center;gap:.8rem;font-size:1.05rem;margin-bottom:1rem}
.maq-hero h1{font-family:var(--serif);font-size:clamp(2.6rem,6vw,4.6rem);line-height:1.05;font-weight:700;margin-bottom:1.2rem}
.maq-hero-texto > p:last-child{max-width:30ch}
.maq-hero-foto{position:absolute;right:0;top:0;bottom:0;width:54%;background:var(--bege);overflow:hidden;border-radius:38% 0 0 62% / 42% 0 0 58%;z-index:1}
.maq-hero-foto img{width:100%;height:100%;object-fit:cover}
.maq-hero-blob{position:absolute;left:-7%;bottom:-14%;width:clamp(190px,26vw,380px);fill:var(--azul);opacity:.85} /* mancha azul decorativa */


/* ===== 2. CARDS DAS 3 MÁQUINAS ===== */
.maq-lista{--bg:var(--creme);padding:2.5rem 0 7rem}
.maq-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;align-items:stretch}
.maq-card{position:relative;display: flex;flex-direction:column;background:#F8E6D2;border-radius:36px;padding:1.6rem 1.8rem 2rem}

/* Foto da máquina (tamanho preso para funcionar também no Safari do celular) */
.maq-foto {position: relative;width: 100%;max-width: 260px;aspect-ratio: 1 / 1.05;margin: 0 auto 1rem;display: flex;align-items: flex-end;justify-content: center;}
.maq-foto img {display: block;width: 100%;height: 100%;object-fit: contain;object-position: center bottom;filter: drop-shadow(0 14px 14px rgba(102,51,0,.18));}

/* Nome, descrição e características */
.maq-nome{display:flex;align-items:center;gap:.7rem;font-family:var(--serif);font-size:1.7rem;line-height:1.2;font-weight:700}
.maq-sub{margin:.4rem 0 1rem;padding-left:calc(30px + .7rem);font-size:.98rem}
.maq-desc{font-size:.98rem;max-width:32ch;margin-bottom:1.2rem}
.maq-specs{list-style:none;display:grid;gap:.7rem;padding-top:1.2rem;max-width: 87%;border-top:1px solid rgba(102,51,0,.2);margin-bottom:1.6rem}
.maq-specs li{display:flex;align-items:center;gap:.8rem;font-size:.95rem;}
.spec-icone{flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center}
.spec-icone img,.spec-icone svg{width:100%;height:auto}

/* Botão "Saiba mais" */
.btn-saiba{align-self:center;margin-top:auto;display:inline-flex;align-items:center;gap:.5rem;background:var(--marrom);color:#fff;padding:.8rem 2.4rem;border-radius:999px;font-weight:600;font-size:.95rem;transition:.2s}
.btn-saiba:hover{background:var(--laranja-escuro)}


/* ===== 3. CELULAR ===== */
@media(max-width:860px){
  .maq-hero{display:block;min-height:0}
  .maq-hero-foto{position:relative;width:100%;height:260px;border-radius:0 0 60px 60px}
  .maq-hero .container{padding:2rem 0 3rem}
  .maq-hero-texto{max-width:none}
  .maq-hero-blob{left:-18%;bottom:-6%;width:200px}

  .maq-grid{grid-template-columns:1fr;gap:2.4rem}
}
