/*
Theme Name: AK Pharma Pro
Theme URI: https://akpharmaindustria.com.br
Author: AK Pharma
Author URI: https://akpharmaindustria.com.br
Description: Tema institucional e editorial moderno para AK Pharma — Terceirização e Private Label de suplementos. Totalmente editável (textos, fotos e colunas dinâmicas), compatível com Gutenberg e Elementor, e com sistema de Blog moderno integrado ao criador de posts nativo do WordPress.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: akpharma
Tags: custom-background, custom-logo, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, block-patterns, blog
*/

/* Variáveis de Identidade Visual AK Pharma */
:root {
  --bg: #f4f2ee;
  --bg-alt: #e7e0d5;
  --fg: #1c1a18;
  --muted: #78736c;
  --primary: #c69138;
  --primary-hover: #b07e2c;
  --primary-light: rgba(198, 145, 56, 0.12);
  --primary-fg: #f4f2ee;
  --dark-bg: #0d0d0c;
  --dark-surface: #171615;
  --dark-fg: #f4f2ee;
  --dark-muted: #8c8880;
  --dark-border: #252422;
  --line: rgba(28, 26, 24, 0.08);
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-max: 1280px;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.15;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Seções Gerais */
.section {
  padding: 6.5rem 5%;
  position: relative;
}

.section-sm {
  padding: 4rem 5%;
}

.section-dark {
  background-color: var(--dark-bg);
  color: var(--dark-fg);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--dark-fg);
}

.section-dark p {
  color: var(--dark-muted);
}

.section-light {
  background-color: var(--bg);
}

.section-light-alt {
  background-color: var(--bg-alt);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.eyebrow {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -1px;
}

.h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.5px;
}

.h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
}

/* Botões Modernos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(198, 145, 56, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: rgba(28, 26, 24, 0.25);
}

.btn-ghost:hover {
  border-color: var(--fg);
  background: rgba(28, 26, 24, 0.04);
  transform: translateY(-2px);
}

.section-dark .btn-ghost {
  color: var(--dark-fg);
  border-color: rgba(244, 242, 238, 0.25);
}

.section-dark .btn-ghost:hover {
  border-color: var(--dark-fg);
  background: rgba(244, 242, 238, 0.06);
}

/* WhatsApp Flutuante */
.wa-float {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.wa-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}
