/*
Theme Name: LasDicasTech
Theme URI: https://lasdicas.com
Author: Las Dicas Tech
Author URI: https://lasdicas.com
Description: Tema moderno em estilo Tech Neon, ideal para sites de tecnologia, IA, reviews, tutoriais e conteúdo digital.
Version: 1.0.0
Text Domain: lasdicastech
*/

/* ============================
   VARIÁVEIS
   ============================ */
:root {
  --ldt-bg: #050814;
  --ldt-bg-soft: #07101f;
  --ldt-bg-card: #0c1628;
  --ldt-primary: #14f2ff;
  --ldt-primary-soft: rgba(20, 242, 255, 0.1);
  --ldt-accent: #1a73e8;
  --ldt-text: #f5f7ff;
  --ldt-text-soft: #a3b1d1;
  --ldt-border-soft: rgba(255, 255, 255, 0.06);
  --ldt-radius-lg: 20px;
  --ldt-radius-md: 14px;
  --ldt-radius-sm: 10px;
  --ldt-max-width: 1180px;
  --ldt-shadow: 0 10px 40px rgba(0,0,0,0.6);
  --ldt-font-heading: "Montserrat", sans-serif;
  --ldt-font-body: "Inter", sans-serif;
}

/* ============================
   RESET
   ============================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: radial-gradient(circle at 70% 20%, #0e1a33, #050814 50%);
  font-family: var(--ldt-font-body);
  color: var(--ldt-text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--ldt-primary); text-decoration: none; transition: 0.2s; }
a:hover { color: #90f7ff; }

/* ============================
   CONTAINER
   ============================ */
.ldt-container {
  width: 100%;
  max-width: var(--ldt-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================
   HEADER
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(5, 8, 20, 0.85);
  border-bottom: 1px solid var(--ldt-border-soft);
  padding: 10px 0;
}

.site-header-inner {
  max-width: var(--ldt-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Branding */
.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #14f2ff30, #1a73e830);
  border: 1px solid #14f2ff30;
}

.site-title a {
  color: #fff;
  font-family: var(--ldt-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Menu */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 22px;
}

.main-navigation a {
  font-size: 0.95rem;
  color: var(--ldt-text-soft);
  position: relative;
}

.main-navigation a:hover {
  color: var(--ldt-primary);
}

.main-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--ldt-primary);
  transition: width 0.2s;
}

.main-navigation a:hover::after {
  width: 100%;
}

/* CTA do header */
.header-cta {
  margin-left: 10px;
}

.ldt-header-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--ldt-primary);
  color: var(--ldt-text);
  background: rgba(20, 242, 255, 0.08);
  box-shadow: 0 0 12px rgba(20, 242, 255, 0.25);
}
.ldt-header-cta:hover {
  background: linear-gradient(135deg, #1a73e8, #14f2ff);
  color: #02040a;
}

/* ============================
   HERO (HOME)
   ============================ */
.ldt-hero {
  padding: 70px 0 40px;
}

.ldt-hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
}

.ldt-hero-title {
  font-family: var(--ldt-font-heading);
  font-size: clamp(2.4rem, 3.4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.ldt-hero-subtitle {
  color: var(--ldt-text-soft);
  max-width: 480px;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.ldt-hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ldt-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.ldt-btn-primary {
  background: linear-gradient(135deg, #1a73e8, #14f2ff);
  color: #02040a;
  box-shadow: 0 4px 18px rgba(20, 242, 255, 0.35);
}
.ldt-btn-primary:hover {
  box-shadow: 0 6px 24px rgba(20, 242, 255, 0.55);
}

.ldt-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ldt-primary);
  color: var(--ldt-text);
}

/* Hero gráfico */
.ldt-hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ldt-hero-graphic svg {
  filter: drop-shadow(0 0 20px rgba(20, 242, 255, 0.5));
}

/* Seções genéricas */
.ldt-section {
  padding: 60px 0;
}

/* ============================
   GRID DE POSTS / CARDS
   ============================ */
.ldt-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.ldt-blog-card {
  background: var(--ldt-bg-card);
  border-radius: var(--ldt-radius-md);
  border: 1px solid var(--ldt-border-soft);
  padding: 16px;
  transition: 0.2s;
  box-shadow: var(--ldt-shadow);
}
.ldt-blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--ldt-primary);
}

.ldt-blog-card-thumb {
  overflow: hidden;
  border-radius: var(--ldt-radius-sm);
  margin-bottom: 10px;
}
.ldt-blog-card-thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.ldt-blog-card-meta {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--ldt-primary);
  margin-bottom: 6px;
}

.ldt-blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.ldt-blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--ldt-text-soft);
}

/* Botão outline */
.ldt-btn-outline {
  border-radius: 999px;
  border: 1px solid var(--ldt-primary);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ldt-primary);
  background: transparent;
  display: inline-block;
}
.ldt-btn-outline:hover {
  background: var(--ldt-primary-soft);
  color: #fff;
}

/* ============================
   NEWSLETTER DA HOME
   ============================ */
.ldt-news-form {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.ldt-news-form input[type="email"] {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--ldt-border-soft);
  background: rgba(7, 16, 31, 0.9);
  color: var(--ldt-text);
  min-width: 260px;
}
.ldt-news-form button {
  border-radius: 999px;
  padding: 10px 18px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #1a73e8, #14f2ff);
  color: #02040a;
}


/* ============================
   SEARCH ICON + CAMPO
   ============================ */
.ldt-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.ldt-search-btn {
  background: none;
  border: none;
  color: var(--ldt-text);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.ldt-search-btn:hover {
  opacity: 1;
}

.ldt-search-form {
  position: absolute;
  right: 0;
  top: 34px;
  display: none;
}

.ldt-search-form input[type="search"] {
  padding: 8px 12px;
  min-width: 200px;
  border-radius: 999px;
  border: 1px solid var(--ldt-border-soft);
  background: rgba(7, 16, 31, 0.95);
  color: var(--ldt-text);
}

.ldt-search.show .ldt-search-form {
  display: block;
  animation: fadeSlide 0.2s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================
   RESPONSIVIDADE
   ============================ */
@media (max-width: 1150px) {
  .ldt-hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 980px) {
  .ldt-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header-inner {
    gap: 12px;
  }
  .header-cta {
    display: none; /* esconde o CTA em telas menores para caber tudo */
  }
}

@media (max-width: 768px) {
  .ldt-hero {
    padding-top: 48px;
  }
  .ldt-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ldt-hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .ldt-blog-grid {
    grid-template-columns: 1fr;
  }
  .site-footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================
   FOOTER – VERSÃO FLEX
   ============================ */

.site-footer {
  background: #03060d;
  margin-top: 80px;
  padding: 50px 0 30px;
  border-top: 1px solid var(--ldt-border-soft);
}

/* Container interno alinhado com o restante do site */
.site-footer-inner {
  max-width: var(--ldt-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

/* Colunas */
.site-footer-about,
.site-footer-col {
  flex: 1 1 220px;  /* todas as colunas ocupam espaço parecido */
  min-width: 200px;
}

.site-footer-title {
  font-family: var(--ldt-font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--ldt-text);
}

.site-footer-col,
.site-footer-about {
  font-size: 0.9rem;
  color: var(--ldt-text-soft);
}

.site-footer-col p,
.site-footer-about p {
  margin-bottom: 10px;
}

/* Links do footer */
.site-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer-nav li + li {
  margin-top: 6px;
}

.site-footer a {
  color: var(--ldt-text-soft);
}
.site-footer a:hover {
  color: var(--ldt-primary);
}

/* Newsletter no footer */
.site-footer-newsletter input[type="email"] {
  width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--ldt-border-soft);
  background: rgba(7, 16, 31, 0.9);
  color: var(--ldt-text);
  margin-bottom: 8px;
}
.site-footer-newsletter button {
  width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, #1a73e8, #14f2ff);
  color: #02040a;
}

/* Redes sociais */
.site-footer-social {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.site-footer-social a {
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--ldt-border-soft);
}

/* Linha final © */
.site-footer-bottom {
  max-width: var(--ldt-max-width);
  margin: 32px auto 0;
  padding: 18px 20px 0;
  border-top: 1px solid var(--ldt-border-soft);
  text-align: center;
  font-size: 0.85rem;
  color: #8a93a7;
}

/* Footer responsivo */
@media (max-width: 980px) {
  .site-footer-inner {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer-inner {
    flex-direction: column;
  }
}

/* Ajuste fino: alinhar melhor a coluna "Navegação" */
.site-footer-col:nth-child(2) {
  margin-left: 68px;
}


