/* ==========================================================================
   DAC — Consultoria e Auditoria Ambiental
   Folha de estilos principal
   Paleta extraída do logotipo: verde esmeralda #43BF61 / verde natureza #76C04D
   ========================================================================== */

:root {
  /* Cores */
  --forest: #0B3D2A;          /* Verde floresta profundo (principal) */
  --forest-2: #145A3C;
  --green: #43BF61;           /* Verde do logotipo */
  --green-2: #76C04D;         /* Verde secundário do logotipo */
  --gold: #C9A227;            /* Dourado (acento) */
  --gold-2: #E3C25B;
  --bg: #F6F8F7;              /* Cinzento muito claro */
  --white: #FFFFFF;
  --charcoal: #22302B;        /* Texto escuro */
  --muted: #5C6B65;

  /* Tipografia */
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Sombras e raios */
  --shadow-sm: 0 6px 18px rgba(11, 61, 42, .07);
  --shadow-md: 0 14px 40px rgba(11, 61, 42, .12);
  --shadow-lg: 0 24px 70px rgba(11, 61, 42, .18);
  --radius: 22px;
  --radius-sm: 14px;

  /* Transições */
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ============ BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--forest);
  line-height: 1.15;
}

img { max-width: 100%; }

a { color: var(--green); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--forest-2); }

::selection { background: var(--green); color: #fff; }

/* Acessibilidade — foco visível */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 4000;
  background: var(--forest);
  color: #fff;
  padding: .6rem 1.2rem;
  border-radius: 10px;
  transition: top .3s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ============ PRELOADER ============ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--white);
  display: grid;
  place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-leaf { text-align: center; }
.preloader-leaf img { animation: pulse 1.6s ease-in-out infinite; }
.preloader-bar {
  width: 160px; height: 4px;
  background: #e6ece8;
  border-radius: 4px;
  margin: 1.2rem auto 0;
  overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, var(--green), var(--green-2));
  border-radius: 4px;
  animation: loadslide 1.1s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.06); opacity: .85; } }
@keyframes loadslide { 0% { transform: translateX(-120%); } 100% { transform: translateX(420%); } }

/* ============ CURSOR PERSONALIZADO ============ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 4500;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 7px; height: 7px; background: var(--green); }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(67, 191, 97, .55);
  transition: width .25s, height .25s, border-color .25s;
}
.cursor-ring.hovering { width: 60px; height: 60px; border-color: var(--gold); }
@media (hover: none), (max-width: 991px) { .cursor-dot, .cursor-ring { display: none; } }

/* ============ BOTÕES ============ */
.btn { font-family: var(--font-head); font-weight: 700; border-radius: 999px; padding: .7rem 1.7rem; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); border: none; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn-lg { padding: .95rem 2.3rem; font-size: 1.02rem; }

.btn-gradient {
  background: linear-gradient(120deg, var(--forest-2), var(--green));
  color: #fff;
  box-shadow: 0 10px 26px rgba(20, 90, 60, .35);
}
.btn-gradient:hover { color: #fff; box-shadow: 0 16px 36px rgba(20, 90, 60, .45); }

.btn-gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: var(--forest);
  box-shadow: 0 10px 26px rgba(201, 162, 39, .35);
}
.btn-gold:hover { color: var(--forest); }

.btn-ghost {
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .65);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }
.btn-whatsapp:hover { color: #fff; background: #1fbd59; }

/* Efeito ripple (JS adiciona o span) */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transform: scale(0);
  animation: ripple .6s ease-out;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ============ NAVEGAÇÃO ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 3000;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: .8rem 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: .35rem 0;
}
.navbar-brand { display: flex; align-items: center; gap: .8rem; }
.brand-logo { height: 52px; border-radius: 10px; background: #fff; padding: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-weight: 900; font-size: 1.35rem; color: #fff; letter-spacing: 1px; transition: color .3s; }
.brand-text small { font-size: .68rem; color: rgba(255, 255, 255, .85); letter-spacing: .5px; transition: color .3s; }
.scrolled .brand-text strong { color: var(--forest); }
.scrolled .brand-text small { color: var(--muted); }

.navbar-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: #fff;
  margin: 0 .55rem;
  position: relative;
  padding: .55rem .2rem;
  transition: color .3s;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 2.5px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 3px;
  transition: width .35s var(--ease);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 100%; }
.scrolled .navbar-nav .nav-link { color: var(--charcoal); }
.navbar-nav .nav-link:hover { color: var(--gold-2); }
.scrolled .navbar-nav .nav-link:hover { color: var(--green); }

.nav-actions { display: flex; align-items: center; gap: .7rem; }
.icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .3s, color .3s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .15); }
.scrolled .icon-btn { color: var(--charcoal); }
.scrolled .icon-btn:hover { background: rgba(11, 61, 42, .08); }

.lang-btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  padding: .42rem .95rem;
  backdrop-filter: blur(6px);
  transition: all .3s;
}
.lang-btn:hover { background: rgba(255, 255, 255, .28); }
.scrolled .lang-btn { color: var(--forest); border-color: rgba(11, 61, 42, .3); background: rgba(11, 61, 42, .06); }

/* Mega menu */
.mega-parent { position: static; }
.mega-menu {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 2.2rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .35s var(--ease);
}
.mega-parent:hover .mega-menu,
.mega-parent:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-intro h4 { font-size: 1.25rem; margin-bottom: .6rem; }
.mega-intro p { font-size: .9rem; color: var(--muted); }
.mega-link {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .65rem .9rem;
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  font-weight: 500;
  font-size: .92rem;
  transition: background .3s, transform .3s;
}
.mega-link i { color: var(--green); width: 22px; text-align: center; }
.mega-link:hover { background: rgba(67, 191, 97, .1); transform: translateX(6px); color: var(--forest); }

/* Barra de pesquisa */
.search-bar {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.search-bar.open { max-height: 90px; }
.search-bar form { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; }
.search-bar i { color: var(--green); }
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.05rem;
  color: var(--charcoal);
}
.search-bar .icon-btn { color: var(--charcoal); }

/* Toggler móvel */
.nav-actions-mobile { display: flex; align-items: center; gap: .6rem; }
.navbar-toggler { border: none; display: flex; flex-direction: column; gap: 5px; padding: .5rem; }
.navbar-toggler span { width: 26px; height: 2.5px; background: #fff; border-radius: 3px; transition: background .3s; }
.scrolled .navbar-toggler span { background: var(--forest); }
.navbar-toggler:focus { box-shadow: none; }

/* Menu móvel */
.mobile-menu { background: var(--white); border-radius: 24px 0 0 24px; }
.mobile-nav { list-style: none; }
.mobile-nav a {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--forest);
  padding: .9rem 0;
  border-bottom: 1px solid #eef2ef;
  transition: padding-left .3s, color .3s;
}
.mobile-nav a:hover { padding-left: 10px; color: var(--green); }

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}
#particles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

.hero-slider, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; z-index: 1; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

.hero-bg { position: absolute; inset: -6%; background-size: cover; background-position: center; }
.is-active .kenburns { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7, 38, 26, .88) 0%, rgba(11, 61, 42, .55) 55%, rgba(11, 61, 42, .25) 100%);
}

.hero-content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1140px;
}
.hero-eyebrow {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(227, 194, 91, .45);
  border-radius: 999px;
  padding: .45rem 1.3rem;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
}
.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 4.3rem);
  font-weight: 900;
  color: #fff;
  max-width: 18ch;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, .88);
  max-width: 56ch;
  margin-bottom: 2.2rem;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Entrada animada do conteúdo do slide activo */
.hero-slide .hero-eyebrow, .hero-slide .hero-title, .hero-slide .hero-sub, .hero-slide .hero-cta {
  opacity: 0;
  transform: translateY(34px);
}
.hero-slide.is-active .hero-eyebrow { animation: riseIn .8s .2s var(--ease) forwards; }
.hero-slide.is-active .hero-title { animation: riseIn .9s .4s var(--ease) forwards; }
.hero-slide.is-active .hero-sub { animation: riseIn .9s .6s var(--ease) forwards; }
.hero-slide.is-active .hero-cta { animation: riseIn .9s .8s var(--ease) forwards; }
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }

/* Dots */
.hero-dots {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .8);
  background: transparent;
  padding: 0;
  transition: all .35s var(--ease);
}
.hero-dots button.active { background: var(--gold-2); border-color: var(--gold-2); height: 32px; border-radius: 8px; }

/* Indicador de scroll */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .85);
}
.scroll-indicator:hover { color: #fff; }
.mouse {
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 20px;
  display: block;
  position: relative;
}
.wheel {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gold-2);
  border-radius: 4px;
  animation: wheel 1.7s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }
.scroll-text { font-size: .72rem; letter-spacing: 3px; text-transform: uppercase; }

/* ============ SECÇÕES — GERAL ============ */
.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; position: relative; }
.bg-soft { background: #EFF4F1; }
.bg-forest { background: linear-gradient(140deg, #07231A, var(--forest) 60%, var(--forest-2)); }
.parallax { background-attachment: fixed; background-size: cover; background-position: center; }
@media (max-width: 991px) { .parallax { background-attachment: scroll; } }

.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(67, 191, 97, .1);
  border-radius: 999px;
  padding: .4rem 1.2rem;
  margin-bottom: 1rem;
}
.section-eyebrow.light { color: var(--gold-2); background: rgba(255, 255, 255, .08); }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: .9rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

.glass {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
}

/* ============ SOBRE ============ */
.about-media { position: relative; }
.about-media .img-main {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/4.6;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: 28px;
  right: -22px;
  padding: 1.3rem 1.7rem;
  text-align: center;
  animation: floaty 4.5s ease-in-out infinite;
}
.badge-num, .badge-plus { font-family: var(--font-head); font-weight: 900; font-size: 2.4rem; color: var(--forest); }
.badge-plus { color: var(--gold); }
.badge-label { display: block; font-size: .82rem; color: var(--muted); font-weight: 500; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

.leaf-shape {
  position: absolute;
  top: -34px; left: -34px;
  width: 130px; height: 130px;
  background: linear-gradient(140deg, var(--green), var(--green-2));
  border-radius: 0 60% 60% 60%;
  opacity: .18;
  z-index: -1;
  animation: floaty 6s 1s ease-in-out infinite;
}

.lead-text { font-size: 1.12rem; color: var(--charcoal); font-weight: 500; }
.about p { color: var(--muted); }

.mvv-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--green);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mvv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mvv-card i { font-size: 1.5rem; color: var(--gold); margin-bottom: .6rem; }
.mvv-card h5 { font-size: 1.05rem; margin-bottom: .4rem; }
.mvv-card p { font-size: .88rem; margin: 0; }

.values-strip { display: flex; flex-wrap: wrap; gap: .6rem; }
.value-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid rgba(67, 191, 97, .3);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--forest);
  transition: all .3s var(--ease);
}
.value-chip i { color: var(--green); }
.value-chip:hover { background: var(--forest); color: #fff; transform: translateY(-3px); }
.value-chip:hover i { color: var(--gold-2); }

/* Linha do tempo */
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  position: relative;
  padding-top: 1.5rem;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 0; left: 4%; right: 4%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 3px;
}
.timeline-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.timeline-item::before {
  content: '';
  position: absolute;
  top: -1.62rem; left: 50%;
  width: 15px; height: 15px;
  margin-left: -7px;
  background: var(--gold);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .3);
}
.timeline-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.tl-year { font-family: var(--font-head); font-weight: 900; color: var(--green); font-size: 1.25rem; }
.timeline-item p { font-size: .87rem; color: var(--muted); margin: .4rem 0 0; }
@media (max-width: 767px) {
  .timeline-track { grid-template-columns: 1fr 1fr; }
  .timeline-track::before, .timeline-item::before { display: none; }
}

/* ============ PORQUÊ ESCOLHER-NOS ============ */
.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(140deg, rgba(67, 191, 97, .08), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.why-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.why-card:hover::before { opacity: 1; }
.why-card i {
  font-size: 1.5rem;
  color: #fff;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--forest-2), var(--green));
  border-radius: 18px;
  margin-bottom: 1.1rem;
  transition: transform .4s var(--ease);
}
.why-card:hover i { transform: rotate(-8deg) scale(1.08); }
.why-card h5 { font-size: 1.08rem; margin-bottom: .5rem; }
.why-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ============ SERVIÇOS ============ */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: rgba(67, 191, 97, .35); }
.service-icon {
  width: 64px; height: 64px;
  border-radius: 50% 50% 50% 12%;
  background: linear-gradient(140deg, rgba(67, 191, 97, .14), rgba(118, 192, 77, .22));
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  transition: all .4s var(--ease);
}
.service-icon i { font-size: 1.5rem; color: var(--green); transition: color .4s; }
.service-card:hover .service-icon { background: linear-gradient(140deg, var(--forest-2), var(--green)); transform: rotate(6deg); }
.service-card:hover .service-icon i { color: #fff; }
.service-card h5 { font-size: 1.02rem; margin-bottom: .55rem; }
.service-card p { font-size: .87rem; color: var(--muted); flex: 1; }
.service-link { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--forest); display: inline-flex; align-items: center; gap: .45rem; }
.service-link i { transition: transform .3s var(--ease); }
.service-link:hover { color: var(--green); }
.service-link:hover i { transform: translateX(6px); }

/* ============ PROCESSO ============ */
.process-track { position: relative; }
.process-line { position: absolute; top: 42px; left: 5%; right: 5%; width: 90%; height: 10px; display: none; }
@media (min-width: 992px) { .process-line { display: block; } }
.process-progress { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2.4s var(--ease); }
.process-track.animated .process-progress { stroke-dashoffset: 0; }

.p-step { position: relative; padding-top: .5rem; }
.p-step span {
  position: absolute;
  top: -8px; right: 18%;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: .8rem;
  color: var(--forest);
  background: var(--gold-2);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 2;
}
.p-step i {
  width: 74px; height: 74px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 24px;
  margin: 0 auto 1rem;
  backdrop-filter: blur(8px);
  transition: all .4s var(--ease);
}
.p-step:hover i { background: var(--gold); color: var(--forest); transform: translateY(-8px) rotate(-6deg); border-color: var(--gold); }
.p-step h6 { color: #fff; font-size: .95rem; }

/* ============ PORTFÓLIO ============ */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.6rem; }
.filter-btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  border: 1.5px solid rgba(11, 61, 42, .2);
  background: #fff;
  color: var(--charcoal);
  border-radius: 999px;
  padding: .55rem 1.5rem;
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.filter-btn.active { background: linear-gradient(120deg, var(--forest-2), var(--green)); color: #fff; border-color: transparent; }

.masonry { columns: 3 300px; column-gap: 1.4rem; }
.m-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: opacity .4s, transform .4s var(--ease), box-shadow .4s;
}
.m-item:hover { box-shadow: var(--shadow-lg); }
.m-item.hide { display: none; }
.m-item img { width: 100%; display: block; transition: transform .8s var(--ease); }
.m-item:hover img { transform: scale(1.08); }
.m-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.4rem 1.3rem;
  background: linear-gradient(transparent, rgba(7, 35, 26, .92));
  color: #fff;
  transform: translateY(20%);
  opacity: 0;
  transition: all .45s var(--ease);
}
.m-item:hover figcaption { transform: translateY(0); opacity: 1; }
.m-cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: .3rem;
}
.m-item h6 { color: #fff; font-size: .98rem; margin: 0; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 4800;
  background: rgba(5, 22, 16, .93);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 3rem 1.5rem;
  text-align: center;
}
.lightbox.open { display: grid; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox img { max-height: 74vh; max-width: 92vw; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox h5 { color: #fff; margin-top: 1.2rem; }
.lb-close {
  position: absolute;
  top: 24px; right: 28px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all .3s;
}
.lb-close:hover { background: var(--gold); color: var(--forest); }

/* ============ INDÚSTRIAS ============ */
.ind-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1.6rem 1rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all .4s var(--ease);
}
.ind-card i { font-size: 1.7rem; color: var(--green); display: block; margin-bottom: .7rem; transition: transform .4s var(--ease); }
.ind-card span { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--forest); }
.ind-card:hover { background: var(--forest); transform: translateY(-8px); }
.ind-card:hover i { color: var(--gold-2); transform: scale(1.18); }
.ind-card:hover span { color: #fff; }

/* ============ ESTATÍSTICAS ============ */
.stat { padding: 1rem 0; }
.stat-num, .stat-plus {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: #fff;
}
.stat-plus { color: var(--gold-2); }
.stat p { color: rgba(255, 255, 255, .78); font-size: .92rem; margin: .3rem 0 0; }

/* ============ TESTEMUNHOS ============ */
.testi-swiper { padding-bottom: 3.4rem; }
.testi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--green);
}
.stars { color: var(--gold); margin-bottom: 1rem; letter-spacing: 3px; }
.testi-card p { color: var(--charcoal); font-style: italic; font-size: .97rem; }
.testi-author strong { display: block; font-family: var(--font-head); color: var(--forest); font-size: .95rem; }
.testi-author span { font-size: .82rem; color: var(--muted); }
.swiper-pagination-bullet { background: var(--green); opacity: .35; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--gold); width: 24px; border-radius: 6px; }

/* ============ CERTIFICAÇÕES ============ */
.certs-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.4rem; }
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  border-radius: 999px;
  padding: .8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  font-size: .9rem;
  color: var(--forest);
  transition: all .35s var(--ease);
  animation: floaty 5s ease-in-out infinite;
}
.cert-badge:nth-child(2) { animation-delay: .7s; }
.cert-badge:nth-child(3) { animation-delay: 1.4s; }
.cert-badge:nth-child(4) { animation-delay: 2.1s; }
.cert-badge i { color: var(--gold); font-size: 1.15rem; }
.cert-badge:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-md); }

/* ============ EQUIPA ============ */
.team-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.team-photo { overflow: hidden; aspect-ratio: 4/4; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.07); }
.team-info { padding: 1.5rem; text-align: center; }
.team-info h5 { font-size: 1.08rem; margin-bottom: .2rem; }
.team-info span { font-size: .85rem; color: var(--muted); display: block; margin-bottom: .9rem; }
.team-social { display: flex; gap: .6rem; justify-content: center; }
.team-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(67, 191, 97, .1);
  color: var(--green);
  transition: all .3s var(--ease);
}
.team-social a:hover { background: var(--forest); color: #fff; transform: translateY(-4px); }

/* ============ ESG ============ */
.esg-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--green);
  text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.esg-card.s { border-top-color: var(--gold); }
.esg-card.g { border-top-color: var(--forest-2); }
.esg-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.esg-card i { font-size: 2rem; color: var(--green); margin-bottom: .8rem; }
.esg-card.s i { color: var(--gold); }
.esg-card.g i { color: var(--forest-2); }
.esg-card h5 { font-size: 1.05rem; }
.esg-card p { font-size: .87rem; color: var(--muted); margin: 0; }

.esg-chart { padding: 2rem; }
.esg-chart h6 { margin-bottom: 1.4rem; font-size: .95rem; }
.esg-bar { display: grid; grid-template-columns: 110px 1fr 46px; align-items: center; gap: .8rem; margin-bottom: 1rem; font-size: .84rem; }
.esg-bar .bar { height: 10px; background: #e4ebe6; border-radius: 8px; overflow: hidden; }
.esg-bar .fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--gold-2));
  border-radius: 8px;
  transition: width 1.6s var(--ease);
}
.esg-bar em { font-style: normal; font-weight: 700; color: var(--forest); }
.esg-note { font-size: .78rem; color: var(--muted); margin: .6rem 0 0; }

/* ============ FAQ ============ */
.faq-accordion { max-width: 820px; margin: 0 auto; }
.faq-accordion .accordion-item {
  border: none;
  background: #fff;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--forest);
  background: #fff;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { background: rgba(67, 191, 97, .07); color: var(--green); }
.faq-accordion .accordion-button::after { filter: hue-rotate(260deg); }
.faq-accordion .accordion-body { color: var(--muted); font-size: .93rem; padding: 1.25rem 1.5rem; }

/* ============ CTA ============ */
.cta-title { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 22ch; margin: 0 auto 1rem; }
.cta-sub { color: rgba(255, 255, 255, .85); max-width: 58ch; margin: 0 auto 2.2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============ CONTACTO ============ */
.contact-info { padding: 2.1rem; height: 100%; }
.c-item { display: flex; gap: 1.1rem; margin-bottom: 1.5rem; }
.c-item i {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--forest-2), var(--green));
  color: #fff;
  border-radius: 14px;
  font-size: 1.1rem;
}
.c-item strong { font-family: var(--font-head); color: var(--forest); font-size: .95rem; }
.c-item p { margin: .15rem 0 0; font-size: .9rem; color: var(--muted); }
.c-item a { color: var(--muted); }
.c-item a:hover { color: var(--green); }

.contact-form { padding: 2.1rem; }
.form-label { font-weight: 600; font-size: .87rem; color: var(--forest); }
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid #dde6e0;
  padding: .8rem 1rem;
  font-size: .93rem;
  background: rgba(255, 255, 255, .85);
  transition: border-color .3s, box-shadow .3s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(67, 191, 97, .14);
}
.form-feedback { margin: .8rem 0 0; font-size: .88rem; color: var(--green); font-weight: 500; text-align: center; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; filter: saturate(.9); }

/* ============ RODAPÉ ============ */
.site-footer {
  background: linear-gradient(160deg, #07231A, var(--forest));
  color: rgba(255, 255, 255, .78);
  padding: 4.5rem 0 0;
}
.footer-logo { height: 60px; border-radius: 12px; background: #fff; padding: 6px; margin-bottom: 1.1rem; }
.footer-about { font-size: .9rem; max-width: 34ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  transition: all .3s var(--ease);
}
.footer-social a:hover { background: var(--gold); color: var(--forest); transform: translateY(-4px); }
.site-footer h6 { color: #fff; font-size: .95rem; margin-bottom: 1.1rem; letter-spacing: .5px; }
.footer-links { list-style: none; }
.footer-links a {
  display: inline-block;
  color: rgba(255, 255, 255, .72);
  font-size: .88rem;
  padding: .28rem 0;
  transition: all .3s;
}
.footer-links a:hover { color: var(--gold-2); transform: translateX(5px); }
.site-footer p { font-size: .88rem; }
.newsletter-form {
  display: flex;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: .8rem;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: .75rem 1.2rem;
  font-size: .9rem;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .55); }
.newsletter-form button {
  background: var(--gold);
  border: none;
  color: var(--forest);
  padding: 0 1.3rem;
  transition: background .3s;
}
.newsletter-form button:hover { background: var(--gold-2); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 3rem;
  padding: 1.4rem 0;
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: .82rem; color: rgba(255, 255, 255, .55); }

/* ============ FLUTUANTES ============ */
.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 3500;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  animation: floaty 3.5s ease-in-out infinite;
  transition: transform .3s;
}
.float-whatsapp:hover { color: #fff; transform: scale(1.1); }

.back-top {
  position: fixed;
  right: 28px;
  bottom: 100px;
  z-index: 3500;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--forest);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all .4s var(--ease);
  box-shadow: var(--shadow-md);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold); color: var(--forest); }

/* CTA fixo mobile */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3400;
  display: flex;
  gap: .6rem;
  padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 -8px 26px rgba(11, 61, 42, .14);
}
.mobile-cta .btn { flex: 1; font-size: .9rem; padding: .7rem 0; }

/* ============ MOBILE ============ */
@media (max-width: 991px) {
  .hero { min-height: 560px; }
  .hero-dots { right: 16px; }
  .about-badge { right: 10px; bottom: 14px; padding: 1rem 1.3rem; }
  .badge-num, .badge-plus { font-size: 1.8rem; }
  .float-whatsapp { bottom: 86px; }
  .back-top { bottom: 156px; right: 24px; }
  body { padding-bottom: 66px; } /* espaço para CTA fixo */
  .masonry { columns: 2 220px; }
}
@media (max-width: 575px) {
  .hero-cta .btn { width: 100%; text-align: center; }
  .masonry { columns: 1; }
  .esg-bar { grid-template-columns: 92px 1fr 40px; }
  .map-wrap iframe { height: 280px; }
  .scroll-indicator { display: none; }
}

/* ============ VALORES (cartões — perfil oficial) ============ */
.value-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.1rem;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--green);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-bottom-color: var(--gold); }
.value-card i {
  font-size: 1.4rem;
  color: #fff;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--forest-2), var(--green));
  border-radius: 16px;
  margin: 0 auto .9rem;
  transition: transform .35s var(--ease);
}
.value-card:hover i { transform: rotate(-8deg) scale(1.08); }
.value-card h6 { font-size: .92rem; margin-bottom: .4rem; }
.value-card p { font-size: .8rem; color: var(--muted); margin: 0; }

/* ============ PILARES (secção Porquê Escolher-nos) ============ */
.pillar {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1rem;
  height: 100%;
  backdrop-filter: blur(8px);
  transition: all .4s var(--ease);
}
.pillar:hover { background: rgba(255, 255, 255, .14); transform: translateY(-6px); }
.pillar i { font-size: 1.6rem; color: var(--gold-2); display: block; margin-bottom: .7rem; transition: transform .4s var(--ease); }
.pillar:hover i { transform: scale(1.15); }
.pillar h6 { color: #fff; font-size: .92rem; margin: 0; }

/* Botão voltar à holding N'toto */
.btn-holding-back {
  border: 1.5px solid rgba(255,255,255,.55) !important;
  color: #fff !important;
  background: rgba(255,255,255,.08);
  font-weight: 600;
  white-space: nowrap;
}
.site-header.scrolled .btn-holding-back {
  border-color: var(--forest) !important;
  color: var(--forest) !important;
  background: transparent;
}
.btn-holding-back:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--forest) !important;
}
.footer-holding-link {
  color: var(--gold-2) !important;
  font-weight: 600;
}
.footer-holding-link:hover { text-decoration: underline; }

