/* === HERO === */
.hero {
  padding: var(--space-12) 0;
  background: linear-gradient(135deg, var(--color-bg-warm) 0%, var(--color-bg-section) 50%, var(--color-bg-warm) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(181, 41, 42, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 35, 32, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: var(--space-5);
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-relaxed);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  animation: fadeInUp 0.8s ease 0.4s both;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* === HERO REVIEWS BADGE === */
.hero-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  transition: all var(--transition-base);
  animation: fadeInUp 0.8s ease 0.6s both;
  text-decoration: none;
}

.hero-reviews-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-reviews-badge__stars {
  color: #FBBC04;
  font-size: var(--font-size-base);
  letter-spacing: -1px;
}

.hero-reviews-badge__text {
  font-weight: var(--font-weight-medium);
}

.hero-reviews-badge__g {
  flex-shrink: 0;
}

/* === REVIEWS CAROUSEL === */
.reviews-carousel {
  margin-top: var(--space-8);
}

.review-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
}

.review-card__stars {
  color: #FBBC04;
  font-size: var(--font-size-lg);
  letter-spacing: 2px;
  margin-bottom: var(--space-3);
}

.review-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  flex: 1;
  font-style: italic;
  margin-bottom: var(--space-3);
}

.review-card__author {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.review-card__date {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin: 0;
}

/* Splide overrides */
.splide__arrow {
  background: var(--color-primary) !important;
  opacity: 1 !important;
  width: 36px !important;
  height: 36px !important;
}

.splide__arrow svg {
  fill: var(--color-text-light) !important;
  width: 16px !important;
  height: 16px !important;
}

.splide__arrow:hover {
  background: var(--color-primary-dark) !important;
}

.splide__pagination__page {
  background: var(--color-border) !important;
}

.splide__pagination__page.is-active {
  background: var(--color-primary) !important;
}

/* === PROBLEM/SOLUTION === */
.problem-solution {
  background: var(--color-bg);
  position: relative;
}

.problem-solution .section-header h2 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

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

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

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, rgba(181, 41, 42, 0.08), rgba(181, 41, 42, 0.15));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  transition: transform var(--transition-base);
}

.service-card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.service-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

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

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
}

.about-text h2 {
  margin-bottom: var(--space-5);
}

.about-text p {
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.about-text .btn {
  margin-top: var(--space-5);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.about-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

/* === DIFFERENTIALS === */
.differentials {
  background: var(--color-bg);
}

.diff-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .diff-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

.diff-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.diff-item:hover .icon-circle {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(181, 41, 42, 0.2);
}

.diff-item__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
}

.diff-item__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-text-light);
  text-align: center;
  padding: var(--space-12) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--font-size-lg);
}

.cta-section .btn--whatsapp {
  font-size: var(--font-size-lg);
  padding: var(--space-4) var(--space-8);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
}

.contact-info h2 {
  margin-bottom: var(--space-6);
}

.contact-info-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-base);
}

.contact-info-item:hover {
  box-shadow: var(--shadow-md);
}

.contact-info-item__label {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-1);
}

.contact-info-item__value {
  font-weight: var(--font-weight-medium);
}

.contact-info-item__value a {
  color: var(--color-primary);
  transition: color var(--transition-base);
}

.contact-info-item__value a:hover {
  color: var(--color-primary-dark);
}

/* === PAGE HEADER === */
.page-header {
  background: linear-gradient(135deg, var(--color-bg-warm) 0%, var(--color-bg-section) 100%);
  padding: var(--space-10) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(181, 41, 42, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  margin-bottom: var(--space-4);
  animation: fadeInUp 0.6s ease;
}

.page-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--font-size-lg);
  animation: fadeInUp 0.6s ease 0.15s both;
}

/* === PAGE CONTENT === */
.page-content {
  padding: var(--space-10) 0;
}

.page-content h2 {
  margin: var(--space-8) 0 var(--space-4);
}

.page-content h3 {
  margin: var(--space-6) 0 var(--space-3);
}

.page-content p {
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.page-content ul,
.page-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-5);
}

.page-content li {
  list-style: disc;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.page-content img {
  border-radius: var(--radius-md);
  margin: var(--space-6) 0;
}

/* === SERVICE DETAIL (página de serviços) === */
.service-detail {
  padding: var(--space-10) 0;
  position: relative;
}

.service-detail--alt {
  background: var(--color-bg-warm);
}

.service-detail__content {
  position: relative;
}

.service-detail__content h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  display: inline-block;
}

.service-detail__content h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-full);
  margin-top: var(--space-2);
}

.service-detail__content h3 {
  margin: var(--space-6) 0 var(--space-3);
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-lg);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.service-detail__content p {
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  max-width: var(--container-text);
}

.service-detail__content ul {
  padding-left: var(--space-5);
  margin-bottom: var(--space-4);
}

.service-detail__content li {
  list-style: none;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  position: relative;
  padding-left: var(--space-5);
}

.service-detail__content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

/* === ABOUT STORY === */
.about-story {
  padding: var(--space-10) 0;
}

.about-approach {
  background: var(--color-bg-warm);
  padding: var(--space-10) 0;
}

/* === FOUNDER === */
.founder-section {
  padding: var(--space-10) 0;
}

.founder-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .founder-content {
    grid-template-columns: 320px 1fr;
    gap: var(--space-10);
  }
}

.founder-photo-wrap {
  display: flex;
  flex-direction: column;
}

.founder-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.founder-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 2;
}

.founder-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.founder-photo:hover img {
  transform: scale(1.03);
}

/* Citação abaixo da foto */
.founder-quote {
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 3px solid #7B1A1A;
}

.founder-quote p {
  font-style: italic;
  font-size: 1.1rem;
  color: #555;
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* Mobile: P&B → colorido ao entrar na viewport */
@media (max-width: 767px) {
  .founder-photo img {
    filter: grayscale(1);
  }

  .founder-photo-wrap.visible .founder-photo img {
    filter: grayscale(0);
  }
}

.founder-text h2 {
  margin-bottom: var(--space-1);
  color: #7B1A1A;
}

.founder-role {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-6);
  letter-spacing: 0.02em;
}

.founder-text p {
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* === 404 === */
.error-404 {
  text-align: center;
  padding: var(--space-12) 0;
}

.error-404 h1 {
  font-size: var(--font-size-5xl);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.error-404 p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* === BLOG === */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding: var(--space-6) 0;
}

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

.post-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.post-card__body {
  padding: var(--space-5);
}

.post-card__body h2 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.post-card__body time {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.post-single {
  max-width: var(--container-text);
  padding: var(--space-6) 0;
}

.post-header {
  margin-bottom: var(--space-6);
}

.post-header time {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.post-content {
  line-height: var(--line-height-relaxed);
}

.post-content h2,
.post-content h3 {
  margin: var(--space-6) 0 var(--space-3);
}

.post-content p {
  margin-bottom: var(--space-4);
}

.post-content img {
  margin: var(--space-5) 0;
  border-radius: var(--radius-md);
}

/* === MAP === */
.map-section {
  padding: var(--space-10) 0;
  background: var(--color-bg);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
}

@media (max-width: 767px) {
  .map-wrapper iframe {
    height: 300px;
  }
}

.map-link {
  text-align: center;
  margin-top: var(--space-4);
}

.map-link a {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  transition: color var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.map-link a:hover {
  color: var(--color-primary-dark);
}
