/*
Theme Name: Prates Corretor
Theme URI: https://pratescorretor.com.br
Author: Anderson Prates
Author URI: https://pratescorretor.com.br
Description: Tema personalizado para Prates Corretor de Imóveis - Consultoria imobiliária estratégica
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prates-corretor
*/

/* ===== CSS Variables ===== */
:root {
  --color-navy: #1a2b4a;
  --color-navy-light: #243555;
  --color-silver: #a8a9ad;
  --color-silver-light: #d4d5d9;
  --color-cream: #faf9f7;
  --color-white: #ffffff;
  --color-border: #e5e7eb;
  --color-muted: #f1f0ee;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
  background-color: var(--color-white);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

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

p {
  margin: 0 0 1rem;
}

.text-primary { color: var(--color-navy); }
.text-muted { color: var(--color-silver); }

/* ===== Layout ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 1.5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 1rem;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-navy-light);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-navy);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-logo img {
  height: 56px;
  width: auto;
}

@media (min-width: 768px) {
  .site-logo img {
    height: 64px;
  }
}

.main-navigation {
  display: none;
}

@media (min-width: 1024px) {
  .main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.main-navigation a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: rgba(26, 43, 74, 0.7);
}

.main-navigation a:hover {
  color: var(--color-navy);
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: flex;
  }
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-muted);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
}

.hero-line {
  width: 4rem;
  height: 1px;
  background-color: var(--color-navy);
  margin: 0 auto 2rem;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-title em {
  font-style: italic;
  color: var(--color-navy);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-silver);
  max-width: 42rem;
  margin: 0 auto 3rem;
}

/* ===== About Section ===== */
.about-section {
  background-color: var(--color-cream);
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -1rem;
  border: 1px solid rgba(168, 169, 173, 0.3);
  z-index: -1;
}

.about-image {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .about-image {
    margin: 0;
  }
}

.section-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.about-content h2 em {
  font-style: italic;
}

.about-text {
  color: rgba(26, 43, 74, 0.8);
  margin-bottom: 1.5rem;
}

.about-signature {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.about-signature .name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-navy);
}

.about-signature .creci {
  font-size: 0.875rem;
  color: var(--color-silver);
  letter-spacing: 0.025em;
  margin-top: 0.25rem;
}

/* ===== Methodology Section ===== */
.methodology-section {
  background-color: var(--color-muted);
}

.methodology-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.methodology-header h2 em {
  font-style: italic;
}

.methodology-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .methodology-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .methodology-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.methodology-card {
  background-color: var(--color-white);
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.5s ease;
}

.methodology-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.methodology-card .step-number {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(26, 43, 74, 0.4);
  margin-bottom: 1.5rem;
}

.methodology-card .icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.methodology-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.methodology-card p {
  color: var(--color-silver);
  margin: 0;
}

/* ===== Properties Section ===== */
.properties-section {
  background-color: var(--color-white);
}

.properties-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .properties-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.properties-header h2 em {
  font-style: italic;
}

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

@media (min-width: 768px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-card {
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.property-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.property-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-content {
  padding: 1.5rem;
}

.property-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.property-location {
  font-size: 0.875rem;
  color: var(--color-silver);
  margin-bottom: 1rem;
}

.property-details {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-silver);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

/* ===== Specialties Section ===== */
.specialties-section {
  background-color: var(--color-white);
}

.specialties-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .specialties-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.specialties-content h2 em {
  font-style: italic;
}

.specialties-content p {
  font-size: 1.125rem;
  color: var(--color-silver);
  max-width: 32rem;
}

.specialties-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.specialty-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  border-left: 2px solid var(--color-border);
  transition: border-color 0.3s ease;
}

.specialty-item:hover {
  border-left-color: var(--color-navy);
}

.specialty-item .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-navy);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.specialty-item h3 {
  font-size: 1.125rem;
  font-family: var(--font-sans);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.specialty-item p {
  color: var(--color-silver);
  margin: 0;
}

/* ===== Why Prates Section ===== */
.why-prates-section {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.why-prates-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.why-prates-section .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.why-prates-section h2 {
  color: var(--color-white);
}

.why-prates-section h2 em {
  font-style: italic;
}

.reasons-grid {
  display: grid;
  gap: 0;
  text-align: left;
  margin: 4rem 0;
}

@media (min-width: 768px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 3rem;
  }
}

.reason-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reason-item .check-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reason-item .check-icon svg {
  width: 1rem;
  height: 1rem;
}

.reason-item p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo img {
  height: 4rem;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  max-width: 20rem;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 1rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-contact svg {
  width: 1.125rem;
  height: 1.125rem;
}

.footer-legal p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links a:hover {
  color: var(--color-white);
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: white;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.italic { font-style: italic; }
