/* =========================================================
   e2c-hero.css  —  EDITABLE: Custom UI sections (homepage + EN)
   ─────────────────────────────────────────────────────────
   RULES:
   • This is the ONE file to edit for hero, intro, porque-nos,
     testimonials, home-CTA, and any future custom section.
   • No !important. No page-prefix hacks (:is(.e2c-page-NNN)).
   • Flat BEM selectors only. If an edit requires !important
     it means a post-*.css rule is conflicting — fix it by
     removing/stripping that rule from the export file instead.
   ─────────────────────────────────────────────────────────
   Tokens: e2c-vars.css (--c-brand-*, --font-base, --transition)
   Section vertical rhythm: clamp(3rem, 6vw, 5rem)
   Content width: 1200px + clamp(12px, 3vw, 32px) gutter
   ========================================================= */

/* ── Hero ─────────────────────────────────────────────── */
.e2c-hero {
  --e2c-header-gutter-x: clamp(12px, 3vw, 32px);
  position: relative;
  isolation: isolate;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Media: camada 0. Overlay: camada 2. Conteúdo (.e2c-hero__content): camada 3. */
.e2c-hero > .e2c-bg-video-container {
  z-index: 0;
}

.e2c-hero > .e2c-bg-overlay-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 100%;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgb(28 36 75 / 0.4) 0%,
    rgb(0 0 0 / 0.5) 48%,
    rgb(0 0 0 / 0.68) 100%
  );
}

/* Content block — same 1200px grid as header/footer */
.e2c-hero__content {
  position: relative;
  z-index: 3;
  max-width: min(1200px, 100%);
  padding: 5vh 2rem;
  font-family: var(--font-base, 'Poppins', sans-serif);
}

/* Eyebrow pill */
.e2c-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* H1 — duas linhas estáveis (evita 1 vs 3 linhas em laptops 13–14") */
.e2c-hero__title {
  font-size: clamp(2rem, 4.25vw, 3.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.60);
  text-wrap: balance;
}
.e2c-hero__title-line {
  display: block;
}

/* H2 slogan */
.e2c-hero__slogan {
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 2rem;
  letter-spacing: 0.01em;
  font-style: italic;
  line-height: 1.4;
}

/* Sub text (EN version) */
.e2c-hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0 0 2.25rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* CTA group */
.e2c-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.e2c-hero__btn .e2c-inline-icon {
  display: inline-flex;
  line-height: 0;
}
.e2c-hero__btn .e2c-inline-icon svg {
  width: 1.1em;
  height: 1.1em;
  display: block;
  fill: currentColor;
}
.e2c-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition:
    background var(--transition, 0.2s ease),
    border-color var(--transition, 0.2s ease),
    color var(--transition, 0.2s ease),
    box-shadow var(--transition, 0.2s ease),
    transform var(--transition, 0.2s ease);
}

.e2c-hero__btn--primary {
  padding: 1.05rem 2.5rem;
  background-color: var(--c-brand-mid, #31B387);
  border-color: var(--c-brand-mid, #31B387);
  color: #fff;
  font-size: 1.05rem;
  box-shadow:
    0 4px 24px rgba(49, 179, 135, 0.50),
    0 2px 8px rgba(0, 0, 0, 0.25);
}
.e2c-hero__btn--primary:hover,
.e2c-hero__btn--primary:focus-visible {
  background-color: var(--c-brand-hover, #259970);
  border-color: var(--c-brand-hover, #259970);
  color: #fff;
  box-shadow:
    0 6px 32px rgba(49, 179, 135, 0.70),
    0 2px 8px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.e2c-hero__btn--secondary {
  padding: 0.85rem 1.75rem;
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
}
.e2c-hero__btn--secondary:hover,
.e2c-hero__btn--secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.80);
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.e2c-hero__microcopy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.58);
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}

.e2c-hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
}
.e2c-hero__trust--full {
  flex: 0 0 100%;
  width: 100%;
}

/* Desktop: align with header (1200px + gutter) */
@media (min-width: 768px) {
  .e2c-hero__content {
    padding:
      5vh
      var(--e2c-header-gutter-x)
      5vh
      calc((100vw - min(1200px, 100vw)) / 2 + var(--e2c-header-gutter-x));
  }
  .e2c-hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .e2c-hero {
    min-height: 78vh;
    align-items: flex-end;
  }
  .e2c-hero__content {
    max-width: 100%;
    padding: 2.5rem var(--e2c-header-gutter-x) 3rem;
    text-align: center;
  }
  .e2c-hero__eyebrow {
    margin-inline: auto;
  }
  .e2c-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .e2c-hero__btn {
    width: 100%;
    padding: 1rem;
  }
  .e2c-hero__trust {
    justify-content: center;
  }
  .e2c-hero__microcopy {
    text-align: center;
  }
  .e2c-hero__slogan {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .e2c-intro {
    padding-top: clamp(3rem, 10vw, 5rem);
  }
  .e2c-intro__inner {
    gap: 0.75rem;
  }
}

/* =========================================================
   EDITABLE — Intro statement section (.e2c-intro)
   Clean BEM, no !important, no page-prefix hacks.
   Single source of truth for this section.
   ========================================================= */
.e2c-intro {
  background: none;
  min-height: unset;
  display: grid;
  place-items: start center;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(1.25rem, 4vw, 2.5rem);
  box-sizing: border-box;
}
.e2c-intro__inner {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  text-align: center;
}
.e2c-intro__headline {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--c-text, #1c244b);
  margin: 0;
}
.e2c-intro__accent {
  color: var(--c-accent, #31b387);
  font-weight: 700;
}
.e2c-intro__sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-text-muted, #4a5568);
  margin: 0;
}
.e2c-intro .e2c-btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border: 2px solid var(--c-brand, #31b387);
  border-radius: 999px;
  background: transparent;
  color: var(--c-brand, #31b387);
  font-family: var(--font-body, "Poppins", sans-serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  margin-top: 0.5rem;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.e2c-intro .e2c-btn--outline:hover,
.e2c-intro .e2c-btn--outline:focus-visible {
  border-color: var(--c-brand, #31b387);
  background: var(--c-brand, #31b387);
  color: #fff;
  transform: translateY(-2px);
}

/* Homepage PT/EN: intro + Porquê nós / Why us — secção única */
.e2c-intro.e2c-porque-nos.e2c-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(1.25rem, 3vw, 2.25rem);
}
.e2c-intro.e2c-porque-nos .e2c-intro__inner {
  gap: clamp(0.75rem, 2vw, 1.25rem);
}
.e2c-intro.e2c-porque-nos .e2c-btn--outline {
  margin-top: 0.5rem;
}
.e2c-intro.e2c-porque-nos .e2c-porque-nos__title {
  margin-top: clamp(2.75rem, 7vw, 5.5rem);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

/* =========================================================
   Porquê nós? — 4-column card grid
   ========================================================= */
.e2c-porque-nos.e2c-el-5ab2541b {
  margin-top: 0 !important;
}
.e2c-porque-nos.e2c-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  min-height: 0;
  padding-top: clamp(1.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: 0;
  box-sizing: border-box;
}
.e2c-porque-nos > .e2c-container {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(12px, 3vw, 32px);
  padding-right: clamp(12px, 3vw, 32px);
  box-sizing: border-box;
}
.e2c-porque-nos__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--c-text, #1c244b);
  margin: clamp(0.75rem, 2vw, 1.5rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
  letter-spacing: -0.02em;
}

.e2c-porque-nos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2rem);
  width: 100%;
  align-items: stretch;
}

.e2c-porque-nos__item {
  padding: 1.25rem 1.25rem;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  border: 1px solid var(--c-border, #e5e5e5);
  border-radius: var(--radius-md, 8px);
  text-align: left;
  background: var(--c-white, #fff);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition:
    box-shadow var(--transition, 0.2s ease),
    transform var(--transition, 0.2s ease),
    border-color var(--transition, 0.2s ease);
}
.e2c-porque-nos__item:hover {
  box-shadow: 0 8px 28px rgba(28, 36, 75, 0.08);
  transform: translateY(-2px);
  border-color: rgba(49, 179, 135, 0.35);
}

.e2c-porque-nos__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(49, 179, 135, 0.12);
  color: var(--c-brand-mid, #31b387);
  flex-shrink: 0;
}
.e2c-porque-nos__icon svg { flex-shrink: 0; }

.e2c-porque-nos__item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-text, #1c244b);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.e2c-porque-nos__item p {
  font-size: 0.875rem;
  color: var(--c-text-muted, #324a6d);
  line-height: 1.65;
  margin: 0;
  flex: 1 1 auto;
}

@media (max-width: 900px) {
  .e2c-porque-nos__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .e2c-porque-nos.e2c-section {
    min-height: 0;
    justify-content: flex-start;
    padding-top: clamp(2rem, 6vw, 3rem);
    padding-bottom: clamp(2rem, 6vw, 3rem);
  }
  .e2c-intro.e2c-porque-nos.e2c-section {
    padding-top: clamp(3rem, 10vw, 5rem);
    padding-bottom: clamp(2rem, 6vw, 3rem);
  }
  .e2c-porque-nos__grid { grid-template-columns: 1fr; }
  .e2c-porque-nos__item {
    text-align: center;
    align-items: center;
    min-height: auto;
  }
}

/* Porquê nós → depoimentos: mínimo espaço entre faixas */
.e2c-porque-nos.e2c-section:has(+ .e2c-home-testimonials) {
  padding-bottom: clamp(0.5rem, 1.25vw, 1rem);
}
.e2c-porque-nos.e2c-section + .e2c-home-testimonials {
  padding-top: clamp(0.75rem, 2vw, 1.5rem);
}

/* =========================================================
   "O que dizem sobre nós" — 3-column testimonials
   ========================================================= */
.e2c-home-testimonials {
  background: var(--c-brand-light, #f9fafd);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.e2c-home-testimonials > .e2c-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(12px, 3vw, 32px);
  padding-right: clamp(12px, 3vw, 32px);
  box-sizing: border-box;
  width: 100%;
}
.e2c-home-testimonials .e2c-heading.e2c-size--default {
  text-align: center;
  font-weight: 700;
  color: var(--c-text);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* 3-column grid with equal-height cards */
.e2c-home-testimonials .e2c-inner-section > .e2c-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: none;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
.e2c-home-testimonials .e2c-inner-section .e2c-col.e2c-col--33 {
  width: 100% !important;
  max-width: none !important;
  flex: initial !important;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.e2c-home-testimonials .e2c-inner-section .e2c-col .e2c-widget-wrap,
.e2c-home-testimonials .e2c-inner-section .e2c-widget--testimonial,
.e2c-home-testimonials .e2c-inner-section .e2c-widget--testimonial .e2c-widget-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.e2c-home-testimonials .e2c-testimonial {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.e2c-home-testimonials .e2c-testimonial:hover {
  box-shadow: 0 8px 24px rgba(28, 36, 75, 0.07);
  border-color: rgba(49, 179, 135, 0.25);
}
.e2c-home-testimonials .e2c-testimonial .e2c-testimonial__content {
  font-size: 0.95rem !important;
  line-height: 1.65;
  color: var(--c-text-muted);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1rem !important;
  padding: 0;
  border: none;
  text-align: left !important;
}
.e2c-home-testimonials .e2c-testimonial__meta {
  margin-top: auto;
}
.e2c-home-testimonials .e2c-testimonial__meta-inner {
  display: block !important;
}
.e2c-home-testimonials .e2c-testimonial__details {
  text-align: left;
}
.e2c-home-testimonials .e2c-testimonial .e2c-testimonial__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-text);
}
.e2c-home-testimonials .e2c-testimonial .e2c-testimonial__job {
  color: var(--c-text-muted);
  font-size: 0.78rem !important;
}

@media (max-width: 900px) {
  .e2c-home-testimonials .e2c-inner-section > .e2c-container {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   Orçamento CTA — gradient brand surface
   ========================================================= */
.e2c-home-cta {
  position: relative;
  background: linear-gradient(
    120deg,
    rgba(177, 213, 193, 0.45) 0%,
    var(--c-brand-light) 45%,
    var(--c-white) 100%
  );
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.e2c-home-cta > .e2c-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(12px, 3vw, 32px);
  padding-right: clamp(12px, 3vw, 32px);
  box-sizing: border-box;
  width: 100%;
}
/* Nested inner section: no extra indent vs outer column */
.e2c-home-cta .e2c-inner-section > .e2c-container {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}
/* Override kit 38px/600 heading */
.e2c-home-cta .e2c-heading.e2c-size--default {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem) !important;
  font-weight: 700;
  color: var(--c-text);
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.e2c-home-cta .e2c-widget--text p {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.e2c-home-cta .e2c-btn.e2c-size-sm {
  background-color: var(--c-brand-mid) !important;
  border-color: var(--c-brand-mid) !important;
  color: var(--c-white) !important;
}
.e2c-home-cta .e2c-btn.e2c-size-sm:hover {
  background-color: var(--c-brand-hover) !important;
  border-color: var(--c-brand-hover) !important;
}
/* SVC-02: páginas de serviço + home — CTA orçamento em escala legível (antes a home forçava botão pequeno) */
body.e2c-page-services .e2c-home-cta .e2c-btn.e2c-size-sm,
body.home .e2c-home-cta .e2c-btn.e2c-size-sm {
  font-size: 1rem !important;
  padding: 0.7rem 1.5rem !important;
  line-height: 1.4;
  min-height: 0;
  border-width: 2px !important;
}

/* EN About — bloco “Request a quote” final (e2c-history-final-cta) */
body.e2c-page-about .e2c-home-cta.e2c-history-final-cta .e2c-btn.e2c-size-sm {
  font-size: 1rem !important;
  padding: 0.7rem 1.5rem !important;
  line-height: 1.4;
  min-height: 0;
  border-width: 2px !important;
}

/* SVC-02: CTA orçamento no corpo — mesmo estilo que "Ver serviços" (outline na intro) */
body.e2c-page-services .e2c-section:not(.e2c-home-cta) a.e2c-btn.e2c-btn--outline[href*="/contacte-nos/"],
body.e2c-page-services .e2c-section:not(.e2c-home-cta) a.e2c-btn.e2c-btn--outline[href*="/contact-us/"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border: 2px solid var(--c-brand, #31b387);
  border-radius: 999px;
  background: transparent;
  color: var(--c-brand, #31b387);
  font-family: var(--font-body, "Poppins", sans-serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  margin-top: 0;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
body.e2c-page-services .e2c-section:not(.e2c-home-cta) a.e2c-btn.e2c-btn--outline[href*="/contacte-nos/"]:hover,
body.e2c-page-services .e2c-section:not(.e2c-home-cta) a.e2c-btn.e2c-btn--outline[href*="/contacte-nos/"]:focus-visible,
body.e2c-page-services .e2c-section:not(.e2c-home-cta) a.e2c-btn.e2c-btn--outline[href*="/contact-us/"]:hover,
body.e2c-page-services .e2c-section:not(.e2c-home-cta) a.e2c-btn.e2c-btn--outline[href*="/contact-us/"]:focus-visible {
  border-color: var(--c-brand, #31b387);
  background: var(--c-brand, #31b387);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Trabalhe Connosco strip ── */
.e2c-trabalhe-strip {
  padding: 1.25rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.e2c-trabalhe-strip p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}
.e2c-trabalhe-strip a {
  color: var(--color-primary, #003366);
  font-weight: 600;
  text-decoration: underline;
}

.e2c-trabalhe-strip--subtle {
  padding: 0.65rem 0;
  border-top: 1px solid #eef0f3;
  border-bottom: none;
  text-align: center;
  background: #fafbfc;
}
.e2c-trabalhe-strip--subtle p {
  font-size: 0.8125rem;
  color: #6b7280;
}
.e2c-trabalhe-strip--subtle a {
  font-weight: 500;
  text-decoration: none;
  color: var(--color-primary, #003366);
}
.e2c-trabalhe-strip--subtle a:hover,
.e2c-trabalhe-strip--subtle a:focus-visible {
  text-decoration: underline;
}

.e2c-about-tight {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--c-text-muted, #324a6d);
}
.e2c-about-tight li {
  margin-bottom: 0.35rem;
}

/* =========================================================
   Os Nossos Serviços — grelha 3×2 + FAQs minimal (escopo página)
   ========================================================= */
.e2c-services-grid-section {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background: var(--c-brand-light, #f9fafd);
}
.e2c-services-grid-section > .e2c-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(12px, 3vw, 32px);
  padding-right: clamp(12px, 3vw, 32px);
  box-sizing: border-box;
}
.e2c-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}
@media (max-width: 900px) {
  .e2c-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .e2c-services-grid {
    grid-template-columns: 1fr;
  }
}
.e2c-services-card {
  --e2c-service-accent: var(--c-brand-mid);
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-sizing: border-box;
  border: 1px solid rgba(49, 179, 135, 0.38);
  border-top: 3px solid var(--c-brand-mid);
  border-radius: 12px;
  background: var(--c-white, #fff);
  box-shadow: 0 1px 0 rgba(28, 36, 75, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    border-top-color 0.2s ease;
}
.e2c-services-card:hover {
  border-color: rgba(49, 179, 135, 0.55);
  border-top-color: var(--c-brand-hover, #2a9d7a);
  box-shadow:
    0 10px 28px rgba(28, 36, 75, 0.08),
    0 2px 8px rgba(49, 179, 135, 0.12);
}
.e2c-services-card__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--c-brand-dark, #1c244b);
  line-height: 1.25;
}
.e2c-services-card__text {
  flex: 1;
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--c-text-muted, #324a6d);
}
.e2c-services-card .e2c-btn-wrap {
  margin-top: auto;
}
.e2c-services-card .e2c-btn.e2c-size-sm {
  width: 100%;
  justify-content: center;
  text-align: center;
  background-color: var(--c-brand-mid);
  border: 2px solid var(--c-brand-mid);
  color: var(--c-white);
  border-radius: 8px;
  font-weight: 600;
  transition:
    background-color var(--transition, 0.2s ease),
    border-color var(--transition, 0.2s ease),
    color var(--transition, 0.2s ease);
}
.e2c-services-card .e2c-btn.e2c-size-sm:hover,
.e2c-services-card .e2c-btn.e2c-size-sm:focus-visible {
  background-color: var(--c-brand-hover);
  border-color: var(--c-brand-hover);
  color: var(--c-white);
}

/* Perguntas Frequentes - mesmo modelo que /os-nossos-servicos/ (hub e detalhe).
   Autossuficiente sem e2c-core: detalhe só carrega chrome+blog+hero. */
body.e2c-page-services .e2c-services-faq {
  padding-top: 0.5rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  overflow: visible;
}
/* Hub FAQ não entra no bloco e2c-blog de gutter; alinha com o resto do site. */
body.e2c-page-services .e2c-services-faq > .e2c-container.e2c-col-gap--none {
  padding-left: clamp(12px, 3vw, 32px);
  padding-right: clamp(12px, 3vw, 32px);
  box-sizing: border-box;
}
body.e2c-page-services .e2c-services-faq .e2c-heading.e2c-size--default {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-brand-dark, #1c244b);
}
body.e2c-page-services .e2c-services-faq .e2c-faq {
  display: block;
  max-width: min(720px, 100%);
  margin: 0 auto;
  padding: 0 0 2rem;
  box-sizing: border-box;
  border-top: 1px solid var(--c-accent-light, #c8d5dc);
}
body.e2c-page-services .e2c-services-faq .e2c-inner-section .e2c-container.e2c-col-gap--none {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vw, 1.75rem);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
body.e2c-page-services .e2c-services-faq .e2c-inner-section .e2c-col--50.e2c-el-faq-col {
  flex: 1 1 min(100%, 26rem);
  min-width: min(100%, 17rem);
  box-sizing: border-box;
}
body.e2c-page-services .e2c-services-faq .e2c-col--50 .e2c-faq {
  max-width: 100%;
  margin: 0;
  padding-bottom: 1.5rem;
}
body.e2c-page-services .e2c-services-faq .e2c-faq__item {
  border: none;
  border-bottom: 1px solid var(--c-accent-light, #c8d5dc);
  border-radius: 0;
  background: transparent;
}
body.e2c-page-services .e2c-services-faq .e2c-faq__item:first-child {
  border-top: none;
}
body.e2c-page-services .e2c-services-faq .e2c-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 1rem 0;
  color: var(--c-brand-dark, #1c244b);
  overflow-wrap: break-word;
  min-width: 0;
}
body.e2c-page-services .e2c-services-faq .e2c-faq__q::-webkit-details-marker {
  display: none;
}
body.e2c-page-services .e2c-services-faq .e2c-faq__q::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1;
  color: var(--c-brand-mid, #31b387);
  opacity: 0.9;
  transition: transform var(--transition, 0.2s ease);
}
body.e2c-page-services .e2c-services-faq details[open] > .e2c-faq__q::after {
  content: "−";
}
body.e2c-page-services .e2c-services-faq .e2c-faq__a {
  padding: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--c-text-muted, #324a6d);
  overflow-wrap: break-word;
  min-width: 0;
}
body.e2c-page-services .e2c-services-faq .e2c-faq__a p {
  margin: 0 0 0.5rem;
}
body.e2c-page-services .e2c-services-faq .e2c-faq__a p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  body.e2c-page-services .e2c-services-faq .e2c-inner-section .e2c-col--50.e2c-el-faq-col {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    min-width: 0;
  }
  body.e2c-page-services .e2c-services-faq .e2c-faq__q {
    padding: 0.875rem 0;
    font-size: 0.9rem;
    align-items: flex-start;
  }
  body.e2c-page-services .e2c-services-faq .e2c-faq__q::after {
    margin-top: 0.1em;
  }
}

/* ── A Nossa História (PT) + EN About — faixa de texto + CTA final (alinhado à homepage) ── */
body.e2c-page-history .e2c-history-prose,
body.e2c-page-about .e2c-history-prose {
  background: var(--c-brand-light, #f9fafd);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(28, 36, 75, 0.06);
}
body.e2c-page-history .e2c-history-prose__inner,
body.e2c-page-about .e2c-history-prose__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 32px);
  box-sizing: border-box;
}
body.e2c-page-history .e2c-history-prose__title,
body.e2c-page-about .e2c-history-prose__title {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--c-text, #1c244b);
  margin: 0 0 1.25rem;
  text-align: center;
  letter-spacing: -0.02em;
}
body.e2c-page-history .e2c-history-prose__inner p,
body.e2c-page-about .e2c-history-prose__inner p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text-muted, #324a6d);
  margin: 0 0 1rem;
  font-weight: 400;
}
body.e2c-page-history .e2c-history-prose__inner p:last-child,
body.e2c-page-about .e2c-history-prose__inner p:last-child {
  margin-bottom: 0;
}
body.e2c-page-history .e2c-history-cta-lead,
body.e2c-page-about .e2c-history-cta-lead {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0.75rem 0 0;
}
body.e2c-page-history .e2c-history-cta-sub,
body.e2c-page-about .e2c-history-cta-sub {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--c-text-muted);
}
body.e2c-page-history .e2c-history-cta-sub a,
body.e2c-page-about .e2c-history-cta-sub a {
  color: var(--c-brand-mid);
  font-weight: 500;
  text-decoration: none;
}
body.e2c-page-history .e2c-history-cta-sub a:hover,
body.e2c-page-history .e2c-history-cta-sub a:focus-visible,
body.e2c-page-about .e2c-history-cta-sub a:hover,
body.e2c-page-about .e2c-history-cta-sub a:focus-visible {
  color: var(--c-brand-hover);
  text-decoration: underline;
}
