/* ============================================
   Joaquim Francisco - Psicólogo
   Static Site Stylesheet
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Inter:wght@300;400;500;600;700&display=swap');

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

/* CSS Custom Properties */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-cursive: 'Allura', cursive;

  --background: #EEF2EF;
  --foreground: #2D3B31;
  --card: #F5F8F5;
  --card-foreground: #2D3B31;
  --primary: #4A7C59;
  --primary-foreground: #F4F8F5;
  --secondary: #E0E9E2;
  --secondary-foreground: #364039;
  --muted: #E4ECE5;
  --muted-foreground: #637068;
  --accent: #CDDCCF;
  --accent-foreground: #2D3B31;
  --border: #D2DCD4;
  --input: #D9E2DA;
  --ring: #4A7C59;
  --radius: 0.625rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================
   LAYOUT
   ============================================ */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

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

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

/* ============================================
   HEADER - Row 1: Top Bar (logo + nav)
   ============================================ */
.top-bar {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.top-bar-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .top-bar-inner {
    flex-direction: row;
    gap: 1rem;
    padding: 0.6rem 1.5rem;
  }
}
@media (min-width: 1024px) {
  .top-bar-inner { padding: 0.6rem 2rem; }
}

.logo-area {
  text-align: left;
  flex-shrink: 0;
  order: -1;
}

@media (min-width: 768px) {
  .logo-area { text-align: left; }
}

.logo-link {
  display: inline-block;
}

.logo-name {
  font-family: var(--font-cursive);
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #FFFFFF;
}

@media (min-width: 1024px) {
  .logo-name { font-size: 2.75rem; }
}

.logo-crp {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

@media (min-width: 1024px) {
  .logo-crp { font-size: 0.875rem; }
}

/* Top nav (desktop inline) */
.top-nav {
  display: flex;
  align-items: center;
  order: 1;
}

.top-nav-list {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.top-nav-list a {
  display: block;
  padding: 0.375rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary-foreground);
  opacity: 0.9;
  transition: background 0.2s, opacity 0.2s;
  white-space: nowrap;
  text-transform: none;
}

.top-nav-list a:hover,
.top-nav-list a.active {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

/* Mobile hamburger */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-foreground);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
}

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

.mobile-menu-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mobile menu dropdown */
.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background-color: var(--primary);
}

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

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

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

@media (min-width: 640px) {
  .mobile-nav ul { padding: 0.5rem 1.5rem; }
}

.mobile-nav a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-foreground);
  opacity: 0.9;
  transition: background 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

/* ============================================
   HEADER - Row 2: Info Bar (atendimento + contato)
   ============================================ */
.info-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.info-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  padding: 1rem 1rem;
  max-width: 80rem;
  margin: 0 auto;
  font-size: 0.8125rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .info-bar-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 1rem 1.5rem;
  }
}
@media (min-width: 1024px) {
  .info-bar-inner { padding: 1rem 2rem; }
}

.info-atendimento {
  font-weight: 500;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 211, 102, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--foreground);
  transition: background 0.2s;
  white-space: nowrap;
}

.whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.2);
}

.whatsapp-btn svg {
  width: 0.9rem;
  height: 0.9rem;
  color: #25d366;
  flex-shrink: 0;
}

.info-location {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.info-location svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  background: var(--background);
  padding-top: 1.5rem;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.hero-banner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: 50% 75%;
}

@media (min-width: 640px) {
  .hero-banner img { height: 300px; }
}
@media (min-width: 1024px) {
  .hero-banner img { height: 300px; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(45, 59, 49, 0.6), rgba(45, 59, 49, 0.3), transparent);
}

.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .hero-text {
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
}
@media (min-width: 1024px) {
  .hero-text { padding: 2.5rem; }
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 900px;
  align-items: center;
  text-align: center;
}

.hero-text h2 {
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .hero-text h2 { font-size: 2rem; }
}
@media (min-width: 1024px) {
  .hero-text h2 { font-size: 2.25rem; }
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 10px;
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.125rem; }
}

.hero-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(74, 124, 89, 0.4);
  width: fit-content;
}

.hero-contact-btn:hover {
  background: #3d6349;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.5);
}

.hero-contact-btn svg {
  width: 1rem;
  height: 1rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--background);
  padding: 2rem 0 4rem;
}

@media (min-width: 1024px) {
  .services-section { padding: 2.5rem 0 6rem; }
}

.services-grid {
  display: grid;
  gap: 1.25rem;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  transition: box-shadow 0.3s;
}

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

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--card-foreground);
}

.service-card p {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.service-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: color 0.2s;
}

.service-link:hover {
  color: var(--primary);
  opacity: 0.8;
}

.service-link .arrow {
  margin-left: 0.25rem;
  transition: transform 0.2s;
}

.service-card:hover .service-link .arrow {
  transform: translateX(4px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--secondary);
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .about-section { padding: 6rem 0; }
}

.about-grid {
  display: grid;
  align-items: start;
  gap: 2rem;
}

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

.about-photo-wrapper {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .about-photo-wrapper { justify-content: flex-start; }
}

.about-photo {
  position: relative;
}

.about-photo-frame {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 0.75rem;
  border: none;
  background: transparent;
}

@media (min-width: 640px) {
  .about-photo-frame {
    width: 100%;
    height: auto;
  }
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-accent {
  display: none;
}

.about-text h2 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .about-text h2 { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  .about-text h2 { font-size: 2.25rem; }
}

.about-text .paragraphs {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(74, 124, 89, 0.1);
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
}

.social-link:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ============================================
   CONVENIOS SECTION
   ============================================ */
.convenios-section {
  background: rgba(224, 233, 226, 0.5);
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .convenios-section { padding: 6rem 0; }
}

.convenios-header {
  text-align: center;
}

.convenios-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  margin: 0 auto 1rem;
}

.convenios-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.convenios-header h2 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .convenios-header h2 { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  .convenios-header h2 { font-size: 2.25rem; }
}

.convenios-header p {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.convenios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

.convenio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}

.convenio-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.convenio-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 100%;
}

.convenio-logo span {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.convenio-card .convenio-name {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.convenios-cta {
  display: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--background);
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .contact-section { padding: 6rem 0; }
}

.contact-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.contact-header {
  text-align: center;
}

.contact-header h2 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .contact-header h2 { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  .contact-header h2 { font-size: 2.25rem; }
}

.contact-header p {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.contact-form {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

@media (min-width: 640px) {
  .contact-form { padding: 2rem; }
}

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

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

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--input);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}

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

.form-group textarea {
  resize: none;
  min-height: 130px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

@media (min-width: 640px) {
  .submit-btn { width: auto; }
}

.submit-btn:hover {
  opacity: 0.9;
}

.submit-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Success message */
.success-message {
  display: none;
  margin-top: 2.5rem;
  padding: 2rem;
  border: 1px solid rgba(74, 124, 89, 0.2);
  border-radius: 0.75rem;
  background: rgba(74, 124, 89, 0.05);
  text-align: center;
}

.success-message.show {
  display: block;
}

.success-message h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.success-message p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.success-message button {
  margin-top: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--primary);
  color: var(--primary-foreground);
}

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

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

.footer-brand h3 {
  font-family: var(--font-cursive);
  font-size: 2.25rem;
  font-weight: 400;
}

.footer-brand .crp {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.footer-brand .description {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-nav {
  align-self: center;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.footer-nav ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-address {
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
  font-style: normal;
}

.footer-address svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-contact-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-contact-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-contact-list a:hover {
  opacity: 1;
}

.footer-contact-list svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(244, 248, 245, 0.1);
  transition: background 0.2s;
}

.footer-social a:hover {
  background: rgba(244, 248, 245, 0.2);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(244, 248, 245, 0.1);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ============================================
   SERVICE PAGE LAYOUT (Internal Pages)
   ============================================ */
.page-hero {
  background: var(--primary);
  padding: 3rem 0;
  text-align: center;
}

@media (min-width: 1024px) {
  .page-hero { padding: 4rem 0; }
}

.page-hero h1 {
  font-family: var(--font-sans);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
}

@media (min-width: 640px) {
  .page-hero h1 { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .page-hero h1 { font-size: 3rem; }
}

.page-hero p {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: rgba(244, 248, 245, 0.8);
}

@media (min-width: 1024px) {
  .page-hero p { font-size: 1.125rem; }
}

.page-content {
  background: var(--background);
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .page-content { padding: 5rem 0; }
}

.page-content-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .page-content-inner { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .page-content-inner { padding: 0 2rem; }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: color 0.2s;
}

.back-link:hover {
  opacity: 0.8;
}

.back-link svg {
  width: 1rem;
  height: 1rem;
}

.prose {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.prose > * + * {
  margin-top: 1.5rem;
}

.prose p {
  line-height: 1.7;
}

.content-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
}

.content-card h2 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.content-card p {
  margin-top: 0.75rem;
}

/* CTA Box on service pages */
.page-cta {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--secondary);
  text-align: center;
}

.page-cta h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .page-cta h3 { font-size: 1.5rem; }
}

.page-cta p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.page-cta .btn-primary {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float: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;
}

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

.animate-in {
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

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

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
  background: var(--background);
  padding: 0;
}

.map-header {
  display: none;
}

.map-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.map-embed {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.map-embed iframe {
  border: none;
  width: 100%;
  height: 100%;
}

.map-addresses {
  display: none;
}

.address-card {
  width: 100%;
  max-width: 280px;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.address-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.address-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.address-street {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.address-neighborhood {
  color: var(--muted-foreground);
}

.address-cep {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: var(--muted-foreground);
}
