/* ==========================================================================
   Agostinho Albino — Camada de Modernização (2026)
   Carregada DEPOIS de style.css. Mantém logótipo, cores de marca e conteúdo;
   actualiza escala tipográfica, navegação, fotografia e formas dos cartões.
   ========================================================================== */

:root {
  /* Marca (inalterada) */
  --wine: #781c36;
  --wine-dark: #581227;
  --navy: #0b1e36;

  /* Neutros mais suaves e quentes */
  --ink: #131820;
  --muted: #5d6675;
  --line: #e9ebf0;
  --paper: #f6f7f9;
  --wine-light: #fdf2f5;
  --wine-border: #ecc9d3;

  /* Formas */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Sombras em camadas, muito suaves */
  --shadow-sm: 0 1px 2px rgba(19, 24, 32, .04), 0 2px 8px rgba(19, 24, 32, .03);
  --shadow-md: 0 2px 6px rgba(19, 24, 32, .04), 0 12px 30px -8px rgba(19, 24, 32, .10);
  --shadow-lg: 0 4px 12px rgba(19, 24, 32, .05), 0 28px 60px -16px rgba(19, 24, 32, .18);
  --shadow-photo: 0 30px 70px -24px rgba(11, 30, 54, .45);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* --------------------------------------------------------------------------
   1. Base e escala tipográfica — maior, mais respirada
   -------------------------------------------------------------------------- */

/* O menu lateral fechado (fixed, translateX(100%)) alargava o documento em
   mobile e criava scroll horizontal. `clip` corta sem criar contexto de
   scroll, preservando o position:sticky do cabeçalho. */
html { overflow-x: clip; }

body {
  overflow-x: clip;
  font-size: 17px;
  line-height: 1.7;
  background: #fff;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.06; font-weight: 800; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.28; font-weight: 700; }

p { text-wrap: pretty; }

.wrap {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}
@media (min-width: 1540px) {
  .wrap { width: min(1560px, calc(100% - 64px)); }
}

.section { padding: clamp(72px, 8vw, 120px) 0; }

/* Sobrescreve o dimensionamento inline herdado das páginas antigas */
.section-heading h2,
.pillars-section h2,
.why-section h2,
.gallery-section h2,
.tools-showcase-section h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  color: var(--navy);
  letter-spacing: -0.035em;
}

.section-heading[style*="center"] {
  display: block;
  max-width: 960px !important;
}
.section-heading[style*="center"] .eyebrow { margin-left: auto; margin-right: auto; }

.section-heading {
  align-items: flex-end;
  gap: clamp(32px, 5vw, 72px);
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-heading > p { max-width: 520px; font-size: 16.5px; line-height: 1.65; }

/* Eyebrow: etiqueta em pílula, mais discreta */
.eyebrow,
.section-heading .eyebrow,
.partners-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wine);
  background: var(--wine-light);
  border: 1px solid var(--wine-border);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-bottom: 20px;
  flex: 0 0 auto;
  white-space: nowrap;
  max-width: 100%;
}

.eyebrow.light {
  color: #f1b5c4;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
}

.partners-title { margin: 0 auto 34px; display: table; }

/* --------------------------------------------------------------------------
   2. Botões — pílula, com micro-movimento na seta
   -------------------------------------------------------------------------- */

.button {
  gap: 10px;
  padding: 15px 28px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--r-pill);
  box-shadow: 0 1px 2px rgba(120, 28, 54, .16), 0 8px 20px -8px rgba(120, 28, 54, .5);
  transition: background .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(120, 28, 54, .18), 0 14px 30px -10px rgba(120, 28, 54, .6);
}

.button span:last-child {
  font-size: 16px;
  transition: transform .25s var(--ease);
}

.button:hover span:last-child { transform: translate(3px, -3px); }

.button.secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.button.secondary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.button.small { font-size: 14px; padding: 11px 20px; gap: 8px; }

.btn-wa-corp { box-shadow: 0 1px 2px rgba(18, 140, 126, .2), 0 10px 24px -10px rgba(37, 211, 102, .7); }

.text-link {
  font-weight: 600;
  color: var(--wine);
  border-bottom: 0;
  gap: 8px;
}

.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translate(3px, -3px); }

/* --------------------------------------------------------------------------
   3. Navegação mais leve
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--paper);
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .12em;
}

.topbar .wrap { padding: 9px 0; }
.topbar-left { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.topbar-phone { color: var(--muted); font-size: 12.5px; }
.topbar-phone span:last-child { color: var(--navy); font-weight: 700; }

.lang-btn {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  letter-spacing: .06em;
}

.lang-btn:hover { background: var(--wine); border-color: var(--wine); color: #fff; }

header {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(233, 235, 240, .9);
}

.nav { height: 84px; gap: 32px; }

.brand { letter-spacing: .22em; font-size: 12px; gap: 14px; }
.brand b { font-size: 22px; letter-spacing: .3em; }
.brand small { font-size: 8.5px; letter-spacing: .18em; margin-top: 4px; }
.brand img { width: 52px; height: 52px; }

@media (min-width: 901px) {
  .nav nav { gap: 4px; align-items: center; }

  .nav nav a,
  .nav-dropdown-btn {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    padding: 9px 15px;
    border-radius: var(--r-pill);
    transition: color .2s var(--ease), background .2s var(--ease);
  }

  .nav nav a:hover,
  .nav-dropdown-btn:hover,
  .nav-dropdown:hover .nav-dropdown-btn {
    color: var(--navy);
    background: var(--paper);
  }

  .nav nav a.active {
    color: var(--navy);
    font-weight: 600;
    background: var(--paper);
    border-bottom: 0;
  }

  .nav-dropdown-menu {
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    overflow: hidden;
  }

  .nav-dropdown-item { border-radius: var(--r-xs); padding: 12px 14px; }
  .nav-dropdown-item:hover { background: var(--wine-light); }
}

.nav-dropdown-item .dropdown-title { font-size: 14.5px; font-weight: 700; }
.nav-dropdown-item .dropdown-desc { font-size: 12.5px; }

/* --------------------------------------------------------------------------
   4. Hero — fotografia em destaque
   -------------------------------------------------------------------------- */

.hero-corporate {
  background:
    radial-gradient(90rem 50rem at 88% -10%, rgba(120, 28, 54, .38) 0%, transparent 58%),
    radial-gradient(70rem 45rem at 0% 110%, rgba(22, 47, 82, .85) 0%, transparent 60%),
    linear-gradient(160deg, #0d223d 0%, #050f1c 100%);
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}

.hero-corporate::before { display: none; }

.hero-corp-grid {
  grid-template-columns: 1.14fr .96fr;
  gap: clamp(40px, 5.5vw, 84px);
  align-items: center;
}

.hero-corp-badge {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-size: 10.5px;
  letter-spacing: .16em;
  margin-bottom: 26px;
}

.hero-corporate h1 {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-corporate h1 span.accent {
  color: transparent;
  background: linear-gradient(100deg, #f7c6d3 0%, #e79ab0 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-corp-desc {
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.62;
  color: #b9c6d6;
  max-width: 640px;
  margin-bottom: 38px;
}

.hero-corp-actions { gap: 14px; margin-bottom: 44px; }

.hero-trust-strip {
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 28px;
}

.hero-trust-item {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  font-size: 13px;
  color: #a9b7c9;
}

/* Fotografia: maior, cantos generosos, sombra profunda */
.hero-corp-media {
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-photo);
}

.hero-corp-media img {
  height: clamp(420px, 44vw, 600px);
  filter: saturate(1.06) contrast(1.03);
}

.hero-corp-card {
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(8, 21, 38, .72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .13);
  padding: 18px 20px;
}

.hero-corp-card strong { font-size: 15.5px; letter-spacing: -0.02em; }
.hero-corp-card p { font-size: 12.5px; color: #b9c6d6; }

/* --------------------------------------------------------------------------
   5. Cabeçalhos de página — deixa a fotografia respirar
   -------------------------------------------------------------------------- */

.page-header { padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); }

.page-header.with-ship {
  background-image:
    linear-gradient(175deg, rgba(7, 18, 32, .58) 0%, rgba(7, 18, 32, .82) 70%, rgba(7, 18, 32, .92) 100%),
    url("/assets/cargo-ship.jpg");
}

.page-header.with-port {
  background-image:
    linear-gradient(175deg, rgba(7, 18, 32, .55) 0%, rgba(7, 18, 32, .8) 70%, rgba(7, 18, 32, .92) 100%),
    url("/assets/port-night.jpg");
}

.page-header h1 { font-size: clamp(36px, 4.6vw, 58px); letter-spacing: -0.04em; }
.page-header p { font-size: 17.5px; color: #c4d0de; }

.breadcrumbs { font-size: 11px; letter-spacing: .14em; color: #e0aebc; }

/* --------------------------------------------------------------------------
   6. Cartões — formas mais actuais
   -------------------------------------------------------------------------- */

.pillars-section { padding: clamp(64px, 8vw, 104px) 0; }
.pillars-grid, .why-grid, .tools-showcase-grid, .services-grid { gap: clamp(18px, 1.6vw, 26px); }

.pillar-card,
.why-card,
.service-card,
.tool-box-card {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.pillar-card:hover,
.why-card:hover,
.service-card:hover,
.tool-box-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--wine-border);
}

.pillar-card { padding: clamp(28px, 2.6vw, 38px) clamp(24px, 2.2vw, 32px); }
.pillar-card h3 { font-size: 21px; letter-spacing: -0.025em; margin-bottom: 12px; }
.pillar-card p, .why-card p { font-size: 15.5px; line-height: 1.65; color: var(--muted); }

.pillar-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--wine-light) 0%, #f9e4ea 100%);
  border: 1px solid var(--wine-border);
  font-size: 27px;
  margin-bottom: 26px;
}

.why-card { background: #fff; padding: 30px 26px; }
.why-card h3 { font-size: 19px; letter-spacing: -0.025em; }

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 26px;
  margin-bottom: 20px;
}

/* Grelha de serviços: sem moldura exterior, cartões soltos */
.services-grid { border: 0 !important; }

.service-card {
  padding: clamp(28px, 2.4vw, 36px) clamp(24px, 2.2vw, 32px);
  border-radius: var(--r-md) !important;
}

.service-top { margin-bottom: 26px; }

.line-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--wine-light);
  border: 1px solid var(--wine-border);
  font-size: 24px;
}

.service-number {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #b9bfc9;
}

.service-card h3 { font-size: 20.5px; letter-spacing: -0.03em; }
.service-card p { font-size: 15.5px; line-height: 1.65; margin: 14px 0 26px; }

.service-link {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 13.5px;
  font-weight: 700;
}

.service-link b { transition: transform .25s var(--ease); }
.service-card:hover .service-link b { transform: translate(3px, -3px); }

/* Ferramentas digitais */
.tool-box-card { padding: clamp(28px, 2.6vw, 38px) clamp(24px, 2.2vw, 32px); }
.tool-box-card h3 { font-size: 21px; letter-spacing: -0.03em; }
.tool-box-card p { font-size: 15.5px; line-height: 1.65; }

.tool-box-badge {
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 10.5px;
  letter-spacing: .14em;
}

.tool-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(145deg, #f2f5f9 0%, #e8edf4 100%);
  border: 1px solid var(--line);
  font-size: 28px;
}

/* --------------------------------------------------------------------------
   7. Sobre + Galeria — fotografia com mais presença
   -------------------------------------------------------------------------- */

.about-corp-section { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper); }
.about-corp-grid { gap: clamp(40px, 5vw, 80px); }

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

.about-corp-image-box img {
  height: clamp(400px, 42vw, 560px);
  object-fit: cover;
  filter: saturate(1.06);
}

.about-corp-stamp {
  border-radius: var(--r-md);
  background: rgba(8, 21, 38, .74);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(255, 255, 255, .14);
}

.about-corp-content h2 { font-size: clamp(30px, 3.4vw, 44px); }
.about-corp-content p { font-size: 16.5px; line-height: 1.75; }
.about-points-list li { font-size: 15.5px; }

.about-points-list li .check-circle {
  border-radius: var(--r-pill);
  background: var(--wine-light);
  color: var(--wine);
  border: 1px solid var(--wine-border);
}

/* Galeria editorial assimétrica */
.gallery-section { padding: clamp(64px, 8vw, 104px) 0; }

.gallery-grid {
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(230px, 22vw, 320px);
  gap: clamp(14px, 1.4vw, 22px);
  margin-top: clamp(30px, 4vw, 48px);
}

.gallery-item {
  border-radius: var(--r-md);
  height: 100%;
  grid-column: span 3;
  box-shadow: var(--shadow-md);
}

.gallery-item:first-child { grid-column: span 6; grid-row: span 1; }

.gallery-item img { filter: saturate(1.06); transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  background: linear-gradient(0deg, rgba(6, 16, 30, .92) 0%, rgba(6, 16, 30, .35) 45%, transparent 78%);
  padding: 26px;
}

.gallery-caption h4 { font-size: 19px; letter-spacing: -0.025em; margin-bottom: 6px; }
.gallery-caption p { font-size: 13.5px; max-width: 460px; }

/* --------------------------------------------------------------------------
   8. Parceiros e CTA
   -------------------------------------------------------------------------- */

.partners-section { padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); text-align: center; }
.partners-strip { gap: 12px; }

.partner-badge {
  border-radius: var(--r-pill);
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 600;
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.partner-badge:hover { border-color: var(--wine-border); background: var(--wine-light); }
.partner-badge .p-icon { font-size: 19px; }

.cta-banner-section {
  background: #fff;
  padding: clamp(56px, 7vw, 96px) 0;
}

.cta-banner-section .wrap.cta-banner-content {
  max-width: none;
  width: min(1320px, calc(100% - 56px));
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 84px) clamp(28px, 5vw, 72px);
  background:
    linear-gradient(105deg, rgba(8, 21, 38, .94) 0%, rgba(8, 21, 38, .78) 55%, rgba(120, 28, 54, .72) 100%),
    url("/assets/port-night.jpg") center/cover;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cta-banner-content h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.035em;
  max-width: 820px;
  margin: 0 auto 18px;
}

.cta-banner-content p {
  font-size: 17.5px;
  color: #c4d0de;
  max-width: 700px;
  margin: 0 auto 36px;
}

/* --------------------------------------------------------------------------
   9. Rodapé
   -------------------------------------------------------------------------- */

.footer-corporate { background: #081525; }
.footer-corp-grid { gap: clamp(32px, 4vw, 64px); padding-top: clamp(56px, 6vw, 84px); }
.footer-brand-col p.footer-bio { font-size: 14.5px; line-height: 1.7; }

.footer-cedula-box {
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
}

.footer-col h4 { font-size: 13px; letter-spacing: .12em; }
.footer-links-list a { font-size: 14.5px; }
.footer-contact-item { font-size: 14.5px; }

.footer-bottom-bar { font-size: 13px; padding: 26px 0; }

/* --------------------------------------------------------------------------
   10. Formulários e componentes interactivos
   -------------------------------------------------------------------------- */

.calc-input,
.input-group input,
.quote-form input,
.quote-form select,
.quote-form textarea {
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  font-size: 15.5px;
  padding: 14px 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.calc-input:focus,
.input-group input:focus,
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 4px rgba(120, 28, 54, .1);
  outline: none;
}

.simulator-card,
.tracking-result-card,
.checklist-container,
.quote-form,
.guide-advice {
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.demo-chip, .check-tab, .track-badge, .guide-tag, .check-tag { border-radius: var(--r-pill); }
.check-item { border-radius: var(--r-sm); }
.result-box { border-radius: var(--r-sm); }
.media-banner { border-radius: var(--r-lg); overflow: hidden; }
.faq summary { font-size: 17px; }

/* --------------------------------------------------------------------------
   11. Responsivo & Experiência Móvel Estilo App Nativo
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .wrap { width: min(1000px, calc(100% - 40px)); }
  .hero-corp-grid { grid-template-columns: 1fr; }
  .hero-corp-media img { height: clamp(340px, 52vw, 440px); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-banner-section .wrap.cta-banner-content { width: calc(100% - 40px); }
}

/* Ocultar o Launcher de Ações Rápidas Mobile em ecrãs largos */
@media (min-width: 821px) {
  .mobile-app-hub {
    display: none !important;
  }
}

/* Experiência de Aplicação Móvel (< 820px) */
@media (max-width: 820px) {
  html {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  body {
    font-size: 15.5px;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    background: #f8f9fb;
  }

  /* Ocupar a largura natural do telemóvel com margem de app (16px) */
  .wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 16px !important;
    box-sizing: border-box !important;
  }

  /* Esconder a barra de topo corporativa no telemóvel */
  .topbar {
    display: none !important;
  }

  /* Barra de Aplicação Superior (Sticky App Bar) */
  header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(19, 24, 32, 0.08) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    z-index: 1000 !important;
  }

  .nav {
    height: 60px !important;
    padding-inline: 16px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .brand {
    gap: 10px !important;
    min-width: 0 !important;
  }

  .brand img {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    flex-shrink: 0 !important;
  }

  .brand span {
    font-size: 10.5px !important;
    line-height: 1.15 !important;
  }

  .brand b {
    font-size: 17px !important;
    letter-spacing: .12em !important;
  }

  .brand small {
    font-size: 8.5px !important;
    letter-spacing: .08em !important;
    color: #16a34a !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .brand small::before {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    background: #16a34a !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, .25) !important;
    animation: live-pulse 2s infinite !important;
  }

  @keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
  }

  .menu-toggle {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: #f1f3f7 !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    color: var(--navy) !important;
    transition: transform .15s, background .15s !important;
  }

  .menu-toggle:active {
    transform: scale(0.92) !important;
    background: #e2e6ed !important;
  }

  /* Hero no Telemóvel */
  .hero-corporate {
    padding: 22px 0 26px !important;
    background: linear-gradient(175deg, #0b1e36 0%, #06111f 100%) !important;
  }

  .hero-corp-badge {
    font-size: 9.5px !important;
    padding: 6px 12px !important;
    margin-bottom: 14px !important;
    letter-spacing: .08em !important;
    display: inline-flex !important;
    white-space: normal !important;
  }

  .hero-corporate h1 {
    font-size: clamp(27px, 7.6vw, 35px) !important;
    line-height: 1.12 !important;
    margin-bottom: 14px !important;
    letter-spacing: -0.03em !important;
  }

  .hero-corp-desc {
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
  }

  .hero-corp-actions {
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 22px !important;
  }

  .hero-corp-actions .button {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 18px !important;
    font-size: 14.5px !important;
    border-radius: 14px !important;
    min-height: 48px !important;
  }

  .hero-trust-strip {
    flex-direction: column !important;
    gap: 8px !important;
    padding-top: 18px !important;
  }

  .hero-trust-item {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 9px 14px !important;
    font-size: 12.5px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .hero-corp-media {
    border-radius: 16px !important;
    margin-top: 14px !important;
  }

  .hero-corp-media img {
    height: 240px !important;
    object-fit: cover !important;
  }

  .hero-corp-card {
    padding: 14px 16px !important;
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
  }

  /* Hub de Ações Rápidas Mobile (Estilo Dashboard de App) */
  .mobile-app-hub {
    padding: 20px 0 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
  }

  .app-hub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 2px;
  }

  .app-hub-badge {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--wine);
    background: var(--wine-light);
    padding: 3px 8px;
    border-radius: var(--r-pill);
    border: 1px solid var(--wine-border);
    display: inline-block;
    margin-bottom: 3px;
  }

  .app-hub-title h3 {
    font-size: 17px;
    margin: 0;
    color: var(--navy);
    letter-spacing: -0.02em;
    font-weight: 800;
  }

  .app-hub-status {
    font-size: 10.5px;
    font-weight: 700;
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    border: 1px solid #bbf7d0;
  }

  .status-pulse-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, .25);
    animation: live-pulse 2s infinite;
  }

  .app-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .app-hub-card {
    display: flex;
    flex-direction: column;
    padding: 14px;
    background: #f8fafd;
    border: 1px solid #e7ebf2;
    border-radius: 16px;
    text-decoration: none;
    color: var(--ink);
    position: relative;
    transition: transform .12s, background .12s, border-color .12s;
    -webkit-tap-highlight-color: transparent;
  }

  .app-hub-card:active {
    transform: scale(0.96);
    background: #edf2f9;
    border-color: var(--wine-border);
  }

  .app-hub-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 10px;
  }

  .app-hub-icon-box.calc-icon { background: #fee2e2; color: #991b1b; }
  .app-hub-icon-box.track-icon { background: #e0f2fe; color: #0369a1; }
  .app-hub-icon-box.check-icon { background: #fef3c7; color: #b45309; }
  .app-hub-icon-box.quote-icon { background: #dcfce7; color: #15803d; }

  .app-hub-card-info strong {
    font-size: 13.5px;
    color: var(--navy);
    display: block;
    line-height: 1.2;
    margin-bottom: 3px;
    font-weight: 700;
  }

  .app-hub-card-info span {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.25;
    display: block;
  }

  .app-hub-arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 17px;
    color: #94a3b8;
    line-height: 1;
  }

  /* Secções e Cartões com Formato de App */
  .section {
    padding: 34px 0 !important;
  }

  .section-heading {
    margin-bottom: 20px !important;
    gap: 10px !important;
    text-align: left !important;
  }

  .section-heading[style*="center"] {
    text-align: left !important;
  }

  .section-heading[style*="center"] .eyebrow {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .section-heading h2 {
    font-size: clamp(23px, 6.4vw, 29px) !important;
    letter-spacing: -0.03em !important;
  }

  .section-heading > p {
    font-size: 14.5px !important;
  }

  .pillars-grid,
  .tools-showcase-grid,
  .services-grid,
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .pillar-card,
  .service-card,
  .tool-box-card,
  .why-card {
    border-radius: 18px !important;
    padding: 18px 16px !important;
    border: 1px solid #edf0f5 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    transition: transform .12s !important;
  }

  .pillar-card:active,
  .service-card:active,
  .tool-box-card:active,
  .why-card:active {
    transform: scale(0.98) !important;
  }

  .service-card p {
    min-height: auto !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  /* Inputs com toque nativo e prevenção de zoom no iOS */
  .calc-input,
  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    font-size: 16px !important;
    padding: 13px 14px !important;
    border-radius: 12px !important;
  }

  /* Barra de Pesquisa de Rastreio adaptada ao telemóvel */
  .tracking-search-bar {
    padding: 20px 16px !important;
    margin-bottom: 24px !important;
  }

  .input-group {
    flex-direction: column !important;
    border: 0 !important;
    box-shadow: none !important;
    gap: 10px !important;
  }

  .input-group input {
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  .input-group .button {
    width: 100% !important;
    justify-content: center !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
  }

  .demo-chip {
    padding: 8px 12px !important;
    font-size: 12px !important;
    cursor: pointer !important;
  }

  .demo-chip:active {
    transform: scale(0.95) !important;
  }

  .track-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    padding-bottom: 16px !important;
  }

  .track-details-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .track-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .track-actions .button {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Abas do Checklist com scroll horizontal por deslize (Swipeable) */
  .checklist-tabs {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
    margin-bottom: 18px !important;
  }

  .checklist-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .check-tab {
    flex-shrink: 0 !important;
    padding: 9px 15px !important;
    font-size: 12.5px !important;
  }

  .check-item {
    border-radius: 14px !important;
    padding: 16px 14px !important;
  }

  .check-item:active {
    transform: scale(0.98) !important;
  }

  .simulator-card,
  .tracking-result-card,
  .checklist-container,
  .quote-form {
    border-radius: 18px !important;
    padding: 18px 14px !important;
  }

  .simulator-card {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  .simulator-form,
  .simulator-results {
    padding: 20px 14px !important;
  }

  /* Seletor de Idioma dentro do Menu Gaveta Mobile */
  .drawer-lang-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f1f3f7;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 6px 0 10px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
  }

  .drawer-lang-bar .lang-btn {
    background: #fff;
    border: 1px solid var(--line);
    padding: 5px 12px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: var(--navy);
  }

  .drawer-lang-bar .lang-btn .active-lang {
    color: var(--wine);
    font-weight: 800;
  }

  /* Barra de Navegação Inferior Nativa (App Dock) */
  .mobile-bottom-bar {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(19, 24, 32, 0.08) !important;
    box-shadow: 0 -2px 16px rgba(11, 30, 54, 0.08) !important;
    z-index: 9999 !important;
  }

  .mob-bar-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: #64748b !important;
    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    transition: color .15s, transform .12s !important;
    padding: 6px 2px !important;
    -webkit-tap-highlight-color: transparent !important;
    position: relative !important;
  }

  .mob-bar-item:active {
    transform: scale(0.88) !important;
  }

  .mob-bar-item .mob-bar-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 22px !important;
  }

  .mob-bar-item.active {
    color: var(--wine) !important;
    font-weight: 800 !important;
  }

  .mob-bar-item.active::before {
    content: "" !important;
    position: absolute !important;
    top: 2px !important;
    width: 16px !important;
    height: 3px !important;
    background: var(--wine) !important;
    border-radius: var(--r-pill) !important;
  }

  .mob-bar-item.wa-tab {
    color: #15803d !important;
  }

  /* Ocultar widget WhatsApp flutuante em telemóvel para não competir com a doca */
  .wa-floating-container {
    display: none !important;
  }

  /* Banner CTA e Galeria */
  .cta-banner-section {
    padding: 28px 0 !important;
  }

  .cta-banner-section .wrap.cta-banner-content {
    width: 100% !important;
    border-radius: 18px !important;
    padding: 30px 18px !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 210px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button, .button span:last-child, .gallery-item img, .text-link span,
  .pillar-card, .why-card, .service-card, .tool-box-card { transition: none !important; }
  .button:hover, .pillar-card:hover, .why-card:hover,
  .service-card:hover, .tool-box-card:hover { transform: none; }
}
