/* Estética e acabamento */
:root {
  --ea-red: #cc1616;
  --ea-red-dark: #a90f0f;
  --ea-blue: #123e67;
  --ea-blue-dark: #0b2b49;
  --ea-ink: #191919;
  --ea-muted: #555;
  --ea-gray: #f5f6f7;
  --ea-line: #dfdfdf;
}

#main .ea-hero,
#main .ea-gallery-section,
#main .ea-finishes,
#main .ea-inspiration,
#main .ea-process,
#main .ea-faq,
#main .ea-final-cta {
  padding: 72px 0;
}

#main .ea-hero {
  overflow: hidden;
  background: linear-gradient(118deg, #fff 0%, #edf3f7 62%, #e2ebf1 100%);
}

#main .ea-eyebrow,
#main .ea-section-label {
  color: var(--ea-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#main .ea-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#main .ea-hero h1 {
  max-width: 620px;
  margin: 18px 0;
  color: var(--ea-ink);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.05;
}

#main .ea-hero h1 span {
  display: block;
  color: var(--ea-blue);
}

#main .ea-hero-text,
#main .ea-hero-detail,
#main .ea-section-heading p,
#main .ea-faq p,
#main .ea-final-cta p {
  color: var(--ea-muted);
  line-height: 1.75;
}

#main .ea-hero-text {
  max-width: 620px;
  font-size: 19px;
}

#main .ea-hero-detail {
  max-width: 620px;
}

#main .ea-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

#main .ea-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid var(--ea-red);
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

#main .ea-button-primary {
  background: var(--ea-red);
  color: #fff;
}

#main .ea-button-primary:hover,
#main .ea-button-primary:focus-visible {
  background: var(--ea-red-dark);
  border-color: var(--ea-red-dark);
  color: #fff;
}

#main .ea-button-outline {
  background: transparent;
  color: var(--ea-red);
}

#main .ea-button-outline:hover,
#main .ea-button-outline:focus-visible {
  background: var(--ea-red);
  color: #fff;
}

#main .ea-hero-image {
  position: relative;
  min-height: 520px;
  background:
    linear-gradient(180deg, rgba(11, 43, 73, 0.04), rgba(11, 43, 73, 0.46)),
    var(--ea-blue-dark);
  box-shadow: 0 18px 45px rgba(11, 43, 73, 0.22);
}

#main .ea-hero-image > img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

#main .ea-image-caption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

#main .ea-caption-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  background: var(--ea-red);
  color: #fff;
  font-size: 21px;
}

#main .ea-image-caption div {
  display: grid;
}

#main .ea-image-caption strong {
  color: var(--ea-ink);
}

#main .ea-image-caption span:last-child {
  color: var(--ea-muted);
  font-size: 13px;
}

#main .ea-section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

#main .ea-section-heading h2,
#main .ea-faq h2,
#main .ea-final-cta h2 {
  margin: 12px 0 16px;
  color: var(--ea-ink);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.18;
}

#main .ea-gallery-section {
  background: var(--ea-gray);
}

#main .ea-project-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

#main .ea-project-image-link {
  display: block;
  overflow: hidden;
  background: #f3f5f7;
}

#main .ea-project-image {
  display: block;
  width: 100%;
  max-height: 680px;
  margin: 0 auto;
  object-fit: contain;
  transition: transform 0.35s ease;
}

#main .ea-project-image-link:hover .ea-project-image,
#main .ea-project-image-link:focus-visible .ea-project-image {
  transform: scale(1.02);
}

#main .ea-project-caption {
  margin: 0;
  padding: 16px 20px;
  color: var(--ea-muted);
  line-height: 1.7;
}

#main .ea-inspiration {
  background: var(--ea-gray);
}

#main .ea-inspiration-card {
  height: 100%;
  overflow: hidden;
  padding-bottom: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
}

#main .ea-inspiration-image-link {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #fff;
}

#main .ea-inspiration-image-link img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

#main .ea-inspiration-image-link:hover img,
#main .ea-inspiration-image-link:focus-visible img {
  transform: scale(1.04);
}

#main .ea-inspiration-card h3 {
  margin: 14px 12px 0;
  color: var(--ea-ink);
  font-size: 17px;
  font-weight: 700;
}

#main .ea-finish-card {
  height: 100%;
  padding: 28px 24px;
  background: #fff;
  border-top: 3px solid var(--ea-blue);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#main .ea-finish-card:hover {
  box-shadow: 0 12px 28px rgba(18, 62, 103, 0.13);
  transform: translateY(-6px);
}

#main .ea-finish-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  place-items: center;
  background: var(--ea-red);
  color: #fff;
  font-size: 28px;
}

#main .ea-finish-card h3 {
  margin: 0 0 10px;
  color: var(--ea-ink);
  font-size: 20px;
  font-weight: 700;
}

#main .ea-finish-card p {
  margin: 0;
  color: var(--ea-muted);
  line-height: 1.7;
}

#main .ea-process {
  background: var(--ea-gray);
}

#main .ea-process-step {
  height: 100%;
  min-height: 220px;
  padding: 26px 22px;
  background: #fff;
  border-bottom: 3px solid var(--ea-red);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#main .ea-process-step:hover,
#main .ea-process-step:focus-within {
  box-shadow: 0 12px 28px rgba(204, 22, 22, 0.12);
  transform: translateY(-7px);
}

#main .ea-process-step > span {
  display: block;
  margin-bottom: 26px;
  color: var(--ea-red);
  font-size: 28px;
  font-weight: 700;
}

#main .ea-process-step h3 {
  color: var(--ea-ink);
  font-size: 19px;
  font-weight: 700;
}

#main .ea-process-step p {
  color: var(--ea-muted);
  line-height: 1.7;
}

#main .ea-faq-list,
#main .ea-faq details {
  min-width: 0;
}

#main .ea-faq-item {
  margin-bottom: 12px;
  background: var(--ea-gray);
  border-left: 3px solid var(--ea-red);
}

#main .ea-faq-item summary {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  color: var(--ea-ink);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

#main .ea-faq-item summary::-webkit-details-marker {
  display: none;
}

#main .ea-faq-item summary i {
  flex: 0 0 auto;
  color: var(--ea-red);
  transition: transform 0.2s ease;
}

#main .ea-faq-item[open] summary i {
  transform: rotate(45deg);
}

#main .ea-faq-item > p {
  margin: 0;
  padding: 0 20px 18px;
}

#main .ea-final-cta {
  background: var(--ea-blue-dark);
  color: #fff;
}

#main .ea-final-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

#main .ea-final-cta .ea-section-label {
  color: #f08a8a;
}

#main .ea-final-cta h2,
#main .ea-final-cta p {
  color: #fff;
}

#main .ea-final-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

#main .ea-button-light {
  background: #fff;
  border-color: #fff;
  color: var(--ea-red);
}

#main .ea-button-light:hover,
#main .ea-button-light:focus-visible {
  background: var(--ea-red);
  border-color: var(--ea-red);
  color: #fff;
}

@media (max-width: 991px) {
  #main .ea-final-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  #main .ea-hero,
  #main .ea-gallery-section,
  #main .ea-finishes,
  #main .ea-process,
  #main .ea-faq,
  #main .ea-final-cta {
    padding: 52px 0;
  }

  #main .ea-hero h1 {
    font-size: 38px;
  }

  #main .ea-hero-image,
  #main .ea-hero-image > img {
    min-height: 420px;
    height: 420px;
  }
}

@media (max-width: 575px) {
  #main .ea-hero h1 {
    font-size: 34px;
  }

  #main .ea-hero-text {
    font-size: 17px;
  }

  #main .ea-hero-actions {
    display: grid;
  }

  #main .ea-button {
    width: 100%;
  }

  #main .ea-hero-image,
  #main .ea-hero-image > img {
    min-height: 360px;
    height: 360px;
  }

  #main .ea-image-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  #main .ea-project-caption {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #main .ea-button,
  #main .ea-project-image,
  #main .ea-finish-card,
  #main .ea-process-step,
  #main .ea-faq-item summary i {
    transition: none;
  }

  #main .ea-finish-card:hover,
  #main .ea-process-step:hover,
  #main .ea-process-step:focus-within,
  #main .ea-project-image-link:hover .ea-project-image,
  #main .ea-project-image-link:focus-visible .ea-project-image,
  #main .ea-inspiration-image-link:hover img,
  #main .ea-inspiration-image-link:focus-visible img {
    transform: none;
  }
}
