/*
Theme Name: Ribeiro Topografia
Theme URI: https://ribeirotopeng.com.br
Author: Ribeiro Topografia
Description: Tema personalizado para Ribeiro Topografia - Regularização Fundiária e Georreferenciamento
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: ribeiro-topografia
*/

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #1a8a4a;
  --primary-dark: #156e3b;
  --primary-light: #e8f5ee;
  --foreground: #0f2918;
  --background: #f8faf8;
  --card: #ffffff;
  --muted: #eef2ef;
  --muted-foreground: #6b7c6f;
  --border: #c8dac8;
  --accent: #3d9960;
  --shadow-soft: 0 4px 20px -4px rgba(26, 60, 32, 0.15);
  --shadow-elevated: 0 8px 40px -8px rgba(26, 60, 32, 0.2);
  --shadow-card: 0 2px 16px -2px rgba(26, 60, 32, 0.1);
  --hero-gradient: linear-gradient(135deg, rgba(26, 138, 74, 0.95) 0%, rgba(21, 110, 59, 0.9) 100%);
  --cta-gradient: linear-gradient(135deg, #1a8a4a 0%, #2da05c 100%);
  --section-gradient: linear-gradient(180deg, #f8faf8 0%, #eef5f0 100%);
  --radius: 0.5rem;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

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

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

/* ===== UTILITIES ===== */
.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-gradient {
  background: var(--section-gradient);
}

.cta-gradient {
  background: var(--cta-gradient);
}

.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-elevated { box-shadow: var(--shadow-elevated); }
.shadow-card { box-shadow: var(--shadow-card); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--muted);
  color: var(--foreground);
}
.btn-secondary:hover {
  background: var(--border);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-full { width: 100%; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.header-logo-text {
  display: none;
}

@media (min-width: 640px) {
  .header-logo-text {
    display: block;
  }
}

.header-logo-text .brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  display: block;
}

.header-logo-text .brand-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  display: block;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

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

.header-nav a {
  color: rgba(15, 41, 24, 0.8);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--primary);
}

.header-cta {
  display: none;
}

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

/* Mobile Menu */
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--foreground);
}

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

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-nav.active { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  color: rgba(15, 41, 24, 0.8);
  font-weight: 500;
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--primary); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  margin-bottom: 2rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: 2.5rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 2rem;
}

@media (min-width: 768px) { .hero h1 { font-size: 3.25rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }

.hero-desc {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.hero-desc p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  letter-spacing: 0.025em;
}

.hero-desc .label {
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.hero-desc .separator {
  margin: 0 0.5rem;
  color: rgba(255,255,255,0.5);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator-inner {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator-dot {
  width: 6px;
  height: 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 9999px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== STATS ===== */
.stats {
  padding: 4rem 0;
  background: var(--card);
  border-top: 1px solid rgba(200, 218, 200, 0.5);
  border-bottom: 1px solid rgba(200, 218, 200, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.stat-item {
  text-align: center;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  transition: all 0.3s;
}

.stat-item:hover .stat-icon {
  background: var(--primary);
  transform: scale(1.1);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: color 0.3s;
}

.stat-item:hover .stat-icon svg { color: #fff; }

.stat-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== SERVICES ===== */
.services {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 5rem;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.875rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }

.section-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Service Cards */
.services-featured {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

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

.service-card {
  perspective: 1000px;
  cursor: pointer;
  height: 420px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-elevated);
}

.service-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.service-card-image {
  position: relative;
  height: 192px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 41, 24, 0.7), rgba(15, 41, 24, 0.2), transparent);
}

.service-card-icon {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.service-card-body {
  padding: 1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.service-card-body p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  flex: 1;
}

.service-card-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.75rem;
}

.service-card-back .back-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card-back .back-icon svg { width: 24px; height: 24px; color: #fff; }

.service-card-back h4 {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.service-card-back p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-card-back ul {
  list-style: none;
  padding: 0;
}

.service-card-back ul li {
  font-size: 0.8rem;
  color: var(--foreground);
  opacity: 0.8;
  padding: 0.2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-card-back ul li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  flex-shrink: 0;
}

/* Other Services Grid */
.services-other {
  display: grid;
  gap: 1.5rem;
}

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

.service-card-sm {
  perspective: 1000px;
  cursor: pointer;
  height: 340px;
}

.service-card-sm .service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.service-card-sm:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-sm .service-card-front,
.service-card-sm .service-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(200, 218, 200, 0.5);
}

.service-card-sm .service-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.service-card-sm .service-card-front {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.service-sm-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.service-card-sm:hover .service-sm-icon {
  background: var(--primary);
}

.service-sm-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: color 0.3s;
}

.service-card-sm:hover .service-sm-icon svg { color: #fff; }

/* ===== INSTITUTIONS ===== */
.institutions {
  padding: 6rem 0;
  background: var(--card);
}

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

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

.institution-card {
  background: var(--muted);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
}

.institution-card:hover {
  background: var(--primary);
  box-shadow: var(--shadow-elevated);
}

.institution-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: background 0.3s;
}

.institution-card:hover .institution-icon {
  background: rgba(255,255,255,0.2);
}

.institution-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  transition: color 0.3s;
}

.institution-card:hover .institution-icon svg { color: #fff; }

.institution-card h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}

.institution-card:hover h3 { color: #fff; }

.institution-card .inst-fullname {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  line-height: 1.5;
  transition: color 0.3s;
}

.institution-card:hover .inst-fullname { color: rgba(255,255,255,0.8); }

.institution-card .inst-desc {
  font-size: 0.875rem;
  color: rgba(15, 41, 24, 0.7);
  transition: color 0.3s;
}

.institution-card:hover .inst-desc { color: rgba(255,255,255,0.9); }

/* ===== USUCAPIAO ===== */
.usucapiao {
  padding: 6rem 0;
}

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

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

.usucapiao-content p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.usucapiao-box {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(200, 218, 200, 0.5);
}

.usucapiao-box h4 {
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.usucapiao-box ul {
  list-style: none;
  padding: 0;
}

.usucapiao-box ul li {
  font-size: 0.875rem;
  color: rgba(15, 41, 24, 0.8);
  padding: 0.25rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.usucapiao-box ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.usucapiao-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 639px) { .usucapiao-types { grid-template-columns: 1fr; } }

.usucapiao-type {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(200, 218, 200, 0.5);
  transition: all 0.3s;
}

.usucapiao-type:hover {
  box-shadow: var(--shadow-elevated);
  border-color: rgba(26, 138, 74, 0.3);
}

.usucapiao-type-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.usucapiao-type-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.usucapiao-type-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.usucapiao-type h4 {
  font-size: 0.875rem;
  color: var(--foreground);
}

.usucapiao-type .type-time {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
}

.usucapiao-type p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* ===== CLIENTS ===== */
.clients {
  padding: 4rem 0;
  background: #fff;
}

.clients h2 {
  text-align: center;
  font-size: 1.875rem;
  color: var(--foreground);
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) { .clients h2 { font-size: 2.25rem; } }

.clients-image {
  display: flex;
  justify-content: center;
}

.clients-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== ABOUT ===== */
.about {
  padding: 6rem 0;
  background: var(--card);
}

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

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

.about-content p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-content p:first-of-type {
  font-size: 1.125rem;
}

.about-checklist {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--foreground);
  padding: 0.5rem 0;
}

.about-checklist li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.about-visual {
  position: relative;
}

.about-visual-inner {
  background: var(--muted);
  border-radius: 1rem;
  padding: 2rem 3rem;
}

.about-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.about-logo img {
  height: 160px;
  width: auto;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card);
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 0.5rem;
  background: var(--cta-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.about-feature h3 {
  font-size: 1rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.about-feature p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 0;
  background: var(--cta-gradient);
  position: relative;
  overflow: hidden;
}

.cta-section .cta-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.cta-section h2 {
  font-size: 1.875rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) { .cta-section h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .cta-section h2 { font-size: 3rem; } }

.cta-section > p,
.cta-section .cta-inner > p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}

/* ===== CONTACT ===== */
.contact {
  padding: 5rem 0;
  background: var(--muted);
}

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

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

.contact-info h2 {
  font-size: 1.875rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) { .contact-info h2 { font-size: 2.25rem; } }

.contact-info > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

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

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 0.5rem;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.contact-detail h3 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-detail a,
.contact-detail span {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.contact-detail a:hover { color: var(--primary); }

/* Contact Form */
.contact-form-wrapper {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-elevated);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--foreground);
  background: var(--background);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 138, 74, 0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--foreground);
  color: #fff;
}

.footer-main {
  padding: 4rem 0;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-brand img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand .brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-brand .brand-sub {
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.3s;
}

.footer-social a:hover { background: var(--primary); }
.footer-social a svg { width: 20px; height: 20px; }

.footer-col h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li { padding: 0.35rem 0; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0 !important;
}

.footer-contact li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact li span,
.footer-contact li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

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

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s;
}

.whatsapp-btn:hover {
  background: #20BA5C;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.whatsapp-btn svg { width: 28px; height: 28px; }

/* ===== 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;
  opacity: 0;
}
