/* ==========================================================
   ROMANA GRUPO — Coaching Executivo
   Design tokens derivados do logótipo (verde profundo + dourado)
   ========================================================== */

:root {
  /* Cor */
  --green-900: #06231A;   /* texto, fundos escuros */
  --green-800: #0B3D2E;   /* primária — do logótipo */
  --green-600: #3F6F62;   /* verde-sálvia — apoio */
  --gold-500: #C9A24B;    /* dourado — acento, hover */
  --gold-300: #D8B96A;    /* dourado — do logótipo */
  --gold-100: #EFE2C3;    /* dourado muito claro — fundos */
  --cream: #F7F4EC;       /* fundo quente neutro */
  --ivory: #FBFAF6;
  --ink: #1B241F;
  --white: #FFFFFF;

  /* Tipografia */
  --font-display: "Cinzel", serif;        /* maiúsculas monumentais — títulos-chave */
  --font-serif: "Cormorant Garamond", serif; /* títulos correntes, itálicos */
  --font-body: "Sora", sans-serif;         /* corpo de texto, UI */

  --section-pad: 8rem;
}

@media (max-width: 768px) {
  :root { --section-pad: 4.5rem; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  margin: 0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold-500); }

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

.container-xl {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
@media (max-width: 768px) {
  .container-xl { padding-left: 1.25rem; padding-right: 1.25rem; }
}

.eyebrow {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--green-900);
  margin: 0;
  line-height: 1.15;
}

.display-h {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 400;
}

p { color: var(--green-900); opacity: .82; }

/* ---------- Divisor "losango" (assinatura do logótipo) ---------- */
.rg-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 2.5rem;
  width: 100%;
  max-width: 260px;
}
.rg-divider::before,
.rg-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--dir, right), transparent, var(--gold-500));
}
.rg-divider::after { --dir: left; }
.rg-divider span {
  width: 9px;
  height: 9px;
  background: var(--gold-500);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- Botões ---------- */
.btn-rg {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .95rem 2.1rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.btn-rg-primary {
  background: var(--gold-500);
  color: var(--green-900);
  border-color: var(--gold-500);
  border-radius: 60px;
}
.btn-rg-primary:hover { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); border-radius: 50px;}
.btn-rg-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(251,250,246,.5);
  border-radius: 50px;
}
.btn-rg-outline:hover { background: var(--ivory); color: var(--green-900); border-color: var(--ivory); border-radius: 50px;}
.btn-rg-outline.dark { color: var(--green-800); border-color: var(--green-800); border-radius: 50px; }
.btn-rg-outline.dark:hover { background: var(--green-800); color: var(--ivory); border-radius: 50px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--green-900);
  color: var(--gold-100);
  font-size: .82rem;
}
.topbar .container-xl { display: flex; justify-content: space-between; align-items: center; padding-top: .6rem; padding-bottom: .6rem; flex-wrap: wrap; gap: .5rem; }
.topbar-info { display: flex; gap: 1.8rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.topbar-info li { display: flex; align-items: center; gap: .5rem; font-size: 12px; font-weight: 300; color: rgba(255, 255, 255, 0.);}
.topbar-info li i{
    color: var(--gold-500);
    font-size: 13px;

    text-align: center;
}
.topbar-info li:hover i{
    color: var(--gold-300);
    transform: scale(1.15);
    transition: all .3s ease;
}
.topbar-social { display: flex; align-items: center; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.topbar-social a { color: var(--gold-300); display: flex; align-items: center; }
.topbar-social a:hover { color: var(--white); }
.topbar-social svg { display: block; }

.navbar-rg {
  background: var(--ivory);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(11,61,46,.08);
}
.navbar-rg .container-xl { display: flex; align-items: center; justify-content: space-between; }
.navbar-rg .logo-mark { height: 60px; }
.nav-links { display: flex; gap: 2.3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-900);
}
.nav-links a.active, .nav-links a:hover { color: var(--gold-500); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 992px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero (carrossel) ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(6,35,26,.94), rgba(11,61,46,.82)),
    repeating-linear-gradient(45deg, rgba(216,185,106,.05) 0 2px, transparent 2px 40px);
  color: var(--ivory);
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 6rem 0; }
.hero-content h1 { font-size: 36px; color: rgba(255, 255, 255, .8); !important  }
.hero .eyebrow { color: var(--gold-300); }
.hero .eyebrow::before { background: var(--gold-300); }
.hero h1 { color: var(--ivory); font-size: clamp(2.3rem, 4.6vw, 4.1rem); }
.hero h1 em { font-style: italic; color: var(--gold-300); }
.hero-sub { color: rgba(251,250,246,.78); font-size: 16px; max-width: 560px; margin-top: 1.5rem; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-frame {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  aspect-ratio: 3/4;
  border: 1px solid rgba(216,185,106,.45);
  z-index: 1;
}
@media (max-width: 992px) { .hero-frame { display: none; } }

/* ---------- Secções genéricas ---------- */
.section { padding-top: 50px; padding-bottom: 50px; }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 4rem; }
.section-title h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.bg-cream { background: var(--cream); }
.bg-deep { background: var(--green-900); color: var(--ivory); }
.bg-deep p { color: rgba(251,250,246,.75); }
.bg-deep h2, .bg-deep h3, .bg-deep h4 { color: var(--ivory); }
.bg-deep .eyebrow { color: var(--gold-300); }
.bg-deep .eyebrow::before { background: var(--gold-300); }

/* ---------- Banner interno (páginas que não são a homepage) ---------- */
.page-banner {
  background:
    linear-gradient(150deg, rgba(6,35,26,.94), rgba(11,61,46,.90)),
    url('images/page-banner-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  color: var(--ivory);
  padding: 4.0rem 0 4.0rem;
  text-align: center;
}
.page-banner h1 { color: var(--ivory); font-size: clamp(2rem, 3.6vw, 3rem); }
.page-banner .eyebrow { justify-content: center; color: var(--gold-300); }
.page-banner .eyebrow::before { background: var(--gold-300); }
.page-banner p { color: rgba(251,250,246,.75); max-width: 640px; margin: 1rem auto 0; }

/* ---------- Sobre ---------- */
.about-media {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--green-800), var(--green-600));
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-media .monogram { width: 90px; opacity: .9; }
.about-media.gold { background: linear-gradient(160deg, var(--gold-300), var(--gold-500)); }

/* ---------- Estatísticas ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-300); }
.stat-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(251,250,246,.65); margin-top: .4rem; }

/* ---------- Serviços ---------- */
.service-card {
  background: var(--ivory);
  border: 1px solid rgba(11,61,46,.1);
  padding: 3rem 2.2rem;
  height: 100%;
  transition: all .35s ease;
}
.service-card:hover { border-color: var(--gold-500); transform: translateY(-6px); box-shadow: 0 24px 48px rgba(11,61,46,.1); }
.service-num { font-family: var(--font-display); font-size: .85rem; color: var(--gold-500); letter-spacing: .1em; }
.service-card h3 { font-size: 1.4rem; margin: 1rem 0 .9rem; }
.service-card .learn { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--green-800); border-bottom: 1px solid var(--gold-500); padding-bottom: 2px; }
.service-card ul { margin: .6rem 0 0; padding-left: 1.1rem; }
.service-card ul li { font-size: .92rem; color: var(--green-900); opacity: .8; margin-bottom: .35rem; }
.service-card .result-tag { display: inline-block; margin-top: 1.2rem; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-500); }

/* ---------- Equipa ---------- */
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--green-800), var(--green-900));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  position: relative;
}
.team-photo span {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold-300);
}
.team-card h4 { font-size: 1.15rem; }
.team-role { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-500); margin-top: .3rem; }

/* ---------- Depoimentos ---------- */
.testimonial-card {
  background: var(--ivory);
  border-left: 3px solid var(--gold-500);
  padding: 2.6rem;
  height: 100%;
}
.testimonial-card q { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--green-900); display: block; margin-bottom: 1.6rem; }
.testimonial-author { font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--green-600); }

.client-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 3.2rem; opacity: .78; margin-top: 1rem; align-items: center; }
.client-logos span { font-family: var(--font-display); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-800); }

/* ---------- Blog ---------- */
.blog-card { background: var(--ivory); }
.blog-media {
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, var(--green-600), var(--green-800));
  margin-bottom: 1.4rem;
}
.blog-tag { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-500); }
.blog-card h4 { font-size: 1.25rem; margin: .7rem 0; }
.blog-date { font-size: .8rem; color: var(--green-600); }

/* ---------- Contacto ---------- */
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(251,250,246,.3);
  color: var(--ivory);
  padding: .9rem 0;
  font-family: var(--font-body);
  margin-bottom: 1.6rem;
}
.contact-form label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300); display: block; margin-bottom: .5rem; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(251,250,246,.4); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--gold-500); }

.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.8rem; }
.contact-info-item .ico { color: var(--gold-300); flex-shrink: 0; margin-top: 3px; }
.contact-info-item strong { display: block; color: var(--ivory); font-size: .95rem; margin-bottom: .2rem; }

/* ---------- Footer ---------- */
.footer-rg { background: var(--green-900); color: rgba(251,250,246,.7); padding-top: 5rem; }
.footer-rg h4 { color: var(--ivory); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.4rem; }
.footer-rg .logo-mark { height: 60px; margin-bottom: 1.4rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .8rem; font-size: 13px; color: rgba(255, 255, 255, 0.);}
.footer-links li i {
    color: var(--gold-500);
    font-size: 13px;
    text-align: center;
}
.footer-bottom { border-top: 1px solid rgba(251,250,246,.12); margin-top: 4rem; padding: 1.8rem 0; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.4rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.row-g { display: grid; gap: 2.4rem; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 576px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* ==========================================================
   CARROSSEL DINÂMICO — HERO
   ========================================================== */

.hero-carousel {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--ivory);
  background: var(--green-900);
}

.hc-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s ease;
  z-index: 1;

  background-image:
    linear-gradient(
      115deg,
      rgba(6,35,26,.94) 0%,
      rgba(6,35,26,.84) 42%,
      rgba(11,61,46,.60) 72%,
      rgba(6,35,26,.45) 100%
    ),
    var(--slide-image);

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hc-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hc-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hc-slide .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  padding: 5rem 0;
}

.hc-slide .hero-content h1 {
  color: var(--ivory);
  font-size: clamp(2.3rem, 4.6vw, 4.1rem);
  line-height: 1.12;
}

.hc-slide .hero-sub {
  color: rgba(251,250,246,.82);
  font-size: 16px;
  max-width: 600px;
  margin-top: 1.5rem;
}

.hc-slide .eyebrow {
  color: var(--gold-300);
}

.hc-slide .eyebrow::before {
  background: var(--gold-300);
}

.hc-slide .hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.6rem;
  flex-wrap: wrap;
}

/* ---------- Slide à esquerda ---------- */
.hc-slide.hc-left {
  justify-content: flex-start;
  text-align: left;

  background-image:
    linear-gradient(
      105deg,
      rgba(6,35,26,.98) 0%,
      rgba(6,35,26,.92) 30%,
      rgba(11,61,46,.74) 55%,
      rgba(11,61,46,.38) 100%
    ),
    var(--slide-image);
}

.hc-slide.hc-left .hero-content {
  margin-right: auto;
}

.hc-slide.hc-left .hero-sub {
  margin-left: 0;
  margin-right: auto;
}

.hc-slide.hc-left .hero-actions {
  justify-content: flex-start;
}

/* ---------- Slide ao centro ---------- */
.hc-slide.hc-center {
  justify-content: center;
  text-align: center;

  background-image:
    linear-gradient(
      180deg,
      rgba(6,35,26,.73) 0%,
      rgba(11,61,46,.88) 50%,
      rgba(6,35,26,.78) 100%
    ),
    var(--slide-image);
}

.hc-slide.hc-center .hero-content {
  margin-left: auto;
  margin-right: auto;
}

.hc-slide.hc-center .eyebrow {
  justify-content: center;
}

.hc-slide.hc-center .hero-sub {
  margin-left: auto;
  margin-right: auto;
}

.hc-slide.hc-center .hero-actions {
  justify-content: center;
}

/* ---------- Slide à direita ---------- */
.hc-slide.hc-right {
  justify-content: flex-end;
  text-align: right;

  background-image:
    linear-gradient(
      255deg,
      rgba(6,35,26,.98) 0%,
      rgba(6,35,26,.91) 32%,
      rgba(11,61,46,.72) 58%,
      rgba(11,61,46,.34) 100%
    ),
    var(--slide-image);
}

.hc-slide.hc-right .hero-content {
  margin-left: auto;
}

.hc-slide.hc-right .eyebrow {
  justify-content: flex-end;
}

.hc-slide.hc-right .hero-sub {
  margin-left: auto;
  margin-right: 0;
}

.hc-slide.hc-right .hero-actions {
  justify-content: flex-end;
}

/* ---------- Controlos ---------- */
.hc-controls {
  position: absolute;
  bottom: 2.6rem;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}

.hc-dots {
  display: flex;
  gap: .6rem;
}

.hc-dot {
  width: 30px;
  height: 2px;
  background: rgba(251,250,246,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s ease;
}

.hc-dot.is-active {
  background: var(--gold-300);
}

.hc-arrow {
  background: none;
  border: 1px solid rgba(251,250,246,.35);
  color: var(--ivory);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
}

.hc-arrow:hover {
  border-color: var(--gold-300);
  color: var(--gold-300);
}

/* ---------- Tablet ---------- */
@media (max-width: 992px) {
  .hero-carousel {
    min-height: 78vh;
  }

  .hc-slide .hero-content {
    max-width: 680px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .hero-carousel {
    min-height: 75vh;
  }

  .hc-slide.hc-left,
  .hc-slide.hc-center,
  .hc-slide.hc-right {
    text-align: left;
    justify-content: flex-start;
    background-position: center center;
  }

  .hc-slide.hc-left .hero-content,
  .hc-slide.hc-center .hero-content,
  .hc-slide.hc-right .hero-content {
    margin-left: 0;
    margin-right: auto;
  }

  .hc-slide.hc-left .eyebrow,
  .hc-slide.hc-center .eyebrow,
  .hc-slide.hc-right .eyebrow {
    justify-content: flex-start;
  }

  .hc-slide.hc-left .hero-sub,
  .hc-slide.hc-center .hero-sub,
  .hc-slide.hc-right .hero-sub {
    margin-left: 0;
    margin-right: auto;
  }

  .hc-slide.hc-left .hero-actions,
  .hc-slide.hc-center .hero-actions,
  .hc-slide.hc-right .hero-actions {
    justify-content: flex-start;
  }

  .hc-slide .hero-content {
    padding: 4rem 0 6rem;
  }

  .hc-slide .hero-content h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}

/* ==========================================================
   HOME MOMENTS — DESTAQUES DA GALERIA
   ========================================================== */

.home-moments {
  padding: 6rem 0;
  background: var(--ivory);
}

.home-moments-header {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.home-moments-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  max-width: 720px;
}

.home-moments-intro {
  max-width: 520px;
  margin-left: auto;
}

.home-moments-intro p {
  margin: 0 0 1.3rem;
  font-size: .96rem;
  line-height: 1.75;
  color: var(--green-900);
  opacity: .78;
}

.home-moments-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-800);
  font-weight: 500;
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: .25rem;
}

.home-moments-link i {
  font-size: .8rem;
  transition: transform .3s ease;
}

.home-moments-link:hover {
  color: var(--gold-500);
}

.home-moments-link:hover i {
  transform: translateX(4px);
}


/* ---------- Grid principal ---------- */

.home-moments-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr;
  grid-template-rows: 230px 230px;
  gap: 14px;
}

.home-moment {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--green-900);
  border-radius: 3px;
  isolation: isolate;
}

.home-moment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform .8s cubic-bezier(.2,.65,.3,1),
    filter .6s ease;
}

.home-moment:hover img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.home-moment-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(6,35,26,.05) 20%,
      rgba(6,35,26,.16) 55%,
      rgba(6,35,26,.72) 100%
    );
  transition: background .4s ease;
}

.home-moment:hover .home-moment-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(6,35,26,.03) 15%,
      rgba(6,35,26,.12) 50%,
      rgba(6,35,26,.65) 100%
    );
}


/* ---------- Foto principal ---------- */

.home-moment-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.home-moment-main .home-moment-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(6,35,26,.02) 10%,
      rgba(6,35,26,.12) 52%,
      rgba(6,35,26,.82) 100%
    );
}


/* ---------- Fotos pequenas ---------- */

.home-moment-small {
  grid-column: auto;
  grid-row: 1 / 2;
}


/* ---------- Quarta foto larga ---------- */

.home-moment-wide {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}


/* ---------- Legenda da imagem principal ---------- */

.home-moment-caption {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 1.8rem;
  z-index: 2;
  color: var(--ivory);
}

.home-moment-caption span {
  display: block;
  margin-bottom: .45rem;
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.home-moment-caption strong {
  display: block;
  max-width: 520px;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.25;
  font-weight: 500;
  color: var(--ivory);
}


/* ---------- Ícone da quarta foto ---------- */

.home-moment-icon {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  border: 1px solid rgba(251,250,246,.55);
  background: rgba(6,35,26,.28);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition:
    background .3s ease,
    color .3s ease,
    border-color .3s ease,
    transform .3s ease;
}

.home-moment:hover .home-moment-icon {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--green-900);
  transform: translateY(-3px);
}


/* ---------- Variações conforme quantidade ---------- */

.home-moments-count-1 {
  grid-template-columns: 1fr;
  grid-template-rows: 520px;
}

.home-moments-count-1 .home-moment-main {
  grid-column: 1;
  grid-row: 1;
}

.home-moments-count-2 {
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 460px;
}

.home-moments-count-2 .home-moment-main {
  grid-column: 1;
  grid-row: 1;
}

.home-moments-count-2 .home-moment-small {
  grid-column: 2;
  grid-row: 1;
}

.home-moments-count-3 {
  grid-template-columns: 1.35fr .85fr;
  grid-template-rows: 223px 223px;
}

.home-moments-count-3 .home-moment-main {
  grid-column: 1;
  grid-row: 1 / 3;
}

.home-moments-count-3 .home-moment-small:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.home-moments-count-3 .home-moment-small:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}


/* ---------- Tablet ---------- */

@media (max-width: 992px) {
  .home-moments {
    padding: 5rem 0;
  }

  .home-moments-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .home-moments-intro {
    margin-left: 0;
  }

  .home-moments-grid,
  .home-moments-count-4 {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }

  .home-moment-main {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .home-moment-small:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .home-moment-small:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .home-moment-wide {
    grid-column: 1 / 3;
    grid-row: 3;
  }
}


/* ---------- Mobile ---------- */

@media (max-width: 680px) {
  .home-moments {
    padding: 4rem 0;
  }

  .home-moments-header {
    margin-bottom: 2.2rem;
  }

  .home-moments-grid,
  .home-moments-count-1,
  .home-moments-count-2,
  .home-moments-count-3,
  .home-moments-count-4 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }

  .home-moment,
  .home-moment-main,
  .home-moment-small,
  .home-moment-wide,
  .home-moments-count-1 .home-moment-main,
  .home-moments-count-2 .home-moment-main,
  .home-moments-count-2 .home-moment-small,
  .home-moments-count-3 .home-moment-main,
  .home-moments-count-3 .home-moment-small:nth-child(2),
  .home-moments-count-3 .home-moment-small:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }

  .home-moment {
    min-height: 230px;
  }

  .home-moment-main {
    min-height: 360px;
  }

  .home-moment-caption {
    left: 1.3rem;
    right: 1.3rem;
    bottom: 1.3rem;
  }

  .home-moment-caption strong {
    font-size: 1.35rem;
  }

  .home-moment-icon {
    right: 1rem;
    bottom: 1rem;
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================
   CONTADORES
   ========================================================== */
.counters-section { padding: 2.5rem 0; background: transparent; border-bottom: 1px solid rgba(11,61,46,.08); }
.counters-row { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.counter-item { padding: 0 1.5rem; position: relative; }
.counter-item + .counter-item::before {
  content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: rgba(11,61,46,.14);
}
.counter-num { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.4rem); color: var(--green-800); display: flex; align-items: baseline; justify-content: center; gap: .15rem; margin-bottom: -.2rem; }
.counter-num .plus { color: var(--gold-500); font-size: 1.6rem; }
.counter-label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); margin-top: .25rem; }
@media (max-width: 900px) { .counters-row { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; } .counter-item:nth-child(even)::before { display: none; } }
@media (max-width: 560px) { .counters-row { grid-template-columns: 1fr; gap: 2.5rem; } .counter-item + .counter-item::before { display: none; } }
@media (max-width: 768px) { .counters-row { grid-template-columns: 1fr; gap: 2.5rem; } .counter-item + .counter-item::before { display: none; } }

/* ==========================================================
   ARQUITETURA ROMANA / ART (diagrama radial)
   ========================================================== */
.architecture-section { background: var(--green-900); color: var(--ivory); padding: var(--section-pad) 0; overflow: hidden; }
.arch-diagram { max-width: 780px; margin: 0 auto; position: relative; }
.arch-diagram svg { width: 100%; height: auto; overflow: visible; }
.arch-hub-label { font-family: var(--font-display); font-size: .95rem; fill: var(--green-900); letter-spacing: .02em; text-anchor: middle; }
.arch-hub-sub { font-family: var(--font-body); font-size: .5rem; fill: var(--green-700, #3F6F62); letter-spacing: .12em; text-anchor: middle; text-transform: uppercase; }
.arch-node-num { font-family: var(--font-display); font-size: .8rem; fill: var(--gold-300); text-anchor: middle; }
.arch-node-label { font-family: var(--font-body); font-size: .52rem; fill: var(--ivory); text-anchor: middle; letter-spacing: .02em; }
.arch-legend { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; }
.arch-legend-item { text-align: center; }
.arch-legend-num { font-family: var(--font-display); color: var(--gold-300); font-size: .85rem; margin-bottom: .5rem; }
.arch-legend-item h5 { font-family: var(--font-serif); color: var(--ivory); font-size: 1.05rem; margin-bottom: .4rem; font-weight: 500; }
.arch-legend-item p { font-size: .84rem; color: rgba(251,250,246,.65); margin: 0; }
@media (max-width: 900px) { .arch-legend { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .arch-legend { grid-template-columns: 1fr; } }

/* ==========================================================
   PILARES — 6 círculos (3 em cima, 3 em baixo)
   ========================================================== */
   /* ===== Componentes ART: 4 por linha ===== */
.pillars-circles{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:2.2rem 1.6rem;
  justify-items:center;
  margin-top:3rem;
}
.pillar-circle{
  width:100%;
  max-width:210px;
  aspect-ratio:1/1;
}
.pillar-title{
  font-size:.92rem;
  line-height:1.35;
}

@media (max-width:1100px){
  .pillars-circles{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:820px){
  .pillars-circles{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:520px){
  .pillars-circles{ grid-template-columns:1fr; }
  .pillar-circle{ max-width:230px; }
}


.pillar-circle {

  border-radius: 50%;
  background: var(--green-800);
  border: 2px solid var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  transition: all .35s ease;
  cursor: default;
}
.pillar-circle:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(201,162,75,.3);
}
.pillar-inner { display: flex; flex-direction: column; gap: .5rem; }
.pillar-num {
  font-family: var(--font-display);
  color: var(--gold-300);
  font-size: .95rem;
  letter-spacing: .12em;
  transition: color .35s ease;
}
.pillar-circle:hover .pillar-num { color: var(--green-900); }
.pillar-title {
  font-family: var(--font-serif);
  color: var(--ivory);
  transition: color .35s ease;
}
.pillar-circle:hover .pillar-title { color: var(--green-900); }



/* ==========================================================
   PUZZLE / MOSAICO DE IMAGENS
   ========================================================== */
.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 14px;
}
.puzzle-piece {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  color: var(--ivory);
}
.puzzle-piece span {
  position: relative; z-index: 2;
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 500;
}
.puzzle-piece::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,35,26,.75), transparent 60%); z-index: 1; }
.pp-1 { grid-column: span 3; grid-row: span 2; background: linear-gradient(200deg, rgba(63,111,98,.55), rgba(6,35,26,.6)), url('images/transformacao.jpg'); background-size: cover; background-position: center; }
.pp-2 { grid-column: span 3; grid-row: span 1; background: linear-gradient(160deg, rgba(201,162,75,.55), rgba(216,185,106,.55)), url('images/personal.jpg'); background-size: cover; background-position: center; } 
.pp-3 { grid-column: span 3; grid-row: span 1; background: linear-gradient(200deg, rgba(63,111,98,.55), rgba(6,35,26,.6)), url('images/labor.jpg'); background-size: cover; background-position: center; }
.pp-4 { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, rgba(6,35,26,.6), rgba(11,61,46,.55)), url('images/dinamica.png'); background-size: cover; background-position: center; }
.pp-5 { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, rgba(216,185,106,.5), rgba(63,111,98,.55)), url('images/lab.png'); background-size: cover; background-position: center; }
.pp-6 { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, rgba(11,61,46,.55), rgba(201,162,75,.5)), url('images/wor.png'); background-size: cover; background-position: center; }
@media (max-width: 900px) {
  .puzzle-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 110px; }
  .pp-1, .pp-4, .pp-5, .pp-6 { grid-column: span 2; }
  .pp-2, .pp-3 { grid-column: span 4; }
}
@media (max-width: 560px) {
  .puzzle-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-1, .pp-2, .pp-3, .pp-4, .pp-5, .pp-6 { grid-column: span 2; grid-row: span 1; min-height: 190px; }
}

/* ==========================================================
   PROBLEMAS QUE RESOLVEMOS
   ========================================================== */
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(11,61,46,.12); border: 1px solid rgba(11,61,46,.12); }
.problem-item { background: var(--ivory); padding: 2.6rem 2.2rem; }
.problem-mark { font-family: var(--font-display); color: var(--gold-500); font-size: 1.1rem; margin-bottom: 1rem; display: block; }
.problem-item h4 { font-size: 1.1rem; margin-bottom: .6rem; }
.problem-item p { font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .problems-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .problems-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   FRASE DE IMPACTO + CTA
   ========================================================== */
.impact-section {
  position: relative;
  padding: 7rem 0;
  text-align: center;
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  color: var(--ivory);
  overflow: hidden;
}
.impact-section::before {
  content: "”";
  position: absolute; top: -2rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-serif); font-size: 14rem; color: rgba(216,185,106,.08); line-height: 1;
  pointer-events: none;
}
.impact-quote { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 3.4vw, 2.0rem); color: var(--ivory); line-height: 1.4; }
.impact-quote em { color: var(--gold-300); font-style: italic; }
.impact-actions { position: relative; z-index: 2; margin-top: 2.8rem; display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================
   ART — SPLIT SCREEN (verde + cartões)
   ========================================================== */
.art-split { display: grid; grid-template-columns: 1fr 1.15fr; margin-top: 3.5rem; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.25); }

.art-split-left {
  background:
    radial-gradient(circle at 32% 30%, rgba(216,185,106,.10), transparent 55%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 2rem; min-height: 560px;
}
.art-orbit { position: relative; width: 320px; height: 320px; }
.art-orbit-ring { position: absolute; inset: 0; border: 1px solid rgba(216,185,106,.28); border-radius: 50%; }
.art-orbit-ring.inner { inset: 55px; border-color: rgba(216,185,106,.48); }
.art-core { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.art-word { font-family: var(--font-display); font-size: 2.5rem; letter-spacing: .1em; color: var(--gold-300); }
.art-sub { font-family: var(--font-body); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(251,250,246,.55); margin-top: .7rem; max-width: 190px; line-height: 1.5; }
.art-dot {
  position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -4.5px;
  background: var(--gold-300); border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(216,185,106,.14);
  transform: rotate(calc(var(--i) * 45deg)) translateX(160px);
}

.art-split-right {
  background: var(--ivory);
  padding: 3.2rem 3rem;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; align-content: center;
}
.art-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.35rem 1.3rem;
  border: 1px solid rgba(11,61,46,.12);
  border-radius: 14px;
  background: var(--ivory);
  transition: all .3s ease;
}
.art-card:hover { border-color: var(--gold-500); background: var(--cream); transform: translateY(-5px); box-shadow: 0 16px 32px rgba(11,61,46,.1); }
.art-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  background: var(--green-900); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
}
.art-icon svg { width: 20px; height: 20px; }
.art-card:hover .art-icon { background: var(--gold-500); color: var(--green-900); }
.art-card h4 { font-size: .98rem; margin-bottom: .3rem; color: var(--green-900); }
.art-card p { font-size: .8rem; margin: 0; opacity: .68; line-height: 1.45; }

@media (max-width: 992px) {
  .art-split { grid-template-columns: 1fr; }
  .art-split-left { min-height: 380px; padding: 3rem 1.5rem; }
  .art-orbit { width: 240px; height: 240px; }
  .art-dot { transform: rotate(calc(var(--i) * 45deg)) translateX(118px); }
  .art-split-right { grid-template-columns: 1fr 1fr; padding: 2.5rem 1.75rem; }
}
@media (max-width: 560px) {
  .art-split-right { grid-template-columns: 1fr; }
}

/* ==========================================================
   CLIENTES — carrossel infinito (direita → esquerda)
   ========================================================== */
.clients-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: clientsScroll 32s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }

.client-logo-item {
  flex: 0 0 auto;
  width: 150px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* Quando o logótipo tem link */
.client-logo-item > a {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* Logótipo */
.client-logo-item img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  filter: grayscale(100%);
  opacity: .55;

  transition:
    filter .35s ease,
    opacity .35s ease;
}


.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes clientsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .clients-track { gap: 3rem; animation-duration: 22s; }
  .client-logo-item { width: 110px; height: 56px; }
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}
.footer-social a {
  color: var(--gold-300);
  display: flex;
  align-items: center;
}
.footer-social a:hover { color: var(--white); }
.footer-social svg { display: block; }

/* ==========================================================
   BREADCRUMB (banner universal — páginas secundárias)
   ========================================================== */
.page-banner .breadcrumb {
  margin-bottom: 1.2rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(251,250,246,.55);
}
.page-banner .breadcrumb a { color: rgba(251,250,246,.8); }
.page-banner .breadcrumb a:hover { color: var(--gold-300); }
.page-banner .breadcrumb .sep { margin: 0 .5rem; color: rgba(251,250,246,.35); }

/* ==========================================================
   MAPA — Contacto
   ========================================================== */
.map-section { width: 100%; height: 420px; }
@media (max-width: 768px) { .map-section { height: 320px; } }

/* ==========================================================
   LISTAS DE VERIFICAÇÃO (áreas de foco / resultados — Serviços)
   ========================================================== */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; font-size: .92rem; color: var(--green-900); opacity: .85; }
.check-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold-500); }

.solution-block { border-top: 1px solid rgba(11,61,46,.12); padding: 3.5rem 0; }
.solution-block:first-of-type { border-top: none; }
.solution-num { font-family: var(--font-display); color: var(--gold-500); font-size: 1rem; letter-spacing: .1em; }
.solution-block h3 { font-size: 1.6rem; margin: .6rem 0 1.4rem; }
.solution-meta-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); margin-bottom: .8rem; display: block; }

/* ===== Missão, Visão e Valores ===== */
.mvv-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.8rem;
  margin-top:1.5rem ;
}
.mvv-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  padding:2.4rem 1.8rem;
  text-align:center;
  transition:transform .3s ease, box-shadow .3s ease;
}
.mvv-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.10);
  color: #fff;
  background: var(--green-900);
  border:1px solid rgba(0,0,0,.06);
}
.mvv-icon{
  width:82px;
  height:82px;
  margin:0 auto 1.4rem;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid var(--gold,#c2a14d);
  background:rgba(194,161,77,.08);
  color:var(--gold,#c2a14d);
  font-size:2rem;
  transition:background .3s ease, color .3s ease;
}
.mvv-card:hover .mvv-icon{
  background:var(--gold,#c2a14d);
  color:#fff;
}
.mvv-card h3{
  font-size:1.45rem;
  margin-bottom:.9rem;
  letter-spacing:.5px;
}
.mvv-card h3:hover{
  color:#fff;
}
.mvv-card p{ line-height:1.75; }
.mvv-card p:hover{ color:#fff; }

.mvv-list{
  list-style:none;
  padding:0;
  margin:0;
  text-align:left;
  display:inline-block;
}
.mvv-list li{
  position:relative;
  padding-left:1.6rem;
  margin-bottom:.7rem;
  line-height:1.6;
}
.mvv-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--gold,#c2a14d);
  box-shadow:0 0 0 3px rgba(194,161,77,.18);
}
 
@media (max-width:900px){
  .mvv-grid{ grid-template-columns:1fr; }
}

/* ===== Componentes ART: 4 por linha ===== */
.pillars-circles{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:2.2rem 1.6rem;
  justify-items:center;
  margin-top:3rem;
}
.pillar-circle{
  width:100%;
  max-width:210px;
  aspect-ratio:1/1;
}
.pillar-title{
  font-size:.92rem;
  line-height:1.35;
}

@media (max-width:1100px){
  .pillars-circles{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:820px){
  .pillars-circles{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:520px){
  .pillars-circles{ grid-template-columns:1fr; }
  .pillar-circle{ max-width:230px; }
}

/* ==========================================================
   SEIS PILARES — CARTÕES (fundo verde em gradiente, diferente do footer)
   ========================================================== */
.pillars-section {
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  padding: 50px 0 80px;
}
.pillars-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.pillar-card {
  background: var(--ivory);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  transition: all .35s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(0,0,0,.26);
}
.pillar-card-head {
  background: var(--green-900);
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: background .35s ease;
}
.pillar-card:hover .pillar-card-head { background: var(--gold-500); }
.pillar-card-num {
  font-family: var(--font-display);
  color: var(--gold-300);
  font-size: .75rem;
  letter-spacing: .16em;
  display: block;
  margin-bottom: .5rem;
  transition: color .35s ease;
}
.pillar-card:hover .pillar-card-num { color: var(--green-900); }
.pillar-card-head h4 {
  font-family: var(--font-display);
  color: var(--ivory);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .98rem;
  line-height: 1.35;
  margin: 0;
  transition: color .35s ease;
}
.pillar-card:hover .pillar-card-head h4 { color: var(--green-900); }
.pillar-card-body { padding: 1.7rem 1.4rem; text-align: center; }
.pillar-card-body p {
  font-size: .87rem;
  color: var(--green-900);
  opacity: .75;
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .pillars-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pillars-cards { grid-template-columns: 1fr; }
}

/* ==========================================================
   CERTIFICAÇÕES — jornada (SAQA → INNOQ → ISO 9001)
   ========================================================== */
.cert-roadmap {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0 1rem;
  max-width: 1080px;
  margin: 0 auto;
}
.cert-step { text-align: center; padding: 0 .5rem; }
.cert-node {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold-500);
  background: var(--green-900);
  color: var(--gold-300);
  transition: all .3s ease;
}
.cert-node svg { width: 34px; height: 34px; }
.cert-step.is-progress .cert-node { background: var(--ivory); border-style: dashed; color: var(--gold-500); }
.cert-step.is-target .cert-node { background: var(--ivory); border-color: rgba(11,61,46,.25); border-style: dashed; color: var(--green-600); }
.cert-step:hover .cert-node { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(11,61,46,.15); }

.cert-status {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: .5rem;
}
.cert-step.is-target .cert-status { color: var(--green-600); }
.cert-step h4 { font-size: 1.25rem; margin-bottom: .6rem; }
.cert-step p { font-size: .86rem; opacity: .78; line-height: 1.55; }

.cert-connector {
  height: 2px;
  background: var(--gold-500);
  margin-top: 42px;
  align-self: start;
}
.cert-connector.is-future {
  background: repeating-linear-gradient(to right, var(--gold-500) 0 6px, transparent 6px 12px);
}

@media (max-width: 900px) {
  .cert-roadmap { grid-template-columns: 1fr; gap: 2.5rem 0; max-width: 380px; }
  .cert-connector { width: 2px; height: 40px; margin: 0 auto; }
  .cert-connector.is-future { background: repeating-linear-gradient(to bottom, var(--gold-500) 0 6px, transparent 6px 12px); }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .footer-bottom .footer-bottom-developer { display: none; }
}

/* ==========================================================
   PROPOSTA DE VALOR — dois cartões (claro + escuro)
   ========================================================== */
.valor-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.valor-card {
  border-radius: 28px;
  padding: 3rem 2.8rem;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.valor-card:hover { transform: translateY(-5px); }

.valor-card-light {
  background: var(--ivory);
  border: 1px solid rgba(11,61,46,.1);
  box-shadow: 0 18px 40px rgba(11,61,46,.06);
}
.valor-card-light:hover { box-shadow: 0 24px 50px rgba(11,61,46,.1); border-color: rgba(216,185,106,.4); }
.valor-mark {
  display: block;
  width: 14px; height: 14px;
  background: var(--gold-500);
  transform: rotate(45deg);
  margin-bottom: 1.6rem;
}
.valor-card-light h3 {
  font-size: 1.55rem;
  color: var(--green-900);
  margin-bottom: 1.1rem;
  line-height: 1.3;
}
.valor-card-light p { font-size: .96rem; opacity: .78; line-height: 1.6; }

.valor-card-dark {
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  box-shadow: 0 18px 40px rgba(6,35,26,.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.valor-card-dark:hover { box-shadow: 0 26px 55px rgba(6,35,26,.35); }
.valor-label {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-300);
  display: block;
  margin-bottom: 1.4rem;
}
.valor-card-dark h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--ivory);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 900px) {
  .valor-split { grid-template-columns: 1fr; }
  .valor-card { padding: 2.4rem 2rem; }
}

/* ==========================================================
   ROMANA SOBERANA — plataforma, 5 módulos
   ========================================================== */
.soberana-section {
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
}
.soberana-modules {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
  margin-top: 1rem;
}
.soberana-module {
  background: rgba(251,250,246,.04);
  border: 1px solid rgba(216,185,106,.22);
  border-radius: 14px;
  padding: 2rem 1.4rem;
  text-align: center;
  position: relative;
  transition: all .35s ease;
}
.soberana-module:hover {
  border-color: var(--gold-500);
  background: rgba(251,250,246,.07);
  transform: translateY(-5px);
}
.soberana-icon {
  width: 52px; height: 52px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: rgba(216,185,106,.12);
  color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  transition: all .35s ease;
}
.soberana-icon svg { width: 24px; height: 24px; }
.soberana-module:hover .soberana-icon { background: var(--gold-500); color: var(--green-900); }
.soberana-num {
  display: block;
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .16em;
  color: rgba(216,185,106,.6);
  margin-bottom: .5rem;
}
.soberana-module h4 { color: var(--ivory); font-size: 1.02rem; margin-bottom: .6rem; }
.soberana-module p { color: rgba(251,250,246,.65); font-size: .82rem; line-height: 1.5; margin: 0; }

@media (max-width: 992px) {
  .soberana-modules { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .soberana-modules { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================
   PROBLEMAS (svc-*) — partilhado entre servicos.php e index.php
   ========================================================== */
.svc-problems {
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  padding: var(--section-pad) 0;
}
.svc-problems__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.svc-kicker {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.1rem;
}
.svc-kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold-500); display: inline-block; }
.svc-kicker--light { color: var(--gold-300); }
.svc-kicker--light::before { background: var(--gold-300); }
.svc-problems__head h2 { color: var(--ivory); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.svc-problems__head p { color: rgba(251,250,246,.75); margin-top: .8rem; }

.svc-problems__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(216,185,106,.15);
  border: 1px solid rgba(216,185,106,.15);
}
.svc-problem {
  background: var(--green-900);
  padding: 1.6rem 1.8rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--ivory);
  font-size: .98rem;
  opacity: .9;
}
.svc-problem__mark {
  width: 8px; height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 900px) { .svc-problems__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-problems__grid { grid-template-columns: 1fr; } }
/* ==========================================================
   A FUNDADORA — foto + biografia + livros (livros dentro da coluna de texto)
   ========================================================== */
.founder-bio {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}
.founder-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--green-800), var(--green-600));
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,35,26,.7), transparent 55%);
  pointer-events: none;
}

.founder-text p {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  color: var(--green-900);
  opacity: .85;
  line-height: 1.75;
  text-align: justify;
}

.founder-books { margin-top: 2rem; }
.founder-books-label {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
  display: block;
  margin-bottom: 1rem;
}
.founder-books-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(11,61,46,.12);
}
.founder-books-frame img { width: 100%; display: block; }

@media (max-width: 900px) {
  .founder-bio { grid-template-columns: 1fr; align-items: center; }
  .founder-photo { max-width: 320px; margin: 0 auto; }
}

.founder-books { margin-top: 4.5rem; text-align: center; }
.founder-books-frame {
  margin: 1.4rem auto 0;
  max-width: 640px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(11,61,46,.12);
}
.founder-books-frame img { width: 100%; display: block; }

@media (max-width: 900px) {
  .founder-bio { grid-template-columns: 1fr; }
  .founder-photo { max-width: 320px; margin: 0 auto; }
}

/* ==========================================================
   HOME — LIVROS
   ========================================================== */

.home-books {
  background: var(--cream);
}

.home-books-header {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 2rem;

  margin-bottom: 3rem;
}

.home-books-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.home-books-action {
  flex-shrink: 0;
}


.home-books-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 2rem;
}


.home-book {
  display: block;

  text-align: center;
}


.home-book-cover {
  position: relative;

  padding: 1.5rem;

  background: var(--ivory);

  border: 1px solid rgba(11,61,46,.08);

  border-radius: 12px;

  overflow: hidden;

  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}


.home-book:hover .home-book-cover {
  transform: translateY(-7px);

  border-color: var(--gold-500);

  box-shadow:
    0 20px 40px rgba(11,61,46,.12);
}


.home-book-cover img {
  display: block;

  width: 100%;
  max-width: 180px;

  height: 250px;

  margin: 0 auto;

  object-fit: contain;
}


.home-book-info {
  padding-top: 1.1rem;
}


.home-book-info span {
  display: block;

  margin-bottom: .4rem;

  font-family: var(--font-display);

  font-size: .68rem;

  letter-spacing: .14em;

  text-transform: uppercase;

  color: var(--gold-500);
}


.home-book-info h3 {
  margin: 0 auto;

  max-width: 230px;

  font-size: 1.1rem;

  line-height: 1.35;

  transition:
    color .3s ease;
}


.home-book:hover .home-book-info h3 {
  color: var(--gold-500);
}


/* TABLET */

@media (max-width: 992px) {

  .home-books-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* MOBILE */

@media (max-width: 680px) {

  .home-books-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-books-grid {
    grid-template-columns: 1fr;
  }

  .home-book {
    max-width: 300px;
    margin: 0 auto;
  }

}

/* ==========================================================
   LIVROS — CATÁLOGO COMPACTO
   ========================================================== */

.livros-section {
  background: var(--cream);
}

.livros-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
}

.livro-compact-card {
  text-align: center;
}

.livro-compact-capa {
  background: var(--ivory);
  padding: 1.5rem;
  border-radius: 12px;

  box-shadow:
    0 12px 30px rgba(11,61,46,.08);

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.livro-compact-card:hover .livro-compact-capa {
  transform: translateY(-6px);

  box-shadow:
    0 20px 40px rgba(11,61,46,.14);
}

.livro-compact-capa img {
  width: 100%;
  max-width: 190px;
  height: 270px;

  margin: 0 auto;

  object-fit: contain;
}

.livro-compact-info {
  padding-top: 1.2rem;
}

.livro-compact-ano {
  display: block;

  margin-bottom: .4rem;

  font-family: var(--font-display);
  font-size: .68rem;

  letter-spacing: .14em;
  text-transform: uppercase;

  color: var(--gold-500);
}

.livro-compact-info h3 {
  margin: 0 auto;

  max-width: 250px;

  font-size: 1.15rem;
  line-height: 1.35;
}


/* TABLET */

@media (max-width: 992px) {

  .livros-compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* MOBILE */

@media (max-width: 560px) {

  .livros-compact-grid {
    grid-template-columns: 1fr;
  }

  .livro-compact-capa {
    max-width: 280px;
    margin: 0 auto;
  }

}