/* ==========================================================================
   KELLY LIRA - PSICÓLOGA | ESTILOS CSS PRINCIPAIS
   Design System, Tipografia, Layout Responsivo e Interações
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIÁVEIS DE CORES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --primary: #8b3a3a;
  --primary-hover: #732f2f;
  --primary-foreground: #fffaf5;
  --primary-soft: rgba(139, 58, 58, 0.08);

  --background: #fffaf5;
  --foreground: #2d3436;

  --card: #fffaf5;
  --card-foreground: #2d3436;

  --secondary: #e8d5c4;
  --secondary-hover: #dec4b0;
  --secondary-foreground: #2d3436;

  --muted: #d4c4b8;
  --muted-foreground: #6b5344;

  --accent: #8b6f47;
  --accent-foreground: #fffaf5;

  --border: #d4c4b8;
  --border-light: rgba(212, 196, 184, 0.5);
  --input: #f5f0e8;
  --ring: #8b3a3a;

  --radius: 0.65rem;
  --radius-sm: 0.4rem;
  --radius-lg: 0.85rem;
  --radius-full: 9999px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(45, 52, 54, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(45, 52, 54, 0.08), 0 2px 4px -2px rgba(45, 52, 54, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(45, 52, 54, 0.1), 0 4px 6px -4px rgba(45, 52, 54, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(45, 52, 54, 0.12), 0 8px 10px -6px rgba(45, 52, 54, 0.06);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. RESET & REGRAS BÁSICAS
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. TIPOGRAFIA & HIERARQUIA
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}

.text-primary {
  color: var(--primary) !important;
}

.text-muted {
  color: var(--muted-foreground) !important;
}

/* --------------------------------------------------------------------------
   4. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-spacing {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

section[id],
[id$="-titulo"] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

@media (min-width: 768px) {
  .section-spacing {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 2.25rem;
  }
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.title-underline {
  width: 3rem;
  height: 4px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   5. BOTÕES (BUTTON COMPONENT)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn-md {
  padding: 0.625rem 1.25rem;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid var(--primary);
}

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

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-outline-white {
  border: 1px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   5.1 UTILITÁRIOS PARA ÍCONES SVG (ASSETS/ICONS/)
   -------------------------------------------------------------------------- */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  vertical-align: middle;
}

.icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.icon svg[fill="none"] {
  fill: none;
  stroke: currentColor;
}

.icon-16 {
  width: 1rem;
  height: 1rem;
}

.icon-18 {
  width: 1.125rem;
  height: 1.125rem;
}

.icon-20 {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-24 {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-32 {
  width: 2rem;
  height: 2rem;
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVEGAÇÃO
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.45s ease, background-color 0.45s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: padding 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: padding;
}

@media (min-width: 768px) {
  .header-container {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

.site-header.scrolled .header-container {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

@media (min-width: 768px) {
  .site-header.scrolled .header-container {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }
}

.header-logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  transition: opacity var(--transition-normal);
}

.header-logo-link:hover {
  opacity: 0.85;
}

.header-logo-img {
  height: 5rem;
  width: auto;
  object-fit: contain;
  transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: height;
}

@media (min-width: 768px) {
  .header-logo-img {
    height: 6rem;
  }
}

.site-header.scrolled .header-logo-img {
  height: 2.85rem !important;
}

@media (min-width: 768px) {
  .site-header.scrolled .header-logo-img {
    height: 3.85rem !important;
  }
}

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

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

.nav-link {
  color: var(--foreground);
  font-weight: 500;
  font-size: 0.925rem;
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--foreground);
  transition: background-color var(--transition-fast);
}

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

.mobile-menu-btn:hover {
  background-color: var(--secondary);
}

.mobile-nav-panel {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--background);
  animation: slideDown 0.25s ease-out;
}

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

.mobile-nav-content {
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: var(--foreground);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 85vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .hero-section {
    height: 600px;
    min-height: 600px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-title {
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

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

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.125rem;
  font-weight: 300;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

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

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
}

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

  .hero-buttons .btn {
    width: auto;
  }
}

/* --------------------------------------------------------------------------
   8. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--background);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.service-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
}

.service-card-image-wrap {
  height: 16rem;
  overflow: hidden;
  position: relative;
  background-color: var(--secondary);
}

@media (min-width: 768px) {
  .service-card-image-wrap {
    height: 18rem;
  }
}

.service-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

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

@media (min-width: 768px) {
  .service-card-body {
    padding: 2rem;
  }
}

.service-card-header {
  margin-bottom: 1rem;
}

.service-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.service-card-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.service-card-desc {
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-align: left;
}

@media (min-width: 768px) {
  .service-card-desc {
    text-align: justify;
  }
}

.service-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.service-card-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.bullet-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--background);
}

.about-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

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

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

@media (min-width: 768px) {
  .about-photo-col {
    grid-column: span 2;
  }
}

.about-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 24rem;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

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

.about-photo-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(139, 58, 58, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.about-photo-wrap:hover .about-photo-hover {
  opacity: 1;
}

.about-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .about-info-col {
    grid-column: span 3;
  }
}

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

@media (min-width: 768px) {
  .about-text-p {
    text-align: justify;
  }
}

.about-quote {
  font-size: 1.125rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--primary);
}

.credentials-box {
  background-color: var(--secondary);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.credentials-title {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.credentials-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--foreground);
  font-size: 0.95rem;
}

.credentials-star {
  color: var(--primary);
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.about-links-row {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
}

.about-links-row .btn {
  flex: 1;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.feature-box {
  background-color: var(--secondary);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition-normal);
}

.feature-box:hover {
  box-shadow: var(--shadow-lg);
}

.feature-box-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-box-desc {
  color: var(--foreground);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .feature-box-desc {
    text-align: justify;
  }
}

.feature-box-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

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

.attendance-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--foreground);
}

.attendance-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bullet-dot-lg {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. CONTENT SECTION
   -------------------------------------------------------------------------- */
.content-section {
  background-color: var(--background);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.content-card-link {
  display: block;
  height: 100%;
}

.content-card {
  background-color: var(--secondary);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.content-card-link:hover .content-card {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.content-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.content-card-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.content-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.content-card-desc {
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-align: justify;
  flex-grow: 1;
}

.content-card-btn {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   11. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.contact-form-col {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .contact-form-col {
    grid-column: span 2;
  }
}

.contact-form-card {
  background-color: var(--secondary);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--background);
  color: var(--foreground);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(139, 58, 58, 0.25);
}

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

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.5rem;
}

.form-disclaimer a {
  color: inherit;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.form-disclaimer a:hover {
  color: var(--primary);
}

/* Oculta a badge flutuante do Google reCAPTCHA v3 */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background-color: var(--secondary);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-info-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

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

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

.contact-info-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

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

.contact-info-value {
  color: var(--foreground);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-info-value:hover {
  color: var(--primary);
}

.schedule-card p {
  font-size: 0.875rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--secondary);
  color: var(--foreground);
  margin-top: 5rem;
  border-top: 1px solid var(--border);
}

.footer-container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-container {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

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

.footer-col-about {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-col-about {
    align-items: flex-start;
  }
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-col-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.footer-col-services,
.footer-col-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
}

.footer-list-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer-col-contact .footer-list-item {
    justify-content: flex-start;
  }
}

.footer-list-link {
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
}

.footer-list-link:hover {
  color: var(--primary);
}

.footer-contact-icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-align: center;
}

/* --------------------------------------------------------------------------
   13. COMPONENTES FLUTUANTES & INTERAÇÕES (SCROLL TO TOP & TOAST)
   -------------------------------------------------------------------------- */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--primary-hover);
  transform: scale(1.1);
}

.scroll-to-top-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Toast Feedback */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 100;
  background-color: #2d3436;
  color: #fffaf5;
  padding: 1rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90vw;
  text-align: center;
}

.toast-notification.success {
  background-color: #2e7d32;
  color: #ffffff;
}

.toast-notification.error {
  background-color: #c62828;
  color: #ffffff;
}

.toast-notification.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   14. UTILITÁRIOS RESPONSIVOS EXTRAS
   -------------------------------------------------------------------------- */
.hidden {
  display: none !important;
}

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

@media (max-width: 767px) {
  .md\:hidden {
    display: initial !important;
  }

  .hidden.md\:inline {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .md\:hidden {
    display: none !important;
  }

  .hidden.md\:inline {
    display: inline !important;
  }
}

/* --------------------------------------------------------------------------
   15. ANIMAÇÕES SCROLL REVEAL (INTERSECTION OBSERVER)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

/* Respeita preferências de redução de movimento do usuário */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}