/*
Theme Name: ContaPro — Serviços Contábeis
Theme URI: https://contapro.com.br
Description: Landing page de alta conversão para serviços contábeis. IR 2026, abertura e encerramento de empresas, regularização fiscal.
Author: ContaPro
Author URI: https://contapro.com.br
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: contapro
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ============================================================
   DESIGN SYSTEM — ContaPro Landing Page
   Philosophy: Warm Expertise — autoridade acessível e confiável
   Palette: Forest Green (#1B4332) | Amber (#E07B39) | Cream (#FDF6EC)
   Typography: Sora (headings) + Nunito (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700&display=swap');

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

:root {
  --primary: #1B4332;
  --primary-dark: #0f2a1e;
  --primary-light: #2d6a4f;
  --accent: #E07B39;
  --accent-dark: #c9622a;
  --accent-light: #f5a87a;
  --background: #FDF6EC;
  --foreground: #3a5a4a;
  --text-muted: #6b9e85;
  --text-light: #a8d5be;
  --success: #52b788;
  --border: #1B4332;
  --border-light: rgba(27, 67, 50, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

button, [role="button"] {
  cursor: pointer;
  border: none;
  font-family: 'Nunito', sans-serif;
  transition: all 0.3s ease;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ── ANIMATIONS ─────────────────────────────────────────────────── */

@keyframes pulse-amber {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pulse-amber {
  animation: pulse-amber 2s ease-in-out infinite;
}

.float-btn {
  animation: float 3s ease-in-out infinite;
}

.btn-shimmer {
  background: linear-gradient(90deg, #E07B39 0%, #f59a5c 40%, #E07B39 60%, #c9622a 100%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.reveal {
  animation: reveal 0.6s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }
.reveal-delay-4 { animation-delay: 0.4s; }

/* ── UTILITY CLASSES ────────────────────────────────────────────── */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-4 { padding-top: 2rem; }
.pb-4 { padding-bottom: 2rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 768px) {
  .grid-cols-2 { grid-template-columns: 1fr; }
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .hidden-mobile { display: none; }
}

/* ── WORDPRESS SPECIFIC ─────────────────────────────────────────── */

.wp-block-image {
  margin: 1.5rem 0;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
}

.clear {
  clear: both;
}

img.wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.wp-caption {
  border: 1px solid #ccc;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  opacity: 0.8;
  margin: 10px 0;
}

.wp-caption img {
  margin: 5px;
}

.wp-caption p.wp-caption-text {
  margin: 0.8075em 0;
  font-size: 13px;
}

.wp-smiley {
  margin: 0 !important;
  max-height: 1em;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}
