/*
Theme Name: WP-AI-Builder
Theme URI: https://example.com/wp-ai-builder
Author: WP AI Team
Author URI: https://example.com
Description: Tema WordPress com assistente de configuração baseado em IA que gera conteúdo e layout automaticamente.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-ai-builder
*/

:root {
  --primary-color: #4f46e5;
  --secondary-color: #ec4899;
  --background-color: #f9fafb;
  --text-color: #1f2937;
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Inter', sans-serif;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text-color);
  background: var(--background-color);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

a {
  color: var(--primary-color);
  transition: color 0.2s ease-in-out;
}

a:hover,
a:focus {
  color: var(--secondary-color);
}

header.site-header {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.site-header .site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
}

.site-header nav {
  display: flex;
  gap: 1rem;
}

.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 3rem 0;
}

.site-footer a {
  color: #38bdf8;
}

.button,
button,
input[type="submit"],
.wp-block-button__link {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  opacity: 0.9;
}

.hero {
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-family: var(--heading-font);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.hero p {
  max-width: 720px;
  margin: 1rem auto 2rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.portfolio-item {
  overflow: hidden;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.contact-form {
  background: #ffffff;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.widget-area {
  background: #fff;
  padding: 2rem;
  border-radius: 0.75rem;
}

@media (max-width: 768px) {
  .site-header nav {
    flex-direction: column;
  }
}
