/* ==========================================================================
   Flowtic — CSS (Home + comuns) — versão otimizada com estados de validação
   ========================================================================== */

/* ==========================================================================
   1) Design tokens
   ========================================================================== */
:root{
  --green-900:#163326;
  --green-700:#24533f;
  --orange-600:#B35A2E;

  --bg:#ffffff;
  --surface:#ffffff;
  --surface-2:#f6f7f6;
  --border:#e2e6e2;

  --text:#1b1f1c;
  --muted:#4b5650;

  --container:1120px;

  --r-xl:24px;
  --r-lg:18px;
  --r-md:14px;

  --shadow: 0 18px 55px rgba(0,0,0,.10);
  --shadow-soft: 0 10px 35px rgba(0,0,0,.08);

  --focus-blue:#2b6cff;
  --error-red:#d73a49;

  /* NOVO: verde para estado válido */
  --success-green:#1f8a4c;

  --header-h:74px;
  --mega-gap:12px;
}

/* ==========================================================================
   2) Base / reset / tipografia
   ========================================================================== */
*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  line-height:1.55;
  color:var(--text);
  background:
    radial-gradient(1100px 420px at 10% 10%, rgba(36,83,63,.10), transparent 60%),
    radial-gradient(900px 360px at 90% 0%, rgba(179,90,46,.09), transparent 55%),
    var(--bg);
}

a{ color:inherit; text-decoration:none; text-underline-offset:3px; }
a:hover{ text-decoration:underline; }

h1,h2,h3{
  margin:0 0 12px;
  line-height:1.15;
  letter-spacing:-.015em;
  color:var(--green-900);
}
h1{ font-size: clamp(2.2rem, 3.3vw, 3.2rem); }
h2{ font-size: clamp(1.45rem, 1.8vw, 1.9rem); }
p{ margin:0 0 14px; }

.muted{ color:var(--muted); }
.small{ font-size:.95rem; color:var(--muted); }

/* Foco acessível em links/botões */
:where(a,button,[role="button"],input,textarea,select):focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(43,108,255,.18);
  border-radius: 12px;
}

/* ==========================================================================
   3) Layout helpers
   ========================================================================== */
.container{
  width:min(var(--container), calc(100% - 2rem));
  margin:0 auto;
}

.section{ padding:72px 0; }
.section--tight{ padding:48px 0; }

.page-offset{ padding-top: 68px; }
@media (max-width: 768px){
  .page-offset{ padding-top: 80px; }
}

/* Âncora de contactos (hash) com offset do header */
#contactos{ scroll-margin-top:var(--header-h); }

/* ==========================================================================
   4) Header + navegação (desktop)
   ========================================================================== */
.header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transform: translateY(0);
  transition: transform .18s ease;
  will-change: transform;
}
.header.is-hidden{ transform: translateY(-110%); }

.header__inner{
  max-width: var(--container);
  margin:0 auto;
  padding:14px 1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  color:var(--green-900);
  white-space:nowrap;
}
.brand__logo{
  height:42px;
  width:auto;
  max-height:42px;
  display:block;
}
@media (max-width: 920px){
  .brand__logo{ height:52px; max-height:52px; }
}

/* Nav desktop */
.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav > a,
.nav > .nav-item > button{
  font: inherit;
  background:none;
  border:0;
  cursor:pointer;
  padding:10px 10px;
  border-radius:10px;
  color:var(--text);
  font-weight:650;
}
.nav > a:hover,
.nav > .nav-item > button:hover{
  background: rgba(36,83,63,.06);
  color: var(--green-700);
  text-decoration:none;
}
.nav > a[aria-current="page"]{ color: var(--green-900); }

/* Lado direito do header */
.right{
  display:flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
}

.nav-btn-green{
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background-color: #163326 !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #163326;
  transition: all .2s ease;
}

.nav-btn-green:hover{
  background-color: #1f4a37;
  border-color: #1f4a37;
  text-decoration: none !important;
}

.nav-btn-green:active{
  background-color: #0f241a;
  transform: translateY(1px);
}

.nav-btn-green:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(22,51,38,0.25);
}

@media (max-width: 768px) {
  .nav-btn-green{ display: none !important; }
}

/* ==========================================================================
   5) Idioma (desktop dropdown) + idioma no menu mobile
   ========================================================================== */
.lang{ position:relative; display:inline-flex; }

.lang-btn{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(22,51,38,.18);
  background:transparent;
  color:inherit;
  cursor:pointer;
}
.lang-label{
  font-weight:650;
  font-size:16px;
  line-height:1;
  white-space:nowrap;
}
.lang-btn:hover{
  border-color: rgba(36,83,63,.35);
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
}

.lang-menu{
  position:absolute;
  right:0;
  top: calc(100% + 10px);
  min-width:180px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow: var(--shadow-soft);
  padding:8px;
  display:none;
  z-index:1600;
}
.lang-menu.is-open{ display:block; }

.lang-menu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 10px;
  border-radius:10px;
  color:var(--text);
  font-weight:650;
  text-decoration:none !important;
}
.lang-menu a:hover{
  background: rgba(36,83,63,.06);
  color: var(--green-700);
}
.lang-menu .active{ color: var(--green-900); }

.pill{
  font-size:.85rem;
  color:var(--muted);
  border:1px solid var(--border);
  border-radius:999px;
  padding:2px 8px;
  background:#fff;
}

/* Em mobile, esconder idioma no header */
@media (max-width: 920px){
  .right .lang{ display:none; }
}

/* ==========================================================================
   6) Mega menu (Serviços) — desktop
   ========================================================================== */
.nav-item{ position:relative; display:flex; align-items:center; }
.nav-item > button{ display:inline-flex; align-items:center; gap:8px; }

.chev{
  width:10px; height:10px; display:inline-block;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform: rotate(45deg);
  margin-top:-2px;
  opacity:.75;
}

/* Ícone em linha (usado em botões/links) */
.chev-icon{
  vertical-align:-2px;
  margin-left:6px;
}

.mega{
  position:fixed;
  left:0;
  right:0;
  top: calc(var(--header-h) + var(--mega-gap));
  width:100vw;
  max-width:none;

  background: var(--surface);
  border:1px solid var(--border);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  box-shadow: var(--shadow);
  padding:18px;

  display:none;
  z-index:1500;
}
.nav-item.is-open .mega{ display:block; }

.nav-item.is-open::after{
  content:"";
  position:fixed;
  left:0;
  right:0;
  top: var(--header-h);
  height: var(--mega-gap);
  background: transparent;
  z-index:1499;
}

.mega__grid,
.mega__footer{
  max-width: var(--container);
  margin:0 auto;
}

.mega__grid{
  display:grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap:16px;
  align-items:start;
}

.mega__link{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid transparent;
  color:var(--text);
  text-decoration:none !important;
}
.mega__link strong{ color:var(--green-900); font-size:1rem; line-height:1.2; }
.mega__link span{ color:var(--muted); font-size:.95rem; }
.mega__link:hover{
  background: var(--surface-2);
  border-color: var(--border);
}

.mega__footer{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.mega__footer a{ color: var(--green-700); font-weight:700; }
.mega__footer a:hover{ text-decoration:underline; }

@media (prefers-reduced-motion: no-preference){
  .mega{ animation: fadeInFull .14s ease-out; }
  @keyframes fadeInFull{
    from{ opacity:0; transform: translateY(-4px); }
    to{ opacity:1; transform: translateY(0); }
  }
}

.mega__intro .brand-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
  margin-top:16px;
}
.mega__intro .brand-tile{
  height:88px;
  background:#f3f5f3;
  border:1px solid #e1e5e1;
  border-radius:14px;
  padding:12px;
  overflow:hidden;

  display:flex;
  align-items:center;
  justify-content:center;
}
.mega__intro .brand-tile img{
  max-height:100%;
  max-width:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
}

@media (hover:hover){
  .mega__intro .brand-tile{
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  }
  .mega__intro .brand-tile:hover{
    transform: translateY(-2px);
    border-color:#d6dbd6;
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
  }
}

/* ==========================================================================
   7) Mobile menu
   ========================================================================== */
.menu-btn{
  display:none;
  background:#fff;
  border:1px solid var(--border);
  border-radius:999px;
  width:40px;
  height:40px;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  font-weight:900;
}
.menu-btn:hover{
  border-color: rgba(36,83,63,.35);
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
}

@media (max-width: 920px){
  .nav{ display:none; }
  .menu-btn{ display:inline-flex; }
  .right .menu-btn{ color: var(--green-900); }
}

.mobile-menu{
  position:fixed;
  inset:0;
  z-index:2000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  display:none;
}
.mobile-menu.is-open{ display:block; }

.mobile-menu__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 1rem;
  border-bottom:0;
}

.mobile-close{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  font-weight:900;
}
.mobile-close:hover{
  border-color: rgba(36,83,63,.35);
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
}

.mobile-menu__content{
  padding:14px 1rem 22px;
  height: calc(100vh - var(--header-h));
  overflow:auto;
}

.mobile-link,
.mobile-acc-btn{
  width:100%;
  margin:0;
  border:0;
  background:transparent;
  padding:10px 0;                 /* era 16px */
  font: inherit;
  font-weight:850;
  cursor:pointer;
  color: var(--text);
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-decoration:none !important;
}

.mobile-link + .mobile-link,
.mobile-link + .mobile-acc-btn,
.mobile-acc-btn + .mobile-link{
  border-top: 0;                  /* remove linhas */
}


.mobile-link:hover,
.mobile-acc-btn:hover{
  color: var(--green-700);
  text-decoration:none;
}

.mobile-sub a{
  display:block;
  padding:9px 0 9px 14px;         /* era 12px */
  color: var(--muted);
  font-weight:750;
  text-decoration:none !important;
  border-top: 0;                  /* remove linhas */
}
.mobile-sub.is-open{ display:block; }

.mobile-sub a{
  display:block;
  padding:12px 0 12px 14px;
  color: var(--muted);
  font-weight:750;
  text-decoration:none !important;
  border-top: 1px solid var(--border);
}
.mobile-sub a:hover{ color: var(--green-700); }

.mobile-lang-box{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--border);
}
.mobile-lang-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:850;
  color:var(--green-900);
  margin-bottom:10px;
}
.lang-opt{
  flex:1;
  text-align:center;
  padding:12px 0;
  border-radius:999px;
  border:1px solid var(--border);
  font-weight:800;
  text-decoration:none !important;
  color:var(--muted);
  background:#fff;
  transition: border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease;
}
.lang-opt:hover{
  border-color: rgba(36,83,63,.35);
  color: var(--green-700);
}
.lang-opt.active{
  background: rgba(36,83,63,.08);
  border-color: rgba(36,83,63,.35);
  color: var(--green-900);
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
}

/* ==========================================================================
   8) Hero + painel
   ========================================================================== */
.hero{ padding:38px 0 32px; }

.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:26px;
  align-items:start;
}
@media (max-width: 980px){
  .hero__grid{ grid-template-columns:1fr; }
}

.panel{
  background: rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius: var(--r-xl);
  padding:22px;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 768px){
  .panel{ display:none; }
}

/* ==========================================================================
   9) Botões
   ========================================================================== */
.btn-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:12px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none !important;
  transition: transform .06s ease, filter .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--orange-600);
  color:#fff;
  box-shadow: 0 12px 26px rgba(179,90,46,.20);
}
.btn--primary:hover{ filter: brightness(.98); }

.btn--secondary{
  background: transparent;
  border:1px solid rgba(176,96,52,.25);
  color: var(--green-900);
}
.btn--secondary:hover{
  border-color: rgba(182,90,42,1);
  color: rgba(182,90,42,1);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

/* ==========================================================================
   10) Grid + cards (serviços)
   ========================================================================== */
.grid{ display:grid; gap:14px; }

.grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px){
  .grid--3{ grid-template-columns:1fr; }
}

.card{
  background: rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius: var(--r-xl);
  padding:32px;
  box-shadow: var(--shadow-soft);

  min-height:200px;
  display:flex;
  flex-direction:column;
}
.card h3{ margin:0 0 8px; font-size:1.05rem; }
.card p{ margin:0; color: var(--muted); }

.card .btn{
  margin-top:auto;
  align-self:stretch;
  text-align:center;
}

/* ==========================================================================
   11) Brands strip
   ========================================================================== */
.brands-strip{ padding:22px 0 10px; }

.brands-strip__inner{
  background: rgba(255,255,255,.78);
  border:1px solid var(--border);
  border-radius: var(--r-xl);
  padding:16px;
  box-shadow: var(--shadow-soft);
}

.brands-strip__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

@media (min-width: 640px){
  .brands-strip__grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px){
  .brands-strip__grid{ grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.brand-tile{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border: 1px solid rgba(22, 51, 38, 0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.65);
  min-height: 86px;
}

.brand-tile img{
  display: block;
  max-width: 100%;
  max-height: 44px;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   12) Banner E-commerce
   ========================================================================== */
.ecom-banner{
  width:100%;
  padding:32px 0 28px;
}
.ecom-banner-inner{ width:100%; }
.ecom-banner-content{
  max-width: var(--container);
  margin:0 auto;
  padding:0 1rem;
}

.ecom-banner-label{
  font-size:.85rem;
  letter-spacing:.22em;
  font-weight:800;
  color: rgba(22,51,38,.65);
  margin-bottom:10px;
}

.ecom-banner-title{
  font-size: 36px;
  line-height: 1.12;
  margin: 0 0 14px;
  color: var(--green-900);
  font-weight:900;
  max-width:1100px;
}

.ecom-banner-subtitle{
  max-width:900px;
  font-size:1.1rem;
  line-height:1.6;
  color: var(--muted);
  margin-bottom:24px;
}

.ecom-banner-cta{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  padding-top:20px;
}

.card-banner{ margin-right:200px; }

@media (max-width: 980px){
  .ecom-banner{ padding:26px 0 22px; }
  .ecom-banner-title{ font-size:2.2rem; }
}
@media (max-width: 768px){
  .card-banner{ margin-right:0; width:100%; }
}
@media (max-width: 640px){
  .ecom-banner{ padding:22px 0 18px; }
  .ecom-banner-cta{ flex-direction:column; }
}

/* ==========================================================================
   13) Contactos / formulário
   ========================================================================== */
.contact-wrap{
  background: rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  padding:34px;
  overflow:hidden;
}

.form-card{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--r-xl);
  padding:22px;
  box-shadow: var(--shadow-soft);
  overflow:hidden;
}

.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media (max-width: 640px){
  .form-grid{ grid-template-columns:1fr; }
}

.field{ display:grid; gap:8px; }
label{ font-size:.95rem; font-weight:800; color: var(--green-900); }

/* Inputs */
input, textarea{
  width:100%;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color: var(--text);
  font: inherit;
  outline:none;

  /* NOVO: transições e consistência */
  transition: border-color .15s ease, box-shadow .15s ease;
}

textarea{
  min-height:150px;
  resize:vertical;
  grid-column: 1 / -1;
}

/* NOVO: foco azul */
input:focus, textarea:focus{
  border-color: var(--focus-blue);
  box-shadow: 0 0 0 3px rgba(43,108,255,.18);
}

/* Estado inválido (vermelho) — usado pelo JS */
.is-invalid{
  border-color: var(--error-red) !important;
  box-shadow: 0 0 0 3px rgba(215,58,73,.14) !important;
}

/* NOVO: estado válido (verde) — usado pelo JS */
.is-valid{
  border-color: var(--success-green) !important;
  box-shadow: 0 0 0 3px rgba(31,138,76,.14) !important;
}

/* Checkbox consent */
.consent{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:14px 0 12px;
  color: var(--muted);
  font-size:.98rem;
}
.consent input{
  width:22px;
  height:22px;
  margin-top:2px;
  border-radius:6px;
  accent-color: var(--green-700);
}
.consent a{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  color: var(--green-700);
}

/* Alert */
.form-alert{
  display:none;
  margin:10px 0 12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(215,58,73,.35);
  background: rgba(215,58,73,.06);
  color: var(--text);
  font-weight:650;
  font-size:.95rem;
}
.form-alert.is-visible{ display:block; }

/* Submit */
.submit{
  width:100%;
  border:0;
  padding:16px 18px;
  border-radius:999px;
  font-weight:900;
  font-size:1.05rem;
  cursor:pointer;
  background: var(--orange-600);
  color:#fff;
  box-shadow: 0 14px 28px rgba(179,90,46,.22);
  transition: transform .06s ease, filter .15s ease;
}
.submit:active{ transform: translateY(1px); }
.submit:hover{ filter: brightness(.98); }

/* reCAPTCHA */
.g-recaptcha{ max-width:100%; overflow:hidden; }
@media (max-width: 380px){
  .g-recaptcha{ transform: scale(.92); transform-origin: 0 0; }
}

/* Embed Cal: garantir layout e evitar “overlays” estranhos */
.cal-embed{
  width:100%;
  min-height: 720px; /* ajusta se quiseres */
  border-radius: var(--r-xl);
  overflow:hidden;
  border:1px solid var(--border);
  background:#fff;
}

/* Mobile spacing */
@media (max-width: 640px){
  .container{ width: calc(100% - 1.25rem); }
  .contact-wrap{ padding:18px; border-radius:18px; }
  .form-card{ padding:16px; border-radius:18px; }
}

/* ==========================================================================
   14) Footer
   ========================================================================== */
.footer{
  border-top:1px solid var(--border);
  padding:34px 0 0;
  background: rgba(255,255,255,.9);
}

.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:18px;
  align-items:start;
  padding-bottom:18px;
}
@media (max-width: 980px){
  .footer__grid{ grid-template-columns:1fr; }
}

.footer a{ color: var(--muted); }
.footer a:hover{ color: var(--green-700); text-decoration:none; }

.social{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.social a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color: var(--text);
  text-decoration:none !important;
  font-weight:800;
  transition: box-shadow .2s ease, border-color .2s ease, transform .06s ease;
}
.social a:hover{
  border-color: rgba(36,83,63,.35);
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
}
.social a:active{ transform: translateY(1px); }

.social-icon{ width:18px; height:18px; display:inline-block; color: var(--green-700); }

.footer-bottom{
  border-top: 1px solid #eef1ee;
  padding: 12px 0;
  font-size: 12px;
  color: #6b756f;
}
.footer-bottom-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-copy{ font-size: 12px; color: #6b756f; }
.footer-legal{
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-legal a{ color: #6b756f; text-decoration: none; }
.footer-legal a:hover{ text-decoration: underline; }
.footer-legal .sep{ opacity: 0.4; }

@media (max-width: 768px) {
  .footer-bottom-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
}

/* Footer logo (e esconder em mobile) */
.footer-logo img{
  height:70px;
  width:auto;
  display:block;
}
@media (max-width: 768px){
  .footer-logo{ display:none; }
}

.related-teaser{
  padding: 48px 0 36px;
}

.related-teaser-box{
  background: linear-gradient(135deg, rgba(36,83,63,.06), rgba(36,83,63,.02));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.related-teaser-text{
  max-width: 420px;
}

.related-teaser-text h3{
  margin: 0 0 8px;
  color: var(--green-900);
}

.related-teaser-links{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 18px;
}

.related-teaser-links a{
  font-weight: 650;
  color: var(--green-700);
  text-decoration: none;
  position: relative;
}

.related-teaser-links a::before{
  content:"›";
  margin-right: 8px;
  color: var(--orange-600);
}

.related-teaser-links a:hover{
  text-decoration: underline;
}

.related-teaser-actions{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* ==========================================================================
   15) Scroll reveal
   ========================================================================== */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .65s ease, transform .65s ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
  .mega{ animation:none !important; }
}

/* ==========================================================================
   16) Values section (se estiver em uso)
   ========================================================================== */
.values-section{ background:#f9fafb; }
.values-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:2rem;
}
.value-card{
  background:#fff;
  border-radius:16px;
  padding:2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0,0,0,.08);
}
.value-icon{
  width:48px;
  height:48px;
  margin-bottom:1rem;
  color:#1f2933;
}
.value-icon svg{ width:100%; height:100%; fill:currentColor; }
.value-card h3{
  margin:0 0 .75rem;
  font-size:1.1rem;
  font-weight:600;
  letter-spacing:.04em;
}
.value-card p{
  margin:0;
  font-size:.95rem;
  line-height:1.6;
  color:#4b5563;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb{
  border-bottom: 1px solid rgba(22,51,38,.12);
  background: transparent;
}
.breadcrumb__list{
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 14px 0;
}
.breadcrumb__item{
  font-size: 14px;
  color: rgba(22,51,38,.65);
}
.breadcrumb__item + .breadcrumb__item::before{
  content: "/";
  margin: 0 10px;
  color: rgba(22,51,38,.35);
}
.breadcrumb__item a{
  color: inherit;
  text-decoration: none;
}
.breadcrumb__item a:hover{ text-decoration: underline; }
.breadcrumb__item span{
  color: rgba(22,51,38,.9);
  font-weight: 600;
}
/* ==========================
   E-commerce section
========================== */

.ecommerce-section{
  background: rgba(36,83,63,.03);
}

.ecommerce-grid{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap:28px;
  margin-top:28px;
}

.ecommerce-block{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--r-xl);
  padding:32px;
  box-shadow: var(--shadow-soft);
}

.ecommerce-list{
  margin:14px 0 0;
  padding-left:18px;
  columns:2;
  column-gap:32px;
  color: var(--muted);
}

.ecommerce-list li{
  margin-bottom:8px;
  break-inside: avoid;
}

/* Teaser */
.ecommerce-teaser{
  background: linear-gradient(135deg, #163326 0%, #24533f 100%);
  border-radius: var(--r-xl);
  padding:32px;
  color:#fff;
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
}

.ecommerce-price .label{
  font-size:.8rem;
  letter-spacing:.18em;
  opacity:.8;
  font-weight:800;
}

.ecommerce-price h3{
  color:#fff;
  margin:10px 0 6px;
}

.ecommerce-price .price{
  font-size:1.6rem;
  font-weight:900;
  margin:6px 0 12px;
}

.ecommerce-price .small{
  color:rgba(255,255,255,.8);
}

.ecommerce-price .btn--primary{
  background:#fff;
  color:#163326;
  box-shadow:none;
}

.ecommerce-price .btn--secondary{
  border-color:rgba(255,255,255,.5);
  color:#fff;
}

/* Responsive */
@media (max-width: 980px){
  .ecommerce-grid{
    grid-template-columns:1fr;
  }

  .ecommerce-list{
    columns:1;
  }
}
/* ==========================================================================
   Tabs (Contactos | Agendar reunião)
   ========================================================================== */
.ft-tabs{
  width:100%;
  border-bottom:1px solid #cfd6d2;
  display:flex;
  gap:28px;
  align-items:flex-end;
  padding:0;
  margin:0 0 18px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.ft-tabs__btn{
  appearance:none;
  background:transparent;
  border:0;
  padding:14px 22px;
  margin:0;
  font:inherit;
  font-weight:700;
  color:#7b857f;
  cursor:pointer;
  white-space:nowrap;
  position:relative;
  border:1px solid transparent;
  border-bottom:0;
  border-radius:6px 6px 0 0;
}
.ft-tabs__btn:hover{ color:#2a3b34; }
.ft-tabs__btn[aria-selected="true"]{
  color:#1e2f27;
  background:#fff;
  border-color:#cfd6d2;
  border-bottom:1px solid #fff;
  top:1px;
}
.ft-panel{ display:none; }
.ft-panel.is-active{ display:block; }

@media (max-width:640px){
  .ft-tabs{ gap:10px; }
  .ft-tabs__btn{ padding:12px 14px; }
}