/* =========================
   Infinity Menu — style.css
   Paleta baseada no logo
   ========================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Montserrat:wght@600;800&display=swap');

:root{
  --yellow: #F9C63B;
  --orange: #F29543;
  --orange-dark: #D8792E;
  --black: #0C0C0C;
  --white: #FFFFFF;
  --gray: #E8E8E8;
  --radius: 12px;
  --max-width: 1100px;
}

/* RESET */
*{margin:0;padding:0;box-sizing:border-box}

/* evita overflow em telas pequenas */
img{max-width:100%;height:auto;display:block}
body{
  font-family: "Inter", sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
}

/* HEADER */
/* NAVBAR PREMIUM */
.navbar {
    width: 100%;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 999;
    padding: 12px 0;
}

/* Centralização e espaçamento */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo + Nome da Marca */
.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    height: 48px;
    width: auto;
    margin-right: 12px;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.5px;
}

/* Links da navbar */
.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: #222;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Botão Contato */
.btn-contato {
    background: linear-gradient(90deg, #FFCB2E, #F49B2C);
    color: #000;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.btn-contato:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}


/* HERO */
.hero{
  min-height:72vh;
  padding:60px 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, rgba(242,146,67,0.06), rgba(249,198,59,0.05));
}

.hero .inner{
  max-width:var(--max-width);
  display:grid;
  grid-template-columns:1fr 420px;
  gap:30px;
}

.kicker{
  background:linear-gradient(90deg,var(--yellow),var(--orange));
  padding:8px 14px;
  border-radius:50px;
  font-weight:700;
}

.hero h1{
  font-family:"Montserrat",sans-serif;
  font-size:42px;
  margin:14px 0;
}

.lead{
  font-size:18px;
  opacity:.8;
}

.cta-row{
  margin-top:20px;
  display:flex;
  gap:12px;
}

.btn-cta{
  background:linear-gradient(90deg,var(--orange),var(--orange-dark));
  color:var(--white);
  padding:14px 22px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
}

.btn-cta-outline{
  padding:14px 22px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  background:var(--black);
  color:var(--white);
}

/* HERO IMAGE */
.visual-card{
  background:linear-gradient(135deg,var(--yellow),var(--orange));
  padding:18px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.visual-card img{
  width:100%;
  border-radius:10px;
}

/* SECTION BASE */
.section{
  padding:80px 20px;
  max-width:var(--max-width);
  margin:auto;
  text-align:center;
}

.section h2{
  font-family:"Montserrat",sans-serif;
  font-size:32px;
  color:var(--black);
}

.section p{
  max-width:820px;
  margin:0 auto 20px;
  font-size:16px;
  opacity:.85;
}

/* QUEM SOMOS */
/* =======================
      QUEM SOMOS
======================= */
.about-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 450px;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: left;
  color: #000;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #444;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  color: #333;
  font-weight: 500;
}

.highlight span {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1a73e8; /* você pode mudar para a cor do logo */
}

/* IMAGEM */
.about-image {
  flex: 1 1 450px;
}

.about-image img {
  width: 100%;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  box-shadow: 0px 8px 22px rgba(0, 0, 0, 0.08);
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    text-align: center;
  }

  .about-highlights {
    justify-items: center;
  }
}


/* CARDS */
.lista{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
  margin-top:20px;
}

.card{
  background:var(--white);
  padding:20px;
  border-radius:12px;
  text-align:left;
  box-shadow:0 8px 20px rgba(0,0,0,0.04);
  border-left:6px solid var(--orange);
}

/* PORTFOLIO GRID */
/* ===== NOVO PORTFÓLIO ===== */

/* ===== PORTFÓLIO - corrigido para evitar cortes e sobreposição ===== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 30px;
  align-items: start; /* garante alinhamento pela parte superior */
}

/* card pai organiza imagem + título verticalmente */
.portfolio-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 14px;
  overflow: visible; /* imagem fica dentro do wrap; sem cortar texto */
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

/* área da imagem — garante proporção e evita cortes */
.img-wrap{
  width: 100%;
  background: #fbfbfb;          /* leve fundo para conter imagens menores */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;                /* espaço entre a borda e a imagem */
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

/* imagem não será cortada: usa contain; mantém proporção */
.img-wrap img {
  max-width: 100%;
  max-height: 320px;           /* controla altura máxima; ajuste conforme preferir */
  object-fit: contain;         /* importantíssimo para NÃO cortar a imagem */
  display: block;
  border-radius: 8px;          /* pequena suavização da imagem */
}

/* título sempre abaixo da imagem, sem sobreposição */
.portfolio-title {
  padding: 14px 16px 20px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  background: transparent;
}

/* hover visual */
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

/* responsivo: reduz altura máxima da imagem em telas menores */
@media (max-width: 860px){
  .img-wrap img {
    max-height: 240px;
  }
}


/* CONTATO */
/* =========================
   CONTATO - ESTILO NOVO
========================= */

.contact-section {
  padding: 100px 20px;
  background: #faf7ff; /* tom muito claro puxado pro lilás */
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* TEXTOS */
.contact-left h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  margin-bottom: 14px;
}

.contact-desc {
  color: #444;
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 30px;
}

/* BLOCO DE INFORMAÇÃO */
.contact-item {
  margin-bottom: 22px;
}

.contact-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #6c3df4;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 1rem;
  color: #222;
}

.contact-whats-link {
  text-decoration: none;
}

/* BOTÃO */
.contact-button {
  margin-top: 25px;
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  color: rgb(8, 0, 0);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: opacity .2s;
}

.contact-button:hover {
  opacity: .85;
}

.contact-button2 {
  margin-top: 25px;
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  color: rgb(5, 0, 0);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: opacity .2s;
}

.contact-button2:hover {
  opacity: .85;
}

/* IMAGEM */
.contact-right img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* RESPONSIVO */
@media(max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-right {
    order: -1;
  }
}
/* RESPONSIVO */
@media (max-width: 820px){
  .contato-container{
    grid-template-columns: 1fr;
  }
}

/* =======================
           FOOTER
======================= */

.footer {
  background: #0a0a0a;
  color: white;
  padding-top: 60px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

/* LOGO E TEXTO */
.footer-logo {
  width: 90px;
  border-radius: 10px;
}

.footer-text {
  margin-top: 12px;
  color: #bfbfbf;
  font-size: 0.95rem;
  max-width: 260px;
}

/* COLUNAS */
.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--yellow);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #dcdcdc;
  text-decoration: none;
  transition: .2s;
}

.footer-col a:hover {
  color: var(--yellow);
}

/* LINHA FINAL */
.footer-bottom {
  text-align: center;
  padding: 18px;
  background: #050505;
  font-size: 0.9rem;
  color: #888;
}

/* RESPONSIVO */
@media(max-width: 600px) {
  .footer-container {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto;
  }
}


/* RESPONSIVO */
@media (max-width:980px){
  .hero .inner{
    grid-template-columns:1fr;
  }
  .visual-card{
    order:-1;
    margin-bottom:20px;
  }
}

/* =======================
   ANIMAÇÕES & NAVBAR PREMIUM
======================= */

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* HEADER: transição para estado "scrolled" */
.navbar {
  transition: background-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease, transform .28s ease;
}

/* header quando a página rolar: blur + sombra sutil */
.navbar.scrolled {
  background-color: rgba(255,255,255,0.62); /* meio translúcido */
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  box-shadow: 0 10px 30px rgba(12,12,12,0.10);
  transform: translateY(0);
}

/* estado inicial de elementos que serão revelados */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
  transition: opacity .62s cubic-bezier(.22,.9,.36,1), transform .62s cubic-bezier(.22,.9,.36,1);
}

/* quando revelado */
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* small delay helpers (aplicados dinamicamente pelo JS também) */
.reveal-delay-1 { transition-delay: .05s; }
.reveal-delay-2 { transition-delay: .12s; }
.reveal-delay-3 { transition-delay: .20s; }
.reveal-delay-4 { transition-delay: .28s; }

/* Hover premium para cards e botões */
.card, .portfolio-card, .produto-item, .testimonial-card, .contact-card {
  transition: transform .28s cubic-bezier(.2,.9,.3,1), box-shadow .28s ease;
  will-change: transform, box-shadow;
}

.card:hover, .portfolio-card:hover, .produto-item:hover, .testimonial-card:hover, .contact-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 40px rgba(12,12,12,0.12);
}

/* Hero visual card subtle parallax hover */
.visual-card img {
  transition: transform .7s cubic-bezier(.2,.9,.3,1);
}
.visual-card:hover img {
  transform: scale(1.03) translateY(-6px);
}

/* Button micro interactions */
.btn-cta, .btn-enviar, .contact-button, .btn-whats.grande {
  transition: transform .16s ease, box-shadow .16s ease, opacity .12s;
}
.btn-cta:active, .btn-enviar:active, .contact-button:active {
  transform: translateY(1px) scale(.995);
}

/* subtle focus outline for accessibility */
button:focus, a:focus, input:focus, textarea:focus {
  outline: 3px solid rgba(242,146,67,0.18);
  outline-offset: 4px;
  border-radius: 8px;
}

/* reduced motion mode — respect user preference */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll, .card, .portfolio-card, .produto-item, .testimonial-card, .contact-card, .visual-card img {
    transition: none !important;
    transform: none !important;
  }
  html { scroll-behavior: auto; }
}

/* Scroll suave geral */
html {
    scroll-behavior: smooth;
}

/* Animação padrão das seções */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Quando a seção entra na tela */
section.show {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar link com transição elegante */
nav a {
    transition: color 0.3s ease, opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.7;
}

/* =========================
   MOBILE MENU
   ========================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 8px;
    border-radius: 10px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #222;
    border-radius: 5px;
    transition: 0.3s;
}

/* Efeito X quando aberto */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* MENU MOBILE */
@media (max-width: 820px) {

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #ffffffee;
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        padding-top: 40px;
        gap: 30px;
        padding-left: 30px;
        transition: 0.4s ease;
        box-shadow: -4px 0 18px rgba(0,0,0,0.1);
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-links.open {
        right: 0;
    }

    /* O menu continua existindo, mas fica fora da tela até abrir */
    .navbar .nav-links {
        display: flex;
    }

    /* Mostra botão de menu */
    .hamburger {
        display: flex;
    }

    /* Reorganiza navbar */
    .nav-content {
        justify-content: space-between;
    }

    .btn-contato {
        display: none; /* botão some no mobile, vira item do menu */
    }

    /* Coloca botão dentro do menu */
    .nav-links a:last-child {
        margin-top: 40px;
        background: linear-gradient(90deg, #FFCB2E, #F49B2C);
        padding: 12px 20px;
        border-radius: 10px;
        font-weight: 700;
        width: fit-content;
    }
}

/* =========================
   RESPONSIVIDADE GERAL
   ========================= */

/* HERO */
@media (max-width: 900px) {
    .hero .inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .visual-card {
        order: -1;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .lead {
        font-size: 16px;
    }
}

/* QUEM SOMOS */
@media (max-width: 700px) {
    .qs-wrap img {
        max-width: 100%;
        border-radius: 10px;
    }
}

/* PRODUTOS E PORTFÓLIO */
@media (max-width: 700px) {
    .lista {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .grid img {
        height: auto;
    }
}

/* CONTATO */
@media (max-width: 700px) {
    .contact-card {
        margin-top: 20px;
    }
}


