/*
Theme Name: LaydConvert
Description: Tema personalizado para conversão de arquivos.
Author: Seu Nome
Version: 1.0
*/

/* =========================
   VARIÁVEIS BÁSICAS
   ========================= */

   :root {
    --bg-main: #050608;
    --bg-section: #0a0d11;
    --bg-card: #10141b;
    --accent: #1a73e8;
    --accent-soft: rgba(26, 115, 232, 0.16);
    --text-main: #ffffff;
    --text-muted: #b0bdd8;
    --border-soft: #1f2530;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  }
  
  /* =========================
     LAYOUT GLOBAL
     ========================= */
  
  html {
    height: 100%;
    margin: 0;
    padding: 0;
  }
  
  body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #0d1520 0%, #020308 45%, #000000 100%);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      sans-serif;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
  }
  
  main {
    flex: 1 0 auto;
  }
  
  a {
    color: var(--accent);
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  .container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
  }
  
  /* =========================
     CABEÇALHO / MENU
     ========================= */
  
  .site-header {
    width: 100%;
    padding: 0.8rem 0 1rem;
    background: rgba(5, 8, 14, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 50;
  }
  
  .site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo esquerda, menu direita */
    gap: 1.5rem;
  }
  
  .site-header-logo {
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
  }
  
  /* NAV GENÉRICO (pega qualquer UL dentro do nav do header) */
  .site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
  }
  
  .site-nav ul {
    list-style: none;          /* tira bolinhas */
    display: flex;             /* deixa lado a lado */
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
    margin: 0;
    padding: 0;
  }
  
  .site-nav ul li {
    margin: 0;
  }
  
  .site-nav ul a {
    font-size: 0.9rem;
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 999px;
    transition:
      background-color 0.16s ease,
      color 0.16s ease,
      transform 0.12s ease;
  }
  
  .site-nav ul a:hover,
  .site-nav ul li.current-menu-item > a,
  .site-nav ul li.current_page_item > a {
    background-color: rgba(26, 115, 232, 0.16);
    color: var(--accent);
    transform: translateY(-1px);
  }
  
  /* Mantém compatível com a classe que você definiu no wp_nav_menu */
  .site-nav-list {
    list-style: none;
  }
  
  /* =========================
     CAPA / BANNER NO TOPO
     ========================= */
  
     .top-banner {
      width: 100%;
      background: #050608;
      padding: 1.1rem 0 1.1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    /* Capa centralizada e com largura máxima no desktop */
/* Desktop (fica como está, centralizada) */
.top-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 230px;
  border-radius: 24px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

/* Tablet / telas médias */
@media (max-width: 900px) {
  .top-banner-inner {
    height: 190px;
    border-radius: 20px;
    margin: 0 1.5rem;  /* margens laterais, ela fica menor e mais “leve” */
  }
}

/* Celular */
@media (max-width: 640px) {
  section {
    padding: 3rem 0;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

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

  .form-box {
    padding: 1.7rem 1.4rem 1.8rem;
  }

  .top-banner-inner {
    height: 160px;
    border-radius: 16px;
    margin: 0 1.2rem;

    /* ⬇️ Aqui é o truque pro celular não “comer” o texto */
    background-size: contain;        /* mostra a imagem inteira, sem muito zoom */
    background-position: center;     /* centraliza o LaydConvert */
    background-repeat: no-repeat;
    background-color: #050608;       /* cor de fundo atrás da imagem */
  }
}

  /* =========================
     SEÇÕES E TIPOGRAFIA
     ========================= */
  
  section {
    padding: 3.5rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-header--center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-title {
    font-size: 2rem;
    margin: 0 0 0.5rem;
  }
  
  .section-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
  }
  
  .tagline {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
  
  .tagline::before {
    content: "";
    width: 18px;
    height: 1px;
    background: var(--accent);
    border-radius: 999px;
  }
  
  /* =========================
     BOTÕES
     ========================= */
  
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #1a73e8, #4d9dff);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.18s ease, filter 0.16s ease;
    box-shadow: 0 6px 18px rgba(26, 115, 232, 0.45);
  }
  
  .btn-primary:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 10px 26px rgba(26, 115, 232, 0.6);
    filter: saturate(1.05);
  }
  
  .btn-small {
    padding: 0.55rem 1.25rem;
    font-size: 0.86rem;
  }
  
  /* Botão padrão de formulário */
  button {
    width: 100%;
    background: linear-gradient(135deg, #1a73e8, #4d9dff);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.18s ease, filter 0.16s ease;
    box-shadow: 0 6px 18px rgba(26, 115, 232, 0.5);
  }
  
  button:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 10px 26px rgba(26, 115, 232, 0.7);
    filter: saturate(1.06);
  }
  
  /* =========================
     HERO DA HOME
     ========================= */
  
  .hero {
    padding: 3.2rem 1.5rem 1.5rem;
    text-align: center;
  }
  
  .hero-inner {
    display: flex;
    justify-content: center;
  }
  
  .hero-left--only {
    max-width: 720px;
    margin: 0 auto;
  }
  
  .logo-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent);
    margin-bottom: 0.9rem;
  }
  
  .hero-title {
    color: var(--accent);
    font-size: 2.4rem;
    margin: 0 0 0.7rem;
  }
  
  .hero-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
  }
  
  /* =========================
     GRID DE CONVERSORES
     ========================= */
  
  .section-tools {
    padding-top: 1rem;
  }
  
  .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  /* Card do conversor */
  .tool-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.2rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }
  
  .tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
    border-color: var(--accent-soft);
  }
  
  .tool-card-icon {
    margin-bottom: 0.7rem;
  }
  
  .tool-card-icon img {
    width: 48px;
    height: 48px;
    margin: 0 auto;
  }
  
  .tool-card-title {
    font-size: 1.05rem;
    margin: 0 0 0.4rem;
  }
  
  .tool-card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    min-height: 42px;
    margin: 0 0 1rem;
  }
  
  /* =========================
     CONTEÚDO PRINCIPAL / FORM
     ========================= */
  
  .main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 1.5rem 3rem;
  }
  
  .form-box {
    max-width: 850px;
    width: 100%;
    background: var(--bg-card);
    padding: 2rem 1.8rem 2.1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
  }
  
  .form-box img.icon {
    width: 60px;
    display: block;
    margin: 0 auto 10px;
  }
  
  .form-box h1 {
    text-align: center;
    color: var(--accent);
    margin-bottom: 10px;
  }
  
  label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    font-size: 0.88rem;
  }
  
  input[type="file"],
  select,
  input[type="text"],
  input[type="email"],
  input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #252b3a;
    background-color: #05080f;
    color: var(--text-main);
    font-size: 0.9rem;
  }
  
  input::file-selector-button {
    background: #151b29;
    border: 1px solid #30384e;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--text-muted);
    cursor: pointer;
    margin-right: 10px;
  }
  
  /* =========================
     PROGRESSO & DOWNLOAD
     ========================= */
  
  .progress-container {
    margin-top: 20px;
    display: none;
  }
  
  .progress-bar {
    width: 100%;
    background-color: #05080f;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #262f46;
  }
  
  .progress-bar-fill {
    height: 12px;
    width: 0;
    background: linear-gradient(135deg, #1a73e8, #4d9dff);
    transition: width 0.3s;
  }
  
  .status-message {
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
  }
  
  .download-section {
    display: none;
    text-align: center;
    margin-top: 24px;
  }
  
  .download-section h3 {
    margin: 0 0 10px;
  }
  
  .download-section a.btn-primary {
    margin-bottom: 10px;
  }
  
  .back-button a {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.88rem;
  }
  
  /* =========================
     RODAPÉ
     ========================= */
  
  footer {
    margin-top: 2rem;
  }
  
  .footer-box {
    background: #05080f;
    color: var(--text-muted);
    padding: 18px 20px 22px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .footer-box strong {
    color: var(--accent);
  }
  
  .footer-box a {
    color: var(--accent);
  }
  
  /* =========================
     RESPONSIVO
     ========================= */
  
  @media (max-width: 900px) {
    .site-header {
      padding: 0.7rem 0 0.9rem;
    }
  
    .site-header-inner {
      flex-direction: column;   /* no mobile: logo em cima, menu embaixo */
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
    }
  
    .site-nav {
      justify-content: center;
    }
  
    .site-nav ul {
      justify-content: center;
    }
  
    .site-header-logo {
      font-size: 1rem;
    }
  
    .top-banner-inner {
      height: 190px;
    }
  
    .hero-title {
      font-size: 2rem;
    }
  
    .main-content {
      padding-top: 2rem;
    }
  }
  
  @media (max-width: 640px) {
    section {
      padding: 3rem 0;
    }
  
    .hero {
      padding-top: 2.4rem;
    }
  
    .hero-title {
      font-size: 1.9rem;
    }
  
    .tools-grid {
      grid-template-columns: 1fr;
    }
  
    .form-box {
      padding: 1.7rem 1.4rem 1.8rem;
    }
  
    .top-banner-inner {
      height: 160px;
    }
  }
 