/* =========================
   styles.css ‚Äî Consolidado & Consistente
   ========================= */

/* ---------- Glass Modal Text ---------- */
.modal-dialog {
  color: #fff; /* default text color inside */
}

.modal-dialog h1,
.modal-dialog h2,
.modal-dialog h3,
.modal-dialog h4,
.modal-dialog h5,
.modal-dialog h6,
.modal-dialog span,
.modal-dialog li,
.modal-dialog .modal-title,
.modal-dialog .modal-text,
.modal-dialog .mc-indicator {
  color: #fff !important;
}



/* Container for the dropdown */
.language-dropdown {
  position: absolute;
  top: 10px;  /* adjust to fit your navbar */
  right: 20px; /* top-right corner */
  z-index: 1000;
}

/* Button styling */
.language-dropdown .dropbtn {
  background-color: transparent; /* match your navbar */
  color: #000; /* text color */
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  padding: 5px 10px;
}

/* Dropdown content (hidden by default) */
.language-dropdown .dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #333; /* dark background */
  min-width: 80px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 4px;
  overflow: hidden;
}

/* Links inside the dropdown */
.language-dropdown .dropdown-content a {
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  font-size: 14px;
}

/* Hover effect */
.language-dropdown .dropdown-content a:hover {
  background-color: #ccc; /* highlight color */
  color: #000;
  Text-color: #ccc;
}

/* Show dropdown on hover */
.language-dropdown:hover .dropdown-content {
  display: block;
}

/* Language dropdown container - top-right in navbar */
.nav-language-dropdown {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 1000;
  font-family: inherit;
}

/* Button styling */
.nav-language-dropdown .nav-dropbtn {
  background: transparent;
  color: #000; /* default text dark */
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 5px 10px;
  transition: color 0.2s;
}

/* Change color on hover */
.nav-language-dropdown .nav-dropbtn:hover {
  color: #ffb701; /* site highlight */
}

/* Dropdown content hidden by default */
.nav-language-dropdown .nav-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: rgba(0,0,0,0.95); /* matches navbar theme */
  min-width: 70px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
}

/* Links inside dropdown */
.nav-language-dropdown .nav-dropdown-content a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #fff; /* dropdown links white */
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

/* Hover effect for links */
.nav-language-dropdown .nav-dropdown-content a:hover {
  background-color: #ccc;
  color: #000;
}

/* Show dropdown on hover for desktop */
.nav-language-dropdown:hover .nav-dropdown-content {
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .nav-language-dropdown {
    top: auto;
    bottom: 10px; /* adjust to your mobile navbar layout */
    right: 10px;
  }
}
/* ---------- Design tokens ---------- */
:root{
  /* Core palette */
  --brand: #ffb701;
  --brand-600:#ffb701;
  --ink-900:#111;
  --ink-800:#1a1a1a;
  --ink-700:#222;
  --ink-600:#2b2b2b;
  --ink-500:#3a3a3a;
  --ink-400:#444;
  --ink-300:#666;
  --ink-200:#888;
  --ink-150:#aaa;
  --ink-100:#ddd;
  --ink-075:#eee;
  --paper:#ffffff;
  --brand-gradient: linear-gradient(90deg, #ff9900 0%, #ffb701 100%)

  /* Typography */
  --ff: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  --fs-xxs:.80rem; --fs-xs:.9rem; --fs-sm:1rem; --fs-md:1.125rem;
  --fs-lg:1.35rem; --fs-xl:1.6rem; --fs-2xl:2rem;

  /* Spacing & radii */
  --space-1: 6px;  --space-2: 10px; --space-3: 14px; --space-4: 18px;
  --space-5: 24px; --space-6: 32px; --space-7: 40px; --space-8: 56px;
  --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-xl: 40px; --r-xxl: 50px;

  /* Shadows */
  --sh-soft: 0 6px 14px rgba(0,0,0,.10);
  --sh-mid:  0 10px 22px rgba(0,0,0,.14);
  --sh-strong: 0 18px 50px rgba(0,0,0,.22);

  /* Drawer */
  --drawer-w: 320px;

  /* Glass */
  --glass-bg: rgba(255,255,255,.10);
  --glass-border: rgba(255,255,255,.22);
  --glass-shadow: 0 10px 30px rgba(0,0,0,.25);
  --glass-blur: 14px;
  --glass-sat: 120%;
  --glass-bright: 105%;
  --glass-hover-bg: rgba(255,255,255,.16);
  --glass-hover-border: rgba(255,255,255,.30);
}
@media (max-width:320px){ :root{ --drawer-w: 84vw; } }

/* ---------- Reset/Structure ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
html, body{ height:100%; }
body{
  font-family: var(--ff);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.5;
  overflow-x:hidden;
}
.container{
  width: min(1200px, 100%);
  margin-inline:auto;
  padding-inline: clamp(16px, 4vw, 24px); /* FIX: padding-inline:auto -> spacing real */
  margin-bottom: var(--space-7);
}

/* Helpers */
.desktop-only{ display:block; }
.mobile-only{ display:none; }
@media (max-width:680px){
  .desktop-only{ display:none !important; }
  .mobile-only{ display:block !important; }
}

/* ---------- Global SVG BG ---------- */
.svg-background{
  position:fixed; inset:0; width:100vw; height:100vh;
  pointer-events:none; z-index:-2; opacity:.28;
}
#topoSVG{ width:100%; height:100%; display:block; }

/* ---------- Header / Nav ---------- */
header{
  position:fixed; inset:0 auto auto 0; width:100%;
  z-index:1000;
  padding: 6px 0;
  backdrop-filter: blur(0);
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
  background: var(--paper);
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: none;
}
header.transparent{
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
header.scrolled{
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-color: rgba(0,0,0,.06);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
header.orange-theme{
  background: rgba(58,58,58,.65)!important;
  border-color: rgba(255,255,255,.2)!important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
header.orange-theme nav a{ color:#fff!important; }
header.orange-theme nav a:hover, header.orange-theme nav a.active{ color:var(--brand)!important; }

/* SAFARI: n√£o misturar blur do header com gaveta aberta */
body.menu-open header,
body.menu-open header.scrolled,
body.menu-open header.orange-theme{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  background:transparent !important;
  box-shadow:none !important;
}



/* Header Base */
header.transparent {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* On scroll or forced */
header.transparent.scrolled {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

header.transparent .navbar ul li a {
  color: #000;
  transition: color 0.3s ease;
}

header.transparent .navbar ul li a:hover {
  color: #ffb701; /* Rovuma yellow */
}
nav{
  position:relative; display:flex; align-items:center; justify-content:center;
  min-height:60px;
  padding-inline: clamp(16px, 6vw, 80px);
  gap: 60px;
}
nav .logo{
  position:absolute; left: clamp(12px, 4vw, 24px);
  display:inline-flex; align-items:center; text-decoration:none;
}
nav .logo img{ height:46px; width:auto; display:block; transition:opacity .2s ease; }
@media (max-width:680px){ nav .logo img{ height:36px; } }

nav ul{
  list-style:none; display:flex; flex-wrap:wrap; justify-content:center;
  gap: clamp(28px, 9vw, 140px);
}
nav a{
  text-decoration:none; color:var(--ink-900); font-weight:800;
  font-size:.72rem; letter-spacing:.02em; transition:color .2s ease;
}
nav a:hover, nav a.active{ color:var(--brand); }



/* Desktop dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #222;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 1000;
}
.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  color: #eee;
}

.dropdown-menu li a:hover {
  background: #ffb701;
  color: #fff;
}
/* --- Product Sections --- */
.product-section {
  text-align: center;
  margin: 80px auto;
  max-width: 1200px;
  padding: 20px;
}

.product-section h2 {
  color: #e5a823; /* golden yellow for section titles */
  font-size: 1.8rem;
  margin-bottom: 40px;
}

/* --- Grid with rows of items --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px 40px; /* row-gap column-gap */
  justify-items: center;
}

/* --- Cards / Image placeholders --- */
.product-card {
  width: 180px;
  height: 120px;
  background-color: #2f3743; /* dark gray placeholders */
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff; /* optional text placeholder */
  font-size: 0.9rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
  }
  .product-card {
    width: 140px;
    height: 100px;
  }
}

/* Dropdown stays white background */
nav ul li ul {
  background: #fff !important;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Dropdown links default */
nav ul li ul li a {
  color: #111 !important;   /* Always dark text */
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.3s ease;
}

/* Hover state */
nav ul li ul li a:hover {
  background: #f4f4f4 !important;  /* Soft gray highlight */
  color: #111 !important;          /* Keep dark text */
}

/* Active/focused state */
nav ul li ul li a:active,
nav ul li ul li a:focus {
  background: #eaeaea !important;  /* Slightly darker gray */
  color: #111 !important;          /* Still dark text */
}

/* Even when header changes color */
header.scrolled nav ul li ul li a,
header.orange-theme nav ul li ul li a {
  color: #111 !important;
}

/* Submenu */
.dropdown-sub { position: relative; }
.dropdown-submenu {
  display: none;
  position: absolute;
  top: 0; left: 100%;
  background: #222;
  min-width: 200px;
  border-radius: 6px;
}
.dropdown-sub:hover .dropdown-submenu { display: block; }

/* Mobile collapsible dropdown */
.dropdown-mobile > a { cursor: pointer; display: block; }
.dropdown-mobile-menu {
  display: none;
  padding-left: 15px;
}
.dropdown-mobile.open .dropdown-mobile-menu {
  display: block;
}



/* Hamburger */
.nav-toggle{
  display:none; position:fixed; top:10px; right:6px;
  width:40px; height:42px; border-radius:10px; border:none;
  background:var(--ink-600); color:#fff; cursor:pointer;
  align-items:center; justify-content:center;
  z-index:1103; transition: transform .28s ease, background .2s ease, opacity .18s ease;
}
.nav-toggle:hover{ background:var(--ink-500); }
.nav-toggle-bar{
  display:block; width:30px; height:2px; background:#eaeaea; margin:5px 0; margin-left:5px;
  transition:transform .25s ease, opacity .25s ease, background-color .25s ease;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2){ opacity:0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
body.menu-open .nav-toggle{ transform: translateX(calc(-1 * var(--drawer-w))); }

/* Overlay + Drawer */
.nav-overlay{
  position:fixed; inset:0; height:100vh;
  background:rgba(0,0,0,.45);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  z-index:1101; opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.nav-overlay.open{ opacity:1; pointer-events:auto; }

.nav-drawer{
  position:fixed; top:0; right:0; bottom:0; width:var(--drawer-w); height:100vh;
  transform: translateX(100%);
  background:var(--ink-600)!important; color:#fff; z-index:1102;
  transition: transform .28s ease; padding:18px 16px 24px;
  box-shadow: -10px 0 30px rgba(0,0,0,.35); overflow:auto; -webkit-overflow-scrolling:touch;
}
.nav-drawer.open{ transform: translateX(0); }
.nav-drawer ul{ list-style:none; margin:52px 0 0; display:grid; gap:8px; }
.nav-drawer a{
  display:block; color:#eaeaea; text-decoration:none;
  padding:12px 10px; border-radius:12px; transition: background-color .15s ease, color .15s ease;
}
.nav-drawer a:hover, .nav-drawer a:focus{ background:#3a3a3a; color:var(--brand); outline:none; }

@media (max-width:680px){
  nav ul{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* =========================
   styles.css ‚Äî Consolidado & Consistente
   ========================= */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --brand: #ffb701;
  --brand-600: #ffb701;
  --ink-900: #111;
  --ink-800: #1a1a1a;
  --ink-700: #222;
  --ink-600: #2b2b2b;
  --ink-500: #3a3a3a;
  --ink-400: #444;
  --ink-300: #666;
  --ink-200: #888;
  --ink-150: #aaa;
  --ink-100: #ddd;
  --ink-075: #eee;
  --paper: #ffffff;
  /* Gradient brand */
  --brand-gradient: linear-gradient(90deg, #ff9900 0%, #ffb701 100%)

  /* Typography sizes */
 font-family: Arial, sans-serif; /* ✅ Forced Arial */

  /* Spacing & radii */
  --space-1: 6px; --space-2: 10px; --space-3: 14px; --space-4: 18px;
  --space-5: 24px; --space-6: 32px; --space-7: 40px; --space-8: 56px;
  --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-xl: 40px; --r-xxl: 20px;

  /* Shadows */
  --sh-soft: 0 6px 14px rgba(0,0,0,.10);
  --sh-mid: 0 10px 22px rgba(0,0,0,.14);
  --sh-strong: 0 18px 50px rgba(0,0,0,.22);

  /* Drawer width */
  --drawer-w: 320px;

  /* Glass effect */
  --glass-bg: rgba(255,255,255,.10);
  --glass-border: rgba(255,255,255,.22);
  --glass-shadow: 0 10px 30px rgba(0,0,0,.25);
  --glass-blur: 14px;
  --glass-sat: 120%;
  --glass-bright: 105%;
  --glass-hover-bg: rgba(255,255,255,.16);
  --glass-hover-border: rgba(255,255,255,.30);
}
@media (max-width: 320px) {
  :root { --drawer-w: 84vw; }
}




/* ---------- Reset / Base Styles ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: var(--ff);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}
.container {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
  margin-bottom: var(--space-7);
}

/* ---------- Helper Utilities ---------- */
.desktop-only { display: block; }
.mobile-only { display: none; }
@media (max-width: 680px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
}

/* ---------- Hero / Slider Layout (Homepage Only) ---------- */
body:not(.page-col) #inicio {
  padding-top: 120px; /* Clears fixed header */
}
body:not(.page-col) main.container#inicio {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  margin: 40px auto 0;
  padding-bottom: 100px;
}


body:not(.page-col) .box-stack-wrapper {
  flex: 1 1 55%;
  max-width: 600px;
  height: 360px;
  position: relative;
  perspective: 1000px;
}


body:not(.page-col) .text-content {
  flex: 1 1 40%;
  max-width: 480px;
  text-align: left;
}


@media (max-width: 768px) {
  body:not(.page-col) main.container#inicio {
    display: block;
    text-align: center;
    padding-top: 100px;
  }


  body:not(.page-col) .box-stack-wrapper.desktop-only { display: none; }
  body:not(.page-col) .hero-mobile { display: block; margin-bottom: 20px; }
  body:not(.page-col) .text-content {
    max-width: 100%;
    text-align: center;
  }
}

/* ---------- Slider Internals ---------- */
.box-stack-wrapper {
  margin-bottom: 20px;
}
.box { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; transition: all .8s ease-in-out; }
.slide { width: 100%; height: 100%; object-fit: cover; display: block; }
.box0 { z-index: 3; transform: translateX(0) scale(1); }
.box1 { z-index: 2; transform: translateX(20px) scale(.95); }
.box2 { z-index: 1; transform: translateX(40px) scale(.9); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: -20px; z-index: 5; }
.dot { width: 8px; height: 8px; background: #ccc; border-radius: 20px; cursor: pointer; transition: background .3s ease, transform .3s ease; }
.dot:hover { background: #666; transform: scale(1.2); }
.dot.active { background: #333; transform: scale(1.3); }

/* ---------- Hero Text ---------- */
.text-content h2 {
  font-size: var(--fs-xl);
  font-weight: 900;
  color: var(--brand);
  line-height: 1.2;
  margin-bottom: 12px;
}
.text-content p {
  font-size: var(--fs-sm);
  color: #222;
  margin-top: 8px;
}
.highlight { color: var(--brand); }

/* ---------- Mobile Hero Image ---------- */
.hero-mobile { display: none; }
@media (max-width: 680px) {
  .hero-mobile { display: grid; gap: 10px; text-align: left; }
  .hero-mobile img { width: 100%; height: auto; border-radius: 20px; }
}

/* ---------- Buttons ---------- */
.saber-mais-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--ink-600);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: var(--r-xxl);
  transition: background .25s ease, transform .1s ease;
}

.saber-mais-btn:hover {
  background: var(--brand);
  transform: translateY(-1px);
}

.get-portfolio-btn{
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 20px;
  transition: background .25s ease, transform .1s ease;
}

.get-portfolio-btn:hover {
  background: var(--ink-600);
  transform: translateY(-1px);
}


/* ---------- Sections: Ticker, Sobre, Services, Portfolio, Blog, Contact, Footer, etc. ---------- */
/* Your existing styles for these sections continue unchanged below */

/* ... */
/* ---------- Ticker ---------- */
.scrolling-bar{ position:relative; z-index:3; background:var(--ink-700); overflow:hidden; padding:10px 0; text-align:center; }
.scrolling-track{ display:flex; width:max-content; white-space:nowrap; animation:scroll-left 40s linear infinite; }
.scrolling-track span{ font-size:1.4rem; font-weight:900; color:#fff; padding-right:100px; line-height:1; }
@keyframes scroll-left{ 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ---------- Sobre ---------- */
.about-section{
  position:relative; overflow:hidden; z-index:4;
  padding:120px 20px 100px; text-align:center; background:var(--ink-700);
}
.svg-sobre-background{ position:absolute; inset:0; pointer-events:none; z-index:-1; opacity:.09; }
#sobreSVG{ width:100%; height:100%; display:block; }
#sobreSVG path{ stroke:#f6f6f6; fill:none; vector-effect:non-scaling-stroke; stroke-linecap:round; stroke-linejoin:round; stroke-width:1px; opacity:1; }


.about-text {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 36px;
  border-radius: 20px;
  position: relative;

 
}


.about-text h2 {
  font-size: var(--fs-xl);
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 14px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.sobre-text-header{ text-align:center; font-size:var(--fs-sm); color:var(--brand); margin-bottom:30px; margin-top:200px; }

@media (max-width:768px){
  .sobre-slide{ flex-direction:column; height:auto; width:100%; max-width:90%; margin:0 auto; border-radius:20px; }
  .sobre-slide-text{ width:100%; height:auto; padding:20px; border-radius:30px 30px 0 0; align-items:center; text-align:center; }
  .sobre-slide img{ width:100%; height:200px; border-radius: 20px; top:0; }
}

/* Range */
.sobre-range{
  display:block; margin:550px auto 0; width:200px; -webkit-appearance:none; background:transparent; cursor:pointer;
}
.sobre-range::-webkit-slider-runnable-track{ height:4px; background:#ccc; border-radius:999px; }
.sobre-range::-webkit-slider-thumb{ -webkit-appearance:none; height:16px; width:16px; background:var(--brand); border-radius:50%; margin-top:-6px; }
.sobre-range::-moz-range-track{ height:4px; background:#ccc; border-radius:999px; }
.sobre-range::-moz-range-thumb{ height:16px; width:16px; background:var(--brand); border-radius:50%; border:none; }

/* ---------- √Åreas (mobile) ---------- */
.areas-mobile{
  display:grid; gap:16px; margin:60px auto 0; max-width:700px; padding:0 12px;
}

.area-card{
  position:relative; padding:26px; border-radius:var(--r-xxl);
  background:rgba(50,49,49,.35); border:1px solid rgba(200,200,200,.35);
  box-shadow:0 8px 20px rgba(0,0,0,.18); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  transition:transform .25s ease, box-shadow .25s ease; color:#fff;
}
.area-card:hover{ transform:translateY(-3px); box-shadow:0 12px 26px rgba(0,0,0,.22); }
.area-card h3{ margin:0 0 8px; font-size:1.05rem; color:var(--brand); }
.area-card p{ margin:0; font-size:.98rem; line-height:1.55; color:#f1f1f1; }
@media (min-width:681px){ .areas-mobile{ display:none; } }

/* ---------- VMV ---------- */
#visao-missao-valores{ padding:80px 20px; text-align:center; position:relative; }
#visao-missao-valores h2{ font-size:var(--fs-2xl); margin-bottom:40px; color:var(--brand); font-weight:900; }
.vmv-container{ max-width:1100px; margin:0 auto; }
.vmv-grid{ display:grid; grid-template-columns:repeat(auto-fit,); gap:30px; }
.vmv-card{
  border-radius:var(--r-xxl); box-shadow:var(--sh-soft);
  padding:30px; text-align:left; transition:transform .3s ease, box-shadow .3s ease;
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border:1px solid rgba(200,200,200,.35);
}
.vmv-card:hover{ transform:translateY(-5px); box-shadow:var(--sh-mid); }
.vmv-card h3{ font-size:1.35rem; margin-bottom:10px; color:var(--brand); }
.vmv-card p, .vmv-card li{ font-size:1rem; line-height:1.6; color:#fff; }
.vmv-card ul{ padding-left:18px; margin:0; 

}


#industries {
  text-align: center;
  padding: 80px 20px;
}

.industries-carousel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 400px;
}

/* === Industry Section === */
#industries h2 {
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--brand);
  margin-bottom: var(--space-5);
  text-align: center;
}
/* Title */
.industry-overlay h3 {
  font-size: var(--fs-md);
  font-weight: 800;
  margin-bottom: .4em;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* Industry card with background image */
.industry-card {
  position: absolute;
  width: 300px;
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  opacity: 0;
  transform: scale(0.7) translateX(0);
  transition: all 0.8s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #fff;
}


/* Dark overlay for text readability */
.industry-overlay {
  background: rgba(0,0,0,0.5);
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  text-align: center;
}

.industry-logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
}
.industry-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* States */
.industry-card.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  z-index: 3;
}

.industry-card.left {
  opacity: 0.6;
  transform: scale(0.85) translateX(-220px);
  z-index: 2;
}

.industry-card.right {
  opacity: 0.6;
  transform: scale(0.85) translateX(220px);
  z-index: 2;
}



/* Navigation dots */
.industries-dots {
  margin-top: 25px;
}
.industries-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}
.industries-dots .dot.active {
  background: var(--brand, #e74400);
}



/* ---------- Services ---------- */
#services {
  padding: 100px 20px;
  background: #f8f8f8;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#services h2 {
  font-size: var(--fs-2xl, 2rem);
  margin-bottom: 50px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffb701; /* Rovuma yellow */
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Service card */
.service {
  position: relative;
  padding: 34px 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  overflow: hidden;
}

.service:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.14);
  border-color: rgba(255,183,1,0.45);
}

/* Icon container */
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222222; /* faint yellow background */
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Icon SVG */
.service-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--brand); /* Rovuma yellow */
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hover effects */
.service:hover .service-icon {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* --- Service Titles --- */
.service-card h3 {
  margin: 6px 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #222222; /* Rovuma yellow */
  transition: color 0.3s ease;
}

.service:hover h3 {
  color: var(--brand) /* orange accent on hover */
}

.service p {
  font-size: 0.98rem;
  color: #555;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 768px) {
  #services {
    padding: 70px 16px;
  }
  .service {
    padding: 24px 20px;
  }
}

/* ---------- Products Section ---------- */
#products {
  padding: 40px 10px;
  background: #f8f8f8;
  text-align: center;
}

#products h2 {
  font-size: 2rem;
  margin-bottom: 5px;
  font-weight: 900;
  color: #ffb701;
}

/* Carousel */
.products-carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  height: 720px;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
/* Cards */
.product-card {
  position: absolute;
  inset: 0;
  width: 90%;               /* responsive width */
  max-width: 760px;         /* don’t exceed desktop size */
  height: auto;
  aspect-ratio: 16/9;       /* keep video proportion */
  margin: auto;
  border-radius: 20px;
  background: #111;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
  transition: transform 0.7s ease, opacity 0.7s ease, z-index 0s;
  opacity: 0;
  transform: scale(0.8);
  z-index: 0;
}

.product-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card.active {
  opacity: 1;
  z-index: 3;
  transform: scale(1) translateX(0);
}

.product-card.left {
  opacity: 0.7;
  z-index: 2;
  transform: scale(0.9) translateX(-200px);
}

.product-card.right {
  opacity: 0.7;
  z-index: 2;
  transform: scale(0.9) translateX(200px);
}

/* Overlay */
.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 15px;
  background: rgba(0,0,0,0.55);
  color: #fff;
}

.product-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 2px;
  font-weight: 800;
  color: #ffb701;
}

.product-overlay p {
  font-size: 0.95rem;
  color: #eee;
}

/* -------- Responsive adjustments -------- */
@media (max-width: 768px) {
  .product-card {
    width: 95%;               /* almost full width */
    aspect-ratio: 4/3;        /* taller cards for tablets/phones */
  }

  .product-card.left {
    transform: scale(0.9) translateX(-120px);
  }

  .product-card.right {
    transform: scale(0.9) translateX(120px);
  }

  .product-overlay h3 {
    font-size: 1rem;
  }

  .product-overlay p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .product-card {
    width: 100%;
    aspect-ratio: 3/4;        /* taller layout on small phones */
    border-radius: 12px;
  }

  .product-card.left {
    transform: scale(0.9) translateX(-80px);
  }

  .product-card.right {
    transform: scale(0.9) translateX(80px);
  }

  .product-overlay {
    padding: 10px;
  }

  .product-overlay h3 {
    font-size: 0.9rem;
  }

  .product-overlay p {
    font-size: 0.75rem;
  }
}
/* ---------- Products Grid Section ---------- */
#products-grid {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

#products-grid h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  font-weight: 900;
  color: #ffb701;
}

/* Grid layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual product item */
.product-item {
  background: #f9f9f9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.product-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* Product image */
.product-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product text */
.product-item h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 15px;
  color: #ffb701;
}

.product-item p {
  font-size: 0.95rem;
  color: #333;
  margin: 0 15px 20px;
}


.product-card {
  aspect-ratio: 16/9;
}
@supports not (aspect-ratio: 16/9) {
  .product-card {
    height: auto;
    padding-bottom: 56.25%; /* 16:9 fallback */
    position: relative;
  }
  .product-card video,
  .product-card img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
  }
}


/* ---------- Materials Section ---------- */
#materials {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

#materials h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  Color:  var(--brand);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.material-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.material-card h3 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.material-card p {
  font-size: 0.95rem;
  color: #555;
}

.material-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}


/* ___________Materials Card-Products Page:___________*/


.materials-grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 30px;
}

#materials-products {
  padding: 120px 20px;
  background: #f9f9f9;
  text-align: center;
  margin-top: 60px; 
}

#materials-products h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  Color:  var(--brand);
}

.material-card-products {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card-products img {
  width: 70%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.material-card-products h3 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.material-card-products p {
  font-size: 0.95rem;
  color: #555;
}

.material-card-products:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}




/* ---------- Portf√≥lio ---------- */
#portfolio{ padding:100px 20px; background:#fff; text-align:center; }
#portfolio > h2{ font-size:var(--fs-2xl); margin-bottom:40px; color:var(--brand); font-weight:900; }

/* KPIs */
#portfolio .stats{ display:grid; grid-template-columns:repeat(4, 1fr); gap:22px; max-width:1100px; margin:0 auto 32px; }
#portfolio .stat{ background:#f6f6f6; border-radius:var(--r-xxl); padding:18px; box-shadow:var(--sh-soft); }
#portfolio .stat-number{ display:block; font-size:1.8rem; font-weight:900; color:var(--brand); line-height:1; }
#portfolio .stat-label{ display:block; margin-top:6px; color:#555; font-size:.95rem; }




/* ---------- Modal (imagem contain) ---------- */
.modal{
  position:fixed; inset:0; display:grid; place-items:center;
  background:rgba(0,0,0,.55); backdrop-filter:blur(2px);
  opacity:0; pointer-events:none; transition:opacity .25s ease; z-index:2000;
}
.modal.open{ opacity:1; pointer-events:auto; }
.modal-dialog{
  width:min(960px, 92vw);
  max-height:86vh;
  background:#fff; border-radius:18px; overflow:hidden;
  box-shadow:var(--sh-strong);
  display:grid; grid-template-columns:minmax(320px,1fr) 1fr; position:relative;
}
.modal-close{
  position:absolute; top:10px; right:10px; width:36px; height:36px;
  border:none; border-radius:10px; background:#f2f2f2; color:#333; font-size:18px; cursor:pointer;
  transition:transform .12s ease, background .2s ease; z-index:2;
}
.modal-close:hover{ background:#e9e9e9; transform:scale(1.04); }
.modal-media{ display:flex; align-items:center; justify-content:center; background:#fff; overflow:hidden; }
.modal-img{
  display:block; max-width:100%; max-height:76vh; width:auto; height:auto; object-fit:contain; border-radius:6px;
}
.modal-body{ padding:22px 24px; overflow:auto; }
.modal-title{ font-size:1.35rem; margin:0 0 8px; color:#222; font-weight:900; }
.modal-date{ font-size:.9rem; color:#888; margin-bottom:12px; }
.modal-text{ font-size:1rem; color:#333; line-height:1.65; }

.modal-controls{
  grid-column:1 / -1; display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; gap:12px;
  padding:12px 16px; border-top:1px solid #eee; background:#fafafa;
}
.mc-btn{
  border:1px solid #ddd; background:#fff; padding:8px 12px; border-radius:10px; font-size:.92rem; cursor:pointer;
  transition:background .2s ease, transform .1s ease, box-shadow .2s ease;
}
.mc-btn:hover{ background:#f5f5f5; }
.mc-btn:active{ transform:translateY(1px); }
.mc-close{ margin-left:4px; }
.mc-middle{ display:flex; align-items:center; gap:12px; padding:0 6px; }
.mc-range{ flex:1 1 auto; height:4px; appearance:none; background:#e6e6e6; border-radius:20px; outline:none; }
.mc-range::-webkit-slider-thumb{
  -webkit-appearance:none; appearance:none; width:16px; height:16px; border-radius:50%; background:var(--brand);
  cursor:pointer; border:2px solid #fff; box-shadow:0 0 0 2px rgba(0,0,0,.08);
}
.mc-range::-moz-range-thumb{
  width:16px; height:16px; border-radius:50%; background:var(--brand); border:2px solid #fff; box-shadow:0 0 0 2px rgba(0,0,0,.08); cursor:pointer;
}
.mc-indicator{ min-width:82px; text-align:right; font-size:.9rem; }
body.no-scroll{ overflow:hidden; }

@media (max-width:820px){
  .modal-dialog{
    grid-template-columns:1fr;
    grid-template-rows:auto 1fr auto;
    width:min(720px,94vw);
    max-height:92vh;
  }
  .modal-media{ max-height:42vh; }
  .modal-img{ max-height:50vh; }
  .modal-controls{
    position:sticky; bottom:0; z-index:1;
    grid-template-columns:1fr 1fr;
    grid-template-areas:
      "range range"
      "prev  next"
      "close close";
    gap:10px; padding:12px 14px;
    background:rgba(250,250,250,.98); border-top:1px solid #eee;
  }
  .mc-middle{ grid-area:range; }
  .mc-prev{ grid-area:prev; }
  .mc-next{ grid-area:next; }
  .mc-close{ grid-area:close; }
}



/* ---------- Contactos (full, polished)‚úÖ ---------- */
#contactos{
  padding:100px 20px;
  background:#222;
  color:#eee;
  text-align:center;
  position:relative;
  overflow:hidden;
}

/* subtle vignette + light bloom */
#contactos::before{
  content:"";
  position:absolute; inset:-10%;
  pointer-events:none; z-index:0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 500px at 80% 110%, rgba(231,68,0,.10), transparent 55%);
}

/* Title */
#contactos h2{
  font-size:var(--fs-2xl);
  margin-bottom:40px;
  color:var(--brand);
  font-weight:900;
  letter-spacing:.2px;
}

/* Waves bg */
.svg-contactos-background{ position:absolute; inset:0; pointer-events:none; z-index:0; opacity:.26; }
#contactos #contactosSVG{ width:100%; height:100%; display:block; }
#contactos #contactosSVG path{ stroke:rgba(255,255,255,.35); stroke-width:1.1px; }

/* Grid wrapper (cards + form + map) */
.contacto-grid{
  display:grid; gap:40px;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  max-width:1100px; margin:0 auto;
  text-align:left; position:relative; z-index:1;
}

/* ===== Glass cards‚úÖ ===== */
.contacto{
  position:relative; padding:28px; border-radius:24px; background:transparent; overflow:hidden;
  box-shadow:0 12px 28px rgba(0,0,0,.24);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}


.contacto h3{ margin-bottom:8px; font-size:1.1rem; color:#fff; font-weight:800; }
.contacto p, .contacto a{ font-size:.98rem; color:#fff; line-height:1.55; text-decoration:none; }
.contacto a:hover{ text-decoration:underline; color:var(--brand); }

/* ===== Contact form (glassy, centered, orange focus) ===== */


#form-contacto > *{ position:relative; z-index:1; }
#form-contacto label{ font-size:1rem; font-weight:600; color:#fff; }

/* Inputs */
#form-contacto input,
#form-contacto textarea{
  width:100%;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:border-color .25s ease, background .25s ease, box-shadow .25s ease;
  caret-color:#fff;                 /* white caret by default */
}
#form-contacto input::placeholder,
#form-contacto textarea::placeholder{ color:rgba(255,255,255,.50); }

/* Hover = subtle white lift */
#form-contacto input:hover,
#form-contacto textarea:hover{
  border-color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.10);
}

/* Focus = brand orange glow */
#form-contacto input:focus,
#form-contacto textarea:focus{
  outline:none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(231,68,0,.45), 0 10px 26px rgba(231,68,0,.18);
  background: rgba(255,255,255,.15);
}

/* Textarea sizing */
#form-contacto textarea{ min-height:150px; resize:vertical; }

/* Submit */
.btn-enviar{
  padding:14px 28px; border:none; border-radius:18px;
  background:linear-gradient(180deg, var(--brand), var(--brand-600));
  color:#fff; font-weight:800; font-size:1rem;
  justify-self:center;              /* center button */
  cursor:pointer;
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease;
  box-shadow:0 12px 28px rgba(231,68,0,.30);
}
.btn-enviar:hover{
  background:var(--brand-600);
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(231,68,0,.35);
}
.btn-enviar:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px rgba(231,68,0,.5), 0 18px 40px rgba(231,68,0,.35);
}

/* Status + map */
.form-status{ margin-top:6px; font-size:.9rem; color:#ddd; text-align:center; }
.mapa-embed iframe{ width:100%; border-radius:20px; box-shadow:0 12px 28px rgba(0,0,0,.28); }

/* Autofill (Safari/Chrome) ‚Äì keep white text & glass bg */
#form-contacto input:-webkit-autofill{
  -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,.10) inset !important;
  -webkit-text-fill-color:#fff !important;
  caret-color:#fff;
  transition: background-color 9999s ease-in-out 0s;
}




#form-contacto label {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* Responsive */
@media (max-width: 900px){
  .contacto-grid{ gap:28px; }
  #form-contacto{ padding:24px; border-radius:20px; }
}

/* ---------- Fade-in ---------- */
.fade-section{ opacity:0; transform:translateY(40px); transition:opacity .8s ease-out, transform .8s ease-out; }
.fade-section.visible{ opacity:1; transform:translateY(0); }

/* ---------- Focus ---------- */
a:focus, button:focus{ outline:2px solid var(--brand); outline-offset:3px; }

/* ---------- Footer ---------- */
#footer{ background:#1a1a1a; color:#ddd; padding:60px 20px 20px; font-size:.92rem; }
.footer-container{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:40px; max-width:1200px; margin:0 auto 30px; }
.footer-col h4{ font-size:1.05rem; color:var(--brand); margin-bottom:14px; font-weight:900; }
.footer-col ul{ list-style:none; }
.footer-col ul li{ margin-bottom:10px; }
.footer-col ul li a{ color:#ccc; text-decoration:none; transition:color .2s ease; }
.footer-col ul li a:hover{ color:var(--brand); }
.footer-logo{ width:120px; margin-bottom:16px; }
.footer-col p, .footer-col a{ color:#bbb; line-height:1.6; }
.footer-bottom{ border-top:1px solid #333; padding-top:16px; text-align:center; font-size:.85rem; color:#888; }
.social-links{ display:flex; gap:12px; padding:0; margin:0; list-style:none; }
.social-links a{ display:inline-flex; align-items:center; gap:8px; color:#ccc; text-decoration:none; }
.social-links a:hover{ color:var(--brand); }
.visually-hidden{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
body.page-col{ min-height:100vh; display:flex; flex-direction:column; }
body.page-col main{ flex:1 0 auto; }
#footer{ margin-top:auto; }

@media (max-width:768px){
  .footer-container{ text-align:center; }
  .footer-col{ margin-bottom:20px; }
}

/* ---------- Mobile clean (‚â§680px) ---------- */
@media (max-width:680px){
  body{ font-size:16px; }
  h1,h2,h3{ line-height:1.2; }
  .box-stack-wrapper, .dots{ display:none !important; }
  .text-content{ max-width:none; width:100%; }
  .scrolling-bar{ display:none !important; }
  .sobre-slides-wrapper, .sobre-range, .svg-sobre-background{ display:none !important; }
  .about-text{ transform:none; top:0; margin-top:10px; }
  .vmv-grid{ grid-template-columns:1fr; gap:16px; }
  .vmv-card{ border-radius:24px; padding:20px; }
  #portfolio .charts{ display:none !important; }
  #portfolio .stats{ grid-template-columns:1fr 1fr; gap:12px; }
  #portfolio .stat{ padding:14px; }
  #portfolio .btn-download{ display:none; }
  .blog-grid{ gap:16px; }
  .blog-card{ box-shadow:none; border:1px solid #eee; }
  .blog-card:hover{ transform:none; box-shadow:none; }
  .blog-content p{ -webkit-line-clamp:3; }
  .contacto-grid{ grid-template-columns:1fr; gap:16px; max-width:680px; }
  .contacto{ border-radius:24px; padding:18px; }
  .mapa-embed iframe{ height:180px; }
  nav a{ font-size:.85rem; }
  .fade-section{ opacity:1 !important; transform:none !important; transition:none !important; }
  /* Modal full-screen */
  .modal{ background: rgba(0,0,0,.65); }
  .modal-dialog{
    width:100vw; height:100vh; max-height:100vh; border-radius:0; grid-template-columns:1fr;
  }
  .modal-media{ max-height:42vh; }
  .modal-img{ object-fit:contain; max-height:50vh; }
  .modal-body{ padding:16px 16px 22px; }
  .modal-title{ font-size:1.2rem; }
  .modal-close{
    top:12px; right:12px; width:40px; height:40px; border-radius:12px; font-size:18px; background: rgba(255,255,255,.9);
  }
  .modal-controls{
    position: sticky; bottom:0; z-index:1;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "range range"
      "prev  next"
      "close close";
    gap:10px; padding:12px 14px;
    background: rgba(250,250,250,.98); border-top: 1px solid #eee;
  }
  .mc-middle{ grid-area: range; }
  .mc-prev{ grid-area: prev; }
  .mc-next{ grid-area: next; }
  .mc-close{ grid-area: close; }
  .mc-btn{ padding:12px 14px; border-radius:12px; font-size:1rem; }
  .mc-indicator{ min-width:88px; font-size:.95rem; }
  .mc-range{ height:6px; }
  .mc-range::-webkit-slider-thumb{ width:18px; height:18px; }
  .mc-range::-moz-range-thumb{ width:18px; height:18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}


/* -------------------------------
   Footer ‚Äî full-width like main page
   ------------------------------- */

body.page-col #footer{
  width: 100%;
  max-width: none;
  margin: 0;                 /* prevent accidental centering wrappers */
  border-top: 1px solid #333;
  /* keep your existing footer padding/colors from the global styles */
}

/* Keep inner container behavior (same as main) */
body.page-col #footer .footer-container{
  max-width: 1200px;         /* center inner content like main */
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
}
/* =========================================
   Universal Glassmorphism for site ‚Äúboxes‚Äù
   Applies to: vmv cards, services, blog, portfolio cards/stats, areas
   ========================================= */

/* 1) Turn common boxes into glass cards */
:is(
    .servico,
    .blog-card,
    .projeto,
    .chart-card,
    #portfolio .stat,
    .area-card){
  position: relative;
  color: #f3f3f3;                      /* readable on dark glass */
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
              rgba(24,24,24,.62);      /* charcoal glass like the form */
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xxl);
  box-shadow: 0 20px 50px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
  isolation: isolate;
}

/* live blur + subtle brighten, contained */
:is(
    .servico,
    .blog-card,
    .projeto,
    .chart-card,
    #portfolio .stat,
    .area-card)::before{
  content:"";
  position:absolute; inset:0; z-index:-1;
  backdrop-filter: blur(16px) saturate(50%) brightness (100%);
  -webkit-backdrop-filter: blur(16px) saturate(50%) brightness(50%);
}



/* 2) Typography inside glass cards (ensure light-on-dark) */
:is(
    
    .servico,
    .blog-card,
    .projeto,
    .chart-card,
    #portfolio .stat,
    .area-card) h3,
:is(.vmv-card,
    .servico,
    .blog-card,
    .projeto,
    .chart-card,
    #portfolio .stat,
    .area-card) h4{
  color:#fff;
  font-weight:900;
}
:is(.vmv-card,
    .servico,
    .blog-card,
    .projeto,
    .chart-card,
    #portfolio .stat,
    .area-card) p,
:is(.vmv-card,
    .servico,
    .blog-card,
    .projeto,
    .chart-card,
    #portfolio .stat,
    .area-card) li,
:is(.vmv-card,
    .servico,
    .blog-card,
    .projeto,
    .chart-card,
    #portfolio .stat,
    .area-card) .stat-label{
  color:#e9e9e9;
}

/* 3) Hover: tiny lift + crisper border */
:is(.vmv-card,
    .servico,
    .blog-card,
    .projeto,
    .chart-card,
    #portfolio .stat,
    .area-card):hover{
  transform: translateY(3px);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 26px 60px rgba(0,0,0,.3), inset 0 10px 0 rgba(255,255,255,.10);
}

/* 4) Keep images crisp inside cards (blog/projeto) */
.blog-card img,
.projeto img{
  display:block;
  width:100%;
  object-fit:cover;
}

/* 5) If you‚Äôd like a slightly lighter glass on super-white sections,
      uncomment this optional context tweak: */
/*
#servicos .servico,
#blog .blog-card,
#portfolio .chart-card,
#portfolio .stat{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
              rgba(34,34,34,.55);
}
*/

/* 6) Mobile radius harmony with your form */
@media (max-width:680px){
  :is(.vmv-card, .servico, .blog-card, .projeto, .chart-card, #portfolio .stat, .area-card){
    border-radius: 50px;
  }
}

/*politicas de privacidade*/
#privacy-modal .modal-dialog {
  width: min(900px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
              rgba(24,24,24,.65);
  backdrop-filter: blur(20px) saturate(140%) brightness(108%);
  -webkit-backdrop-filter: blur(20px) saturate(140%) brightness(108%);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  color: #d8d8d8;

}



/* 🔽 centralizar conteúdo dentro da modal */
#privacy-modal .modal-dialog {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centraliza verticalmente */
  align-items: center;       /* centraliza horizontalmente */
  text-align: center;        /* centraliza títulos e parágrafos */
  min-height: 80vh;          /* ocupa 80% da altura da tela */
  margin: auto;              /* garante centralização */
}

#privacy-modal .modal-dialog h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff; /* totalmente branco */
  margin-bottom: 20px;
}

#privacy-modal .modal-dialog h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 18px 0 10px;
  color: #cfcfcf; /* tom mais escuro que o parágrafo */
}

#privacy-modal .modal-dialog p {
  font-size: 1rem;
  line-height: 1.6;
  color: #d8d8d8; /* quase branco, mas levemente cinza */
  margin-bottom: 16px;

  /* 🔽 limitar largura do texto e centralizar bloco */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* centraliza o texto dentro do bloco */
}

/* 🔽 destacar emails em laranja */
#privacy-modal .modal-dialog a[href^="mailto:"] {
  color: #e74400; /* laranja da identidade VT */
  font-weight: 600;
  text-decoration: none;
}

#privacy-modal .modal-dialog a[href^="mailto:"]:hover {
  text-decoration: underline;
}

/* Show only on desktop */
.desktop-only {
  display: block;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

/* Carreiras topo container */
.carreiras-topo {
  position: relative;
  height: 420px; /* adjust as needed */
  overflow: hidden;
  background: radial-gradient(
    1200px 380px at 50% 20%,
    rgba(255,255,255,.06),
    rgba(0,0,0,0)
  );
}

/* SVG takes full space */
.carreiras-topo {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: radial-gradient(1200px 380px at 50% 20%, rgba(255,255,255,.06), rgba(0,0,0,0));
}

#carreirasTopo {
  width: 100%;
  height: 100%;
  display: block;
}

#carreirasTopo path {
  fill: none;
  stroke: rgba(255,255,255,.28);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}
#carreirasTopo path.level-0 { stroke: rgba(231,68,0,.35); }
#carreirasTopo path.level-1 { stroke: rgba(231,68,0,.25); }

/* Show only on desktop */
@media (max-width: 768px) {
  .carreiras-topo { display: none !important; }
}

/* ===========================
   MODAIS GERAIS
   =========================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: rgba(20, 20, 20, 0.96);
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.privacy-dialog h2,
.terms-dialog h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #fff;
}

.privacy-text p,
.terms-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #d8d8d8;
  margin-bottom: 16px;
}

.privacy-text h3,
.terms-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 18px 0 10px;
  color: #cfcfcf;
}

/* Links dentro dos modais */
.privacy-text a,
.terms-text a {
  color: #e74400;
  font-weight: 600;
  text-decoration: none;
}

.privacy-text a:hover,
.terms-text a:hover {
  text-decoration: underline;
}

/* ===== Forçar fundo muito escuro no portfólio ===== */
#portfolio .chart-card,
#portfolio .stat {
  background: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,.45)) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #f3f3f3 !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}

/* Ajustar textos dentro */
#portfolio .chart-card h3,
#portfolio .stat-label {
  color: #ddd !important;
}

#portfolio .stat-number {
  color: var(--brand) !important;
}

.dropdown-mobile-menu { display: none; padding-left: 15px; }
.dropdown-mobile-menu.open { display: block; }

