/* =========================================================
   OMH — Organizações MH, Lda | Website institucional
   ========================================================= */

:root{
  --navy: #102649;
  --navy-dark: #0a182d;
  --navy-soft: #17376a;
  --gold: #d89731;
  --gold-dark: #bc832b;
  --white: #ffffff;
  --gray-50: #f5f6fa;
  --gray-100: #eceef5;
  --gray-200: #dfe2ee;
  --gray-500: #6c7290;
  --gray-600: #4d536c;
  --text: #1a1a1a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10,24,45,.10);
  --shadow-lg: 0 20px 50px rgba(10,24,45,.18);
  --maxw: 1280px;
  --ff-head: 'Poppins', 'Arial Black', sans-serif;
  --ff-body: 'Inter', 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0;
  font-family:var(--ff-body);
  color:var(--text);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--ff-head); margin:0 0 .5em; line-height:1.15; color:var(--navy); }
p{ margin:0 0 1em; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
section{ position:relative; }

/* language visibility --------------------------------------------------- */
/* [data-lang][data-lang] doubles the attribute selector's specificity so this
   hiding rule always outranks a single component class (e.g. .kicker,
   .topbar-info span) applied directly to the same element; without it, a
   same-or-later class rule with equal specificity can win the cascade and
   leave the inactive language visible. */
[data-lang][data-lang]{ display:none; }
body.lang-pt [data-lang="pt"]{ display:revert; }
body.lang-en [data-lang="en"]{ display:revert; }
li[data-lang][data-lang]{ display:none; }
body.lang-pt li[data-lang="pt"]{ display:revert; }
body.lang-en li[data-lang="en"]{ display:revert; }

/* buttons ----------------------------------------------------------------*/
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--ff-head); font-weight:700; font-size:14.5px;
  letter-spacing:.02em; text-transform:uppercase;
  padding:14px 28px; border-radius:50px; border:2px solid transparent;
  cursor:pointer; transition:.2s ease; white-space:nowrap;
}
.btn-primary{ background:var(--gold); color:var(--navy-dark); }
.btn-primary:hover{ background:var(--gold-dark); transform:translateY(-2px); }
.btn-outline{ background:transparent; border-color:#fff; color:#fff; }
.btn-outline:hover{ background:#fff; color:var(--navy); }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:var(--navy-dark); transform:translateY(-2px); }

/* eyebrow / kicker ---------------------------------------------------------*/
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--ff-head); font-weight:700; font-size:13px;
  letter-spacing:.14em; text-transform:uppercase; color:var(--gold-dark);
  margin-bottom:14px;
}
.kicker::before{ content:""; width:28px; height:3px; background:var(--gold-dark); border-radius:2px; }

.section-title{ font-size:clamp(28px,3.6vw,42px); font-weight:800; }
.section-title .accent{ color:var(--gold-dark); }
.section-lead{ color:var(--gray-600); font-size:17px; max-width:680px; }
.section-head{ margin-bottom:44px; }
.section-head.center{ text-align:center; margin-left:auto; margin-right:auto; }
.section-head.center .section-lead{ margin-left:auto; margin-right:auto; }
.section-head.center .kicker{ justify-content:center; }
.section-pad{ padding:88px 0; }
/* ritmo vertical uniforme apenas na homepage (Produtos/Serviços alinhados com Sobre/Porquê Escolher) */
.home-rhythm{ padding:96px 0; }

/* ============================= HEADER ================================= */
.topbar{
  background:var(--navy-dark); color:#c9cee6; font-size:13px;
}
.topbar .container{ display:flex; justify-content:space-between; align-items:center; height:38px; }
.topbar-info{ display:flex; gap:22px; }
.topbar-info > span{ display:flex; align-items:center; gap:6px; }
.topbar-info svg{ width:14px; height:14px; stroke:var(--gold); fill:none; }
.lang-toggle{ display:flex; gap:2px; background:rgba(255,255,255,.08); border-radius:20px; padding:3px; }
.lang-toggle button{
  border:0; background:transparent; color:#c9cee6; font-family:var(--ff-head);
  font-size:12px; font-weight:700; padding:4px 12px; border-radius:16px; cursor:pointer;
}
.lang-toggle button.active{ background:var(--gold); color:var(--navy-dark); }

.site-header{
  position:sticky; top:0; z-index:100; background:#fff;
  box-shadow:0 2px 18px rgba(10,24,45,.08);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:18px; height:82px; }
.header-cta{ flex:0 0 auto; padding:12px 20px; font-size:13px; }
.brand{ display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.brand img{ height:52px; width:auto; }

.main-nav{ display:flex; align-items:center; gap:2px; flex-wrap:nowrap; }
.main-nav a{
  position:relative;
  font-family:var(--ff-head); font-weight:600; font-size:13.5px; color:var(--navy);
  padding:10px 14px; border-radius:8px; transition:color .2s ease, background-color .2s ease; white-space:nowrap;
}
.main-nav a::after{
  content:""; position:absolute; left:14px; right:14px; bottom:6px; height:2px;
  background:var(--gold-dark); border-radius:2px; transform:scaleX(0); transform-origin:center;
  transition:transform .25s ease;
}
.main-nav a:hover{ color:var(--gold-dark); background:rgba(216,151,49,.08); }
.main-nav a:hover::after, .main-nav a.active::after{ transform:scaleX(1); }
.main-nav a.active{ color:var(--gold-dark); }
.header-cta{ margin-left:8px; }
.menu-toggle{
  display:none; background:none; border:0; cursor:pointer; padding:8px;
  position:relative; z-index:101;
}
.menu-toggle span{
  display:block; width:26px; height:3px; background:var(--navy); margin:5px 0; border-radius:2px;
  transition:transform .25s ease, opacity .2s ease;
}
.menu-toggle.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity:0; }
.menu-toggle.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* ============================= NAV DROPDOWNS (Produtos/Serviços) ========== */
.nav-item{ position:relative; display:flex; align-items:center; }
.nav-dropdown-toggle{
  background:none; border:0; cursor:pointer; padding:8px 10px 8px 2px; color:var(--navy);
  display:flex; align-items:center;
}
.nav-dropdown-toggle svg{ width:13px; height:13px; stroke:currentColor; fill:none; stroke-width:2.4; transition:transform .25s ease; }
.nav-item:hover .nav-dropdown-toggle{ color:var(--gold-dark); }
.nav-item:hover .nav-dropdown-toggle svg{ transform:rotate(180deg); }

.nav-dropdown{
  position:absolute; top:100%; left:0; margin-top:6px; width:640px; max-width:640px;
  background:#fff; border-radius:16px; box-shadow:var(--shadow-lg); border:1px solid var(--gray-100);
  padding:14px; opacity:0; visibility:hidden; transform:translateY(8px); pointer-events:none;
  transition:opacity .2s ease, transform .2s ease; z-index:200;
  display:grid; grid-template-columns:1fr 1fr; gap:2px 6px;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown{
  opacity:1; visibility:visible; transform:translateY(0); pointer-events:auto;
}
.nav-dropdown a{
  display:flex; align-items:center; gap:12px; padding:9px 10px; border-radius:10px;
  font-size:13.5px; font-weight:600; color:var(--navy); line-height:1.3; white-space:normal;
}
.nav-dropdown a::after{ display:none; }
.nav-dropdown a:hover{ background:var(--gray-50); color:var(--gold-dark); }
.nav-dd-icon{
  flex:0 0 auto; width:38px; height:38px; border-radius:10px; background:var(--gray-50);
  display:flex; align-items:center; justify-content:center; transition:background .2s ease;
}
.nav-dd-icon svg{ width:19px; height:19px; stroke:var(--navy); fill:none; stroke-width:1.7; transition:stroke .2s ease; }
.nav-dropdown a:hover .nav-dd-icon{ background:var(--gold); }
.nav-dropdown a:hover .nav-dd-icon svg{ stroke:var(--navy-dark); }
.nav-dropdown a.nav-dropdown-all{
  grid-column:1 / -1; justify-content:center; text-align:center;
  margin-top:4px; padding-top:13px; border-top:1px solid var(--gray-100);
  color:var(--gold-dark); font-weight:700;
}

.nav-backdrop{
  display:none;
}

/* ============================= HERO (home) ============================= */
.hero{
  position:relative; overflow:hidden; background:var(--navy);
  padding:100px 0 130px;
  background-image:url('../img/hero-photo.jpg');
  background-size:cover;
  background-position:center 60%;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(circle at 82% 20%, rgba(216,151,49,.30), transparent 45%),
    linear-gradient(135deg, rgba(16,38,73,.88) 0%, rgba(10,24,45,.94) 100%);
}
.hero::after{
  content:""; position:absolute; right:-120px; top:-120px; width:520px; height:520px;
  border-radius:50%; border:2px solid rgba(255,255,255,.12);
}
.hero .container{ position:relative; z-index:2; }
.hero-inner{ max-width:680px; }
.hero-tag{
  display:inline-block; background:rgba(216,151,49,.16); border:1px solid rgba(216,151,49,.5);
  color:var(--gold); font-family:var(--ff-head); font-weight:700; font-size:12.5px;
  letter-spacing:.1em; text-transform:uppercase; padding:8px 16px; border-radius:30px; margin-bottom:22px;
}
.hero h1{ color:#fff; font-size:clamp(34px,5vw,58px); font-weight:800; margin-bottom:20px; }
.hero h1 .accent{ color:var(--gold); }
.hero p{ color:#c9cee6; font-size:18px; max-width:560px; }
.hero-actions{ display:flex; gap:16px; margin-top:32px; flex-wrap:wrap; }

.hero-stats{
  position:relative; z-index:2; margin-top:64px; display:grid;
  grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(255,255,255,.14);
  border-radius:var(--radius); overflow:hidden;
}
.hero-stats div{ background:rgba(255,255,255,.05); padding:24px 18px; text-align:center; }
.hero-stats strong{ display:block; font-family:var(--ff-head); font-size:32px; color:#fff; font-weight:800; }
.hero-stats span{ font-size:12.5px; color:#aab1d6; text-transform:uppercase; letter-spacing:.05em; }

/* ============================= PAGE HERO (inner pages) ================= */
.page-hero{
  position:relative; overflow:hidden; background:var(--navy);
  padding:68px 0 56px; color:#fff;
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(120deg, var(--navy) 40%, var(--navy-dark) 100%);
}
.page-hero::after{
  content:""; position:absolute; left:-80px; bottom:-140px; width:340px; height:340px;
  border-radius:50%; background:rgba(216,151,49,.18);
}
.page-hero .container{ position:relative; z-index:2; }
.page-hero .crumb{ font-size:13px; color:#aab1d6; margin-bottom:10px; font-family:var(--ff-head); letter-spacing:.06em; text-transform:uppercase;}
.page-hero .crumb a:hover{ color:#fff; }
.page-hero h1{ color:#fff; font-size:clamp(30px,4.4vw,46px); margin-bottom:8px; }
.page-hero p{ color:#c9cee6; max-width:640px; font-size:16.5px; margin:0; }

/* ============================= CARDS: sectors ============================ */
.sector-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.sector-card{
  background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius);
  padding:30px 24px; transition:.25s; position:relative; overflow:hidden;
}
.sector-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.sector-card .icon{
  width:52px; height:52px; border-radius:12px; background:var(--navy);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.sector-card .icon span{ color:#fff; font-family:var(--ff-head); font-weight:800; font-size:16px; letter-spacing:.02em; }
.sector-card:nth-child(4n+1) .icon{ background:var(--navy); }
.sector-card:nth-child(4n+2) .icon{ background:var(--gold); }
.sector-card:nth-child(4n+3) .icon{ background:var(--navy-soft); }
.sector-card:nth-child(4n+4) .icon{ background:var(--gold-dark); }
.sector-card:nth-child(4n+2) .icon span, .sector-card:nth-child(4n+4) .icon span{ color:var(--navy-dark); }
.sector-card h3{ font-size:17px; margin-bottom:8px; }
.sector-card p{ color:var(--gray-600); font-size:14.5px; margin-bottom:14px; }
.sector-card .go{ font-family:var(--ff-head); font-size:13px; font-weight:700; color:var(--gold-dark); display:inline-flex; align-items:center; gap:6px; }
.sector-card .go svg{ width:15px; height:15px; stroke:var(--gold-dark); fill:none; transition:.2s; }
.sector-card:hover .go svg{ transform:translateX(4px); }

/* ============================= about preview / split ===================== */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split-media{
  background:linear-gradient(150deg, var(--navy), var(--navy-dark));
  border-radius:20px; padding:44px; color:#fff; position:relative; min-height:360px;
  display:flex; flex-direction:column; justify-content:center; overflow:hidden;
}
.split-media::after{ content:""; position:absolute; right:-60px; bottom:-60px; width:220px; height:220px; border-radius:50%; background:rgba(216,151,49,.25); }
.split-media .big-quote{ font-family:var(--ff-head); font-weight:800; font-size:26px; line-height:1.3; position:relative; z-index:2; }
.split-media .big-quote .accent{ color:var(--gold); }
.split ul.check-list{ margin-top:20px; }

.check-list li{
  display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-bottom:1px solid var(--gray-100);
  font-size:15px; color:var(--gray-600);
}
.check-list li:last-child{ border-bottom:0; }
.check-list li svg{ flex:0 0 auto; width:20px; height:20px; stroke:var(--gold-dark); fill:none; margin-top:2px; }
.split-media .check-list li svg{ stroke:#fff; }
.split-media .check-list li b, .split-media .check-list li span{ color:#fff; }
.check-list li b{ color:var(--navy); }

/* ============================= mission/vision/values ==================== */
.mvv-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.mvv-card{
  background:var(--gray-50); border-radius:var(--radius); padding:32px 28px;
  border-top:4px solid var(--gold-dark);
}
.mvv-card h3{ font-size:19px; }
.mvv-card p{ color:var(--gray-600); font-size:14.5px; margin:0; }
.mvv-card ul{ margin-top:6px; }
.mvv-card ul li{ font-size:14.5px; color:var(--gray-600); margin-bottom:10px; }
.mvv-card ul li b{ color:var(--navy); }

/* ============================= admin message ============================ */
.admin-msg{
  background:var(--navy); color:#fff; border-radius:24px; padding:56px;
  position:relative; overflow:hidden;
}
.admin-msg::before{ content:"\201C"; position:absolute; top:-10px; left:30px; font-family:Georgia,serif; font-size:180px; color:rgba(255,255,255,.06); line-height:1; }
.admin-msg .container-inner{ position:relative; z-index:2; max-width:820px; }
.admin-msg p{ color:#d3d8ef; font-size:16.5px; }
.admin-msg .sig{ margin-top:24px; }
.admin-msg .sig strong{ display:block; font-family:var(--ff-head); font-size:17px; color:#fff; }
.admin-msg .sig span{ color:#94a0d9; font-size:13.5px; }

/* ============================= sector detail sections ==================== */
.sector-subnav{
  position:sticky; top:82px; z-index:60; background:#fff; border-bottom:1px solid var(--gray-200);
  padding:14px 0; overflow-x:auto;
}
.sector-subnav .container{ display:flex; gap:8px; }
.sector-subnav a{
  font-family:var(--ff-head); font-size:13px; font-weight:700; white-space:nowrap;
  padding:9px 16px; border-radius:20px; background:var(--gray-50); color:var(--navy);
}
.sector-subnav a:hover, .sector-subnav a.active{ background:var(--gold); color:var(--navy-dark); }

.sector-block{ padding:72px 0; border-bottom:1px solid var(--gray-100); }
.sector-block:nth-child(even){ background:var(--gray-50); }
.sector-block .num{
  font-family:var(--ff-head); font-weight:800; font-size:15px; color:var(--gold-dark);
  letter-spacing:.08em;
}
.sector-block h2{ font-size:clamp(24px,3vw,34px); margin-bottom:16px; }
.sector-block > .container > p.intro{ color:var(--gray-600); font-size:16px; max-width:820px; }

.subgroup-title{
  font-family:var(--ff-head); font-weight:700; font-size:13px; text-transform:uppercase;
  letter-spacing:.08em; color:var(--navy); margin:34px 0 16px; display:flex; align-items:center; gap:10px;
}
.subgroup-title::after{ content:""; flex:1; height:1px; background:var(--gray-200); }

.item-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.item-card{
  background:#fff; border:1px solid var(--gray-200); border-radius:12px; padding:20px 22px;
}
.sector-block:nth-child(even) .item-card{ background:#fff; }
.item-card h4{ font-size:15px; margin-bottom:6px; color:var(--navy); font-weight:700; font-family:var(--ff-body); }
.item-card p{ font-size:14px; color:var(--gray-600); margin:0; }

/* ============================= differentials ============================ */
.diff-strip{ background:var(--navy-dark); padding:64px 0; }
.diff-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.diff-item{
  display:flex; gap:16px; align-items:flex-start; background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:22px;
}
.diff-item .n{ font-family:var(--ff-head); font-weight:800; font-size:22px; color:var(--gold); flex:0 0 auto; }
.diff-item p{ color:#c9cee6; font-size:14.5px; margin:0; }

/* ============================= CTA band ================================== */
.cta-band{
  background:linear-gradient(120deg, var(--gold), var(--gold-dark)); color:var(--navy-dark);
  padding:56px 0; text-align:center;
}
.cta-band h2{ color:var(--navy-dark); margin-bottom:10px; }
.cta-band p{ color:var(--navy-dark); opacity:.8; margin-bottom:26px; }
.cta-band .btn-outline{ border-color:var(--navy-dark); color:var(--navy-dark); }
.cta-band-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top:6px; }
.cta-band .btn-white{ background:#fff; color:var(--navy-dark); }
.cta-band .btn-white:hover{ background:#f7ead6; transform:translateY(-2px); }

/* ============================= placeholder notice ========================= */
.notice-box{
  background:#fff7e6; border:1px dashed #e3b341; border-radius:14px; padding:26px 28px; margin-bottom:40px;
}
.notice-box strong{ color:#8a5c00; font-family:var(--ff-head); }
.notice-box p{ margin:6px 0 0; color:#7a5b1e; font-size:14.5px; }

.ps-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.ps-card{
  border:1px solid var(--gray-200); border-radius:var(--radius); padding:26px; background:#fff;
  transition:.2s;
}
.ps-card:hover{ box-shadow:var(--shadow); border-color:transparent; }
.ps-card h3{ font-size:16.5px; }
.ps-card p{ font-size:14px; color:var(--gray-600); margin-bottom:0; }

/* ============================= contact page ============================== */
.contact-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:56px; }
.contact-cards{ display:grid; gap:16px; }
.contact-card{
  display:flex; gap:16px; background:var(--gray-50); border-radius:14px; padding:22px;
  border-left:4px solid var(--gold-dark);
}
.contact-card .icon{ width:42px; height:42px; border-radius:10px; background:var(--navy); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.contact-card .icon svg{ width:20px; height:20px; stroke:#fff; fill:none; }
.contact-card h4{ font-size:15px; margin:0 0 4px; color:var(--navy); }
.contact-card p{ font-size:14px; color:var(--gray-600); margin:0; }

.office-list{ margin-top:28px; display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.office-list .office{ background:#fff; border:1px solid var(--gray-200); border-radius:12px; padding:16px 18px; line-height:1.85; }
.office-list .office b{ display:block; color:var(--navy); font-family:var(--ff-head); font-size:14px; margin-bottom:4px; }
.office-list .office span{ font-size:13px; color:var(--gray-500); }
.office-list .office a{ font-size:13px; font-weight:700; color:var(--gold-dark); }
.office-list .office a:hover{ text-decoration:underline; }

.contact-form{ background:var(--gray-50); border-radius:20px; padding:40px; }
.contact-form h3{ margin-bottom:6px; }
.contact-form p.form-lead{ color:var(--gray-600); font-size:14.5px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.form-field{ display:flex; flex-direction:column; gap:6px; }
.form-field.full{ grid-column:1 / -1; }
.form-field label{ font-size:13px; font-weight:600; color:var(--navy); }
.form-field input, .form-field select, .form-field textarea{
  border:1px solid var(--gray-200); border-radius:10px; padding:12px 14px; font-family:var(--ff-body);
  font-size:14.5px; background:#fff; color:var(--text); resize:vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:2px solid var(--navy); outline-offset:1px; }
.contact-form .btn{ width:100%; justify-content:center; margin-top:6px; border:0; }
.form-note{ font-size:12.5px; color:var(--gray-500); margin-top:12px; }

.map-embed{
  margin-top:40px; border-radius:16px; overflow:hidden; border:1px solid var(--gray-200); height:340px;
}
.map-embed iframe{ width:100%; height:100%; border:0; }

/* ============================= footer ===================================== */
footer{ background:var(--navy-dark); color:#c9cee6; padding-top:64px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand .badge{ background:#fff; border-radius:14px; padding:14px 18px; display:inline-flex; margin-bottom:16px; }
.footer-brand .badge img{ height:44px; }
.footer-brand p{ font-size:14px; color:#9aa1c9; max-width:280px; }
footer h4{ color:#fff; font-family:var(--ff-head); font-size:14px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:18px; }
footer ul li{ margin-bottom:10px; }
footer ul li a{ font-size:14px; color:#aab1d6; transition:.2s; }
footer ul li a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:22px 0; font-size:13px; color:#7d84ab; flex-wrap:wrap; gap:10px; }

/* ============================= back to top ================================ */
.back-to-top{
  position:fixed; right:24px; bottom:24px; z-index:90;
  width:46px; height:46px; border-radius:50%; border:0; cursor:pointer;
  background:var(--navy); box-shadow:var(--shadow-lg);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(12px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease;
}
.back-to-top.visible{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ background:var(--gold); }
.back-to-top svg{ width:20px; height:20px; stroke:#fff; fill:none; stroke-width:2.2; transition:stroke .2s ease; }
.back-to-top:hover svg{ stroke:var(--navy-dark); }
@media (max-width:760px){
  .back-to-top{ right:16px; bottom:16px; width:42px; height:42px; }
}
@media (prefers-reduced-motion: reduce){
  .back-to-top{ transition:opacity .1s linear, visibility .1s; transform:none; }
}

/* ============================= reveal-on-scroll (discreet) ================ */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in-view{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ============================= hero background pattern ==================== */
.hero-pattern{
  position:absolute; inset:0; z-index:1; opacity:.5; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
}
.hero-badge-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:34px; }
.hero-badge-row span{
  display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14); color:#dfe3f6; font-size:12.5px;
  padding:8px 14px; border-radius:30px; font-family:var(--ff-head); font-weight:600;
}
.hero-badge-row svg{ width:14px; height:14px; stroke:var(--gold); fill:none; }
.hero-actions .btn{ position:relative; }
.pulse-dot{ position:relative; width:8px; height:8px; border-radius:50%; background:#4ade80; display:inline-block; }
.pulse-dot::after{
  content:""; position:absolute; inset:-4px; border-radius:50%; background:#4ade80;
  opacity:.5; animation:pulse 1.8s ease-out infinite;
}
@keyframes pulse{ 0%{ transform:scale(.6); opacity:.6; } 100%{ transform:scale(2.2); opacity:0; } }

/* ============================= why-choose (4 big icons) =================== */
.why-pad{ padding:96px 0; background:var(--navy); position:relative; overflow:hidden; }
.why-pad::before{ content:""; position:absolute; left:-100px; top:-100px; width:360px; height:360px; border-radius:50%; background:rgba(216,151,49,.12); }
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; z-index:2; }
.why-item{ text-align:center; padding:8px 12px; }
.why-item .why-icon{
  width:76px; height:76px; margin:0 auto 20px; border-radius:50%;
  background:rgba(216,151,49,.14); border:1px solid rgba(216,151,49,.4);
  display:flex; align-items:center; justify-content:center;
}
.why-item .why-icon svg{ width:34px; height:34px; stroke:var(--gold); fill:none; stroke-width:1.8; }
.why-item h3{ color:#fff; font-size:16.5px; margin-bottom:8px; }
.why-item p{ color:#aab1d6; font-size:14px; margin:0; }

/* ============================= product & service cards ==================== */
.pc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; counter-reset:pc; }
.pc-card{
  background:#fff; border:1px solid var(--gray-200); border-radius:20px;
  overflow:hidden; transition:transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, border-color .35s ease;
  display:flex; flex-direction:column; counter-increment:pc;
  box-shadow:0 2px 14px rgba(10,24,45,.05);
}
.pc-card:hover{ transform:translateY(-8px); box-shadow:0 26px 48px rgba(10,24,45,.14); border-color:transparent; }
.pc-media{
  height:184px; display:flex; align-items:center; justify-content:center;
  background:
    radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0/14px 14px,
    linear-gradient(135deg, var(--navy), var(--navy-dark));
  position:relative; overflow:hidden;
}
.pc-media::before{
  content: counter(pc, decimal-leading-zero);
  position:absolute; top:14px; left:18px; z-index:2;
  font-family:var(--ff-head); font-weight:800; font-size:12.5px; letter-spacing:.1em;
  color:rgba(255,255,255,.45);
}
.pc-media::after{
  content:""; position:absolute; right:-36px; bottom:-36px; width:130px; height:130px;
  border-radius:50%; background:rgba(216,151,49,.22); z-index:0; transition:transform .4s ease, background .4s ease;
}
.pc-card:hover .pc-media::after{ transform:scale(1.15); background:rgba(216,151,49,.3); }
.pc-media img{ width:100%; height:100%; object-fit:cover; position:relative; z-index:1; }
.pc-media svg{ width:44px; height:44px; stroke:#fff; fill:none; stroke-width:1.4; position:relative; z-index:2; transition:transform .35s ease; }
.pc-card:hover .pc-media svg{ transform:scale(1.08) translateY(-2px); }
.pc-body{ padding:24px 26px 28px; display:flex; flex-direction:column; flex:1; }
.pc-body h3{ font-size:18.5px; font-weight:800; margin-bottom:10px; letter-spacing:-.01em; }
.pc-body .tags{ display:flex; flex-wrap:wrap; gap:7px; margin-bottom:14px; }
.pc-body .tags span{
  font-size:11px; font-weight:700; color:var(--navy); background:#fff; border:1px solid var(--gray-200);
  border-radius:20px; padding:4px 11px; letter-spacing:.02em; transition:.25s ease;
}
.pc-card:hover .pc-body .tags span{ border-color:rgba(16,38,73,.25); background:var(--gray-50); }
.pc-body p{ font-size:14px; line-height:1.65; color:var(--gray-600); margin-bottom:20px; flex:1; }
.pc-body .btn{ padding:11px 22px; font-size:13px; align-self:flex-start; }
.pc-body .btn::after{ content:"\2192"; transition:transform .25s ease; }
.pc-card:hover .pc-body .btn::after{ transform:translateX(4px); }

/* Produtos — carrossel (4 em destaque, restantes em slider) na homepage */
.pc-track{
  display:flex; gap:28px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  -ms-overflow-style:none; scrollbar-width:none; margin:0 -2px; padding:2px;
}
.pc-track::-webkit-scrollbar{ display:none; }
.pc-track .pc-card{ flex:0 0 calc(25% - 21px); scroll-snap-align:start; }

.section-sub-cta{ text-align:center; margin-top:40px; }

/* Fundo diferenciado para a secção de Serviços (homepage) */
.section-alt-bg{
  position:relative;
  background:
    radial-gradient(rgba(16,38,73,.06) 1px, transparent 1px) 0 0/22px 22px,
    linear-gradient(180deg, #eef1f8 0%, #f4f6fb 100%);
  border-top:1px solid var(--gray-200);
  border-bottom:1px solid var(--gray-200);
}

/* ============================= service cards (flat / icon-circle) ========= */
.service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }

.svc-carousel-head{ display:flex; align-items:center; justify-content:center; gap:10px; margin:-10px 0 26px; }
.svc-nav-btn{
  width:44px; height:44px; border-radius:50%; border:1.5px solid var(--gray-200); background:#fff;
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition:.2s; flex:0 0 auto;
}
.svc-nav-btn:hover{ background:var(--navy); border-color:var(--navy); }
.svc-nav-btn svg{ width:18px; height:18px; stroke:var(--navy); fill:none; stroke-width:2; transition:.2s; }
.svc-nav-btn:hover svg{ stroke:#fff; }
.svc-nav-btn:disabled{ opacity:.35; cursor:default; }
.svc-nav-btn:disabled:hover{ background:#fff; border-color:var(--gray-200); }
.svc-nav-btn:disabled:hover svg{ stroke:var(--navy); }

.svc-track{
  display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  -ms-overflow-style:none; scrollbar-width:none; margin:0 -2px; padding:2px;
}
.svc-track::-webkit-scrollbar{ display:none; }
.svc-track .svc-photo-card{ flex:0 0 calc(25% - 18px); scroll-snap-align:start; }

.service-card{
  background:#fff; border-radius:24px; padding:38px 34px; transition:.25s ease;
}
.service-card:hover{ transform:translateY(-5px); box-shadow:0 20px 44px rgba(10,24,45,.10); }
.service-card .icon-circle{
  width:64px; height:64px; border-radius:50%; background:var(--gray-50);
  display:flex; align-items:center; justify-content:center; margin-bottom:26px;
}
.service-card .icon-circle svg{ width:28px; height:28px; stroke:var(--navy); fill:none; stroke-width:1.6; transition:.25s; }
.service-card:hover .icon-circle{ background:var(--navy); }
.service-card:hover .icon-circle svg{ stroke:#fff; }
.service-card h3{ font-size:21px; font-weight:800; margin-bottom:14px; line-height:1.25; }
.service-card p{ font-size:14.5px; color:var(--gray-600); margin-bottom:24px; }
.service-card .read-more{
  display:inline-flex; align-items:center; gap:6px; font-family:var(--ff-head); font-weight:700;
  font-size:14px; color:var(--navy); text-decoration:underline; text-underline-offset:4px; transition:.2s;
}
.service-card .read-more svg{ width:15px; height:15px; stroke:var(--navy); fill:none; stroke-width:2; transition:.2s; }
.service-card:hover .read-more{ color:var(--gold-dark); }
.service-card:hover .read-more svg{ stroke:var(--gold-dark); transform:translate(2px,-2px); }

/* ============================= service photo cards (home carousel only) === */
.svc-photo-card{
  position:relative; border-radius:20px; overflow:hidden; aspect-ratio:3/4;
  display:flex; align-items:flex-end; transition:transform .3s ease, box-shadow .3s ease;
}
.svc-photo-card:hover{ transform:translateY(-5px); box-shadow:0 22px 44px rgba(10,24,45,.22); }
.svc-card-media{ position:absolute; inset:0; z-index:0; background:var(--gray-100,#eef0f5); }
.svc-card-media img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.svc-photo-card:hover .svc-card-media img{ transform:scale(1.06); }
.svc-card-overlay{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(to top, rgba(10,14,32,.90) 0%, rgba(10,14,32,.5) 42%, rgba(10,14,32,0) 70%);
  transition:background .35s ease;
}
.svc-photo-card:hover .svc-card-overlay{
  background:linear-gradient(to top, rgba(10,14,32,.94) 0%, rgba(10,14,32,.8) 58%, rgba(10,14,32,.2) 100%);
}
.svc-card-body{
  position:relative; z-index:2; width:100%; padding:22px 20px 24px;
  display:flex; align-items:flex-end; justify-content:space-between; gap:10px;
}
.svc-card-text{ flex:1 1 auto; min-width:0; }
.svc-photo-card h3{ color:#fff; font-size:18.5px; font-weight:800; line-height:1.28; margin:0; }
.svc-photo-card p{
  color:#d8dcec; font-size:13px; line-height:1.55; margin:0; max-height:0; opacity:0; overflow:hidden;
  transition:max-height .35s ease, opacity .3s ease, margin-top .35s ease;
}
.svc-photo-card:hover p{ max-height:130px; opacity:1; margin-top:10px; }
.svc-card-arrow{
  flex:0 0 auto; width:40px; height:40px; border-radius:50%; background:var(--gold);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transform:scale(.7); transition:.3s ease;
}
.svc-card-arrow svg{ width:17px; height:17px; stroke:var(--navy-dark); fill:none; stroke-width:2.2; }
.svc-photo-card:hover .svc-card-arrow{ opacity:1; transform:scale(1); }

/* grelha estática de serviços (página Serviços — catálogo completo) */
.svc-photo-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }

/* ============================= about section (new layout) ================= */
.about-pad{ padding:96px 0; border-top:1px solid var(--gray-200); }

/* ============================= about section v2 (referência) =============== */
/* título começa no meio da coluna da imagem (1fr de um grid 1fr / 1.15fr, gap 56px) */
.about2-top{ padding-left:calc((100% - 56px) * 0.2326); margin-bottom:32px; }

.about2-grid{ display:grid; grid-template-columns:1fr 1.15fr; gap:56px; align-items:center; }

.about2-media{ border-radius:16px; overflow:hidden; box-shadow:0 2px 14px rgba(10,24,45,.08); aspect-ratio:3/2; }
.about2-media img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s ease; }
.about2-media:hover img{ transform:scale(1.05); }

.about2-title{
  font-family:var(--ff-head); font-weight:800; font-size:clamp(32px,4vw,50px); color:var(--navy);
  line-height:1.15; margin:0; letter-spacing:-.01em;
}
.about2-lead{ font-size:15.5px; line-height:1.7; color:var(--gray-600); margin-bottom:36px; max-width:520px; }

.about2-row{ display:flex; gap:44px; align-items:center; }
.about2-stat{ flex:0 0 auto; }
.about2-stat strong{
  display:block; font-family:var(--ff-head); font-weight:800; font-size:92px; line-height:.85; color:var(--navy);
}
.about2-stat span{ display:block; margin-top:10px; font-family:var(--ff-head); font-weight:700; font-size:13.5px; color:var(--gray-600); text-transform:uppercase; letter-spacing:.05em; line-height:1.3; white-space:nowrap; }

.btn-pill-gradient{
  display:inline-flex; align-items:center; gap:10px; padding:15px 26px; border-radius:50px;
  background:var(--gold); color:var(--navy-dark); font-family:var(--ff-head);
  font-weight:700; font-size:14.5px; letter-spacing:.02em; transition:.2s ease;
}
.btn-pill-gradient svg{ width:16px; height:16px; stroke:var(--navy-dark); fill:none; stroke-width:2.2; transition:transform .3s ease; }
.btn-pill-gradient:hover{ background:var(--gold-dark); transform:translateY(-2px); }
.btn-pill-gradient:hover svg{ transform:translate(3px,-3px); }

/* ============================= product catalogue: category hub =========== */
.cat-hero-media{ margin-top:36px; border-radius:16px; overflow:hidden; aspect-ratio:21/7; box-shadow:0 2px 14px rgba(10,24,45,.08); }
.cat-hero-media img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ============================= product catalogue: subcategory detail ===== */
.sub-detail-grid{ display:grid; grid-template-columns:1fr 1.15fr; gap:56px; align-items:center; margin-bottom:56px; }
.sub-detail-media{ border-radius:16px; overflow:hidden; box-shadow:0 2px 14px rgba(10,24,45,.08); aspect-ratio:4/3; background:var(--gray-100,#eef0f5); }
.sub-detail-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.sub-detail-text .kicker{ margin-bottom:14px; }
.sub-detail-text .about2-lead{ max-width:none; margin-bottom:0; }

.spec-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:8px; }
.spec-card{ background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius); padding:26px 24px; }
.spec-card h3{ font-size:14px; font-family:var(--ff-head); font-weight:700; color:var(--navy); text-transform:uppercase; letter-spacing:.04em; margin-bottom:6px; }
.spec-card .check-list{ margin-top:8px; }
.spec-card .check-list li{ padding:8px 0; font-size:13.5px; }
.spec-card .check-list li svg{ width:16px; height:16px; }
.spec-card .check-list:empty{ display:none; }
.spec-card:has(.check-list:empty){ display:none; }

.note-box{ margin-top:40px; background:var(--gray-50); border-left:3px solid var(--gold-dark); border-radius:0 12px 12px 0; padding:18px 24px; font-size:13.5px; font-style:italic; color:var(--gray-600); }

.subcat-back-nav{ margin-top:44px; text-align:center; }
.subcat-back-nav a{ font-family:var(--ff-head); font-weight:700; font-size:13.5px; color:var(--gold-dark); display:inline-flex; align-items:center; gap:6px; }
.subcat-back-nav a svg{ width:15px; height:15px; stroke:var(--gold-dark); fill:none; }

/* ============================= service detail page ======================= */
.svc-section-heading{ font-size:clamp(20px,2.4vw,26px); font-weight:800; color:var(--navy); margin-bottom:10px; }
.svc-section-lead{ font-size:15px; color:var(--gray-600); max-width:760px; margin-bottom:28px; }

.scope-block{ margin-bottom:30px; }
.scope-block:last-child{ margin-bottom:0; }
.scope-block h3{ font-size:16px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.scope-block > p{ font-size:14px; color:var(--gray-600); margin-bottom:12px; max-width:760px; }
.scope-block .check-list{ margin-top:4px; }

.process-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:8px; }
.process-step{ background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius); padding:26px 24px; }
.process-step .num{ font-family:var(--ff-head); font-weight:800; font-size:26px; color:var(--gold-dark); display:block; margin-bottom:10px; }
.process-step h3{ font-size:14.5px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.process-step p{ font-size:13.5px; color:var(--gray-600); margin:0; }

.check-list.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:0 32px; }

.closing-cta-box{ margin-top:48px; background:var(--navy); border-radius:20px; padding:40px 44px; color:#fff; text-align:center; position:relative; overflow:hidden; }
.closing-cta-box::before{ content:""; position:absolute; right:-50px; top:-50px; width:180px; height:180px; border-radius:50%; background:rgba(216,151,49,.22); }
.closing-cta-box p{ position:relative; z-index:1; color:#d3d8ef; font-size:15px; max-width:680px; margin:0 auto 22px; }
.closing-cta-box .cta-line{ position:relative; z-index:1; color:#fff; font-weight:700; font-size:16px; margin-bottom:18px; max-width:680px; margin-left:auto; margin-right:auto; }
.closing-cta-box .btn{ position:relative; z-index:1; }

/* ============================= responsive ================================= */
@media (max-width: 980px){
  .sector-grid{ grid-template-columns:repeat(2,1fr); }
  .split{ grid-template-columns:1fr; gap:36px; }
  .mvv-grid{ grid-template-columns:1fr; }
  .diff-grid{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .item-grid{ grid-template-columns:1fr; }
  .ps-grid{ grid-template-columns:1fr 1fr; }
  .hero-stats{ grid-template-columns:repeat(2,1fr); }
  .why-grid{ grid-template-columns:1fr 1fr; }
  .pc-grid{ grid-template-columns:1fr 1fr; }
  .about2-top{ padding-left:0; }
  .about2-grid{ grid-template-columns:1fr; gap:36px; }
  .about2-media{ aspect-ratio:16/9; }
  .service-grid{ grid-template-columns:1fr 1fr; }
  .svc-track .svc-photo-card{ flex-basis:calc(50% - 12px); }
  .pc-track .pc-card{ flex-basis:calc(50% - 14px); }
  .svc-photo-grid{ grid-template-columns:1fr 1fr; }
  .sub-detail-grid{ grid-template-columns:1fr; gap:32px; }
  .spec-grid{ grid-template-columns:1fr 1fr; }
  .process-grid{ grid-template-columns:1fr 1fr; }
  .nav-dropdown{ width:320px; max-width:320px; grid-template-columns:1fr; }
}
@media (max-width: 760px){
  .why-grid{ grid-template-columns:1fr; }
  .pc-grid{ grid-template-columns:1fr; }
  .service-grid{ grid-template-columns:1fr; }
  .svc-track .svc-photo-card{ flex-basis:88%; }
  .pc-track .pc-card{ flex-basis:88%; }
  .svc-photo-grid{ grid-template-columns:1fr; }
  .spec-grid{ grid-template-columns:1fr; }
  .cat-hero-media{ aspect-ratio:4/3; }
  .process-grid{ grid-template-columns:1fr; }
  .check-list.two-col{ grid-template-columns:1fr; }
  .closing-cta-box{ padding:32px 24px; }
  .about2-row{ flex-direction:column; gap:22px; }
  .cta-band .hero-actions, .cta-band-actions{ flex-direction:column; }
  .topbar-info > span:nth-child(2){ display:none; }
  .main-nav{
    position:fixed; inset:82px 0 0 0; background:#fff; flex-direction:column; align-items:stretch;
    padding:20px; gap:2px; transform:translateX(100%); transition:transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y:auto; box-shadow:-8px 0 30px rgba(10,24,45,.12); z-index:100;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ padding:16px 14px; border-bottom:1px solid var(--gray-100); border-radius:8px; }
  .main-nav a::after{ display:none; }
  .menu-toggle{ display:block; }
  .header-cta{ display:none; }
  .nav-item{ flex-wrap:wrap; align-items:stretch; }
  .nav-item .nav-item-link{ flex:1 1 auto; border-radius:8px 0 0 8px; }
  .nav-dropdown-toggle{ flex:0 0 auto; width:48px; justify-content:center; border-bottom:1px solid var(--gray-100); }
  .nav-item.open .nav-dropdown-toggle svg{ transform:rotate(180deg); }
  .nav-dropdown{
    flex:0 0 100%; position:static; opacity:1; visibility:visible; transform:none; pointer-events:auto;
    box-shadow:none; border:0; border-radius:0; padding:0; margin:0; width:auto; max-width:none;
    grid-template-columns:1fr; gap:0;
    max-height:0; overflow:hidden; background:var(--gray-50); transition:max-height .3s ease;
  }
  .nav-dropdown.open{ max-height:2000px; }
  .nav-dropdown a{ padding:10px 14px 10px 22px; border-bottom:1px solid var(--gray-100); border-radius:0; }
  .nav-dd-icon{ width:32px; height:32px; }
  .nav-dd-icon svg{ width:16px; height:16px; }
  .nav-dropdown a.nav-dropdown-all{ border-top:0; }
  .nav-backdrop{
    display:block; position:fixed; inset:82px 0 0 0; background:rgba(10,24,45,.35); z-index:99;
    opacity:0; pointer-events:none; transition:opacity .3s ease;
  }
  .nav-backdrop.open{ opacity:1; pointer-events:auto; }
  .sector-grid{ grid-template-columns:1fr; }
  .diff-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .office-list{ grid-template-columns:1fr; }
  .ps-grid{ grid-template-columns:1fr; }
  .admin-msg{ padding:32px; }
}
