/* ===================================================================
   VARIABLES — Neutral palette + Eco-minimal accents
=================================================================== */
:root{
  /* Core brand */
  --clr-primary: #006E60;
  --clr-primary-dark: #005348;
  --clr-accent:  #45B29A;
  --clr-neutral-900:#222222;
  --clr-neutral-700:#333333;
  --clr-neutral-500:#666666;
  --clr-neutral-200:#F0F0F0;
  --clr-neutral-100:#FFFFFF;

  /* Typography */
  --ff-heading:'Space Grotesk', sans-serif;
  --ff-body:'DM Sans', sans-serif;

  /* Motion */
  --ease:cubic-bezier(.4,0,.2,1);
  --dur-fast:.25s;
  --dur-mid:.5s;
}

/* ===================================================================
   BASE TYPOGRAPHY & LAYOUT
=================================================================== */
html{scroll-behavior:smooth;}
body{
  font-family:var(--ff-body);
  color:var(--clr-neutral-700);
  background:var(--clr-neutral-100);
  line-height:1.6;
}
h1,h2,h3,h4,h5,h6{
  font-family:var(--ff-heading);
  color:var(--clr-neutral-900);
  font-weight:600;
  line-height:1.2;
  text-align:center;
}
p{margin-bottom:1rem;}
img{display:block;max-width:100%;height:auto;}
a{color:var(--clr-primary);transition:color var(--dur-fast) var(--ease);}
a:hover{color:var(--clr-primary-dark);text-decoration:underline;}

/* ===================================================================
   GLOBAL BUTTONS
=================================================================== */
.btn,
button,
input[type='button'],
input[type='submit']{
  --btn-bg:var(--clr-primary);
  --btn-bg-hover:var(--clr-primary-dark);
  --btn-clr:var(--clr-neutral-100);

  display:inline-block;
  padding:.75rem 2rem;
  border-radius:.5rem;
  background:var(--btn-bg);
  color:var(--btn-clr);
  font-weight:500;
  text-align:center;
  transition:background var(--dur-fast) var(--ease),
             transform var(--dur-fast) var(--ease);
}
.btn:hover,
button:hover,
input[type='button']:hover,
input[type='submit']:hover{
  background:var(--btn-bg-hover);
  transform:translateY(-2px);
}

/* ===================================================================
   HERO SECTION
=================================================================== */
#hero{
  position:relative;
  color:#FFFFFF;
  text-shadow:1px 1px 3px rgba(0,0,0,.6);
}
#hero::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5));
  z-index:0;
}
#hero > *{position:relative;z-index:1;}

/* ===================================================================
   CARDS — Services, Press, Team, etc.
=================================================================== */
.card,
.item,
.team-member,
.product-card,
.testimonial{
  background:var(--clr-neutral-100);
  border-radius:1rem;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  transition:transform var(--dur-fast) var(--ease),
             box-shadow var(--dur-fast) var(--ease);
}
.card:hover,
.item:hover,
.team-member:hover,
.product-card:hover,
.testimonial:hover{
  transform:translateY(-4px);
  box-shadow:0 6px 16px rgba(0,0,0,.08);
}

/* Image container inside cards */
.card-image,
.image-container{
  width:100%;
  height:13rem;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.card-image img,
.image-container img{
  width:100%;
  height:100%;
  object-fit:cover;
  margin:0 auto;
}

/* ===================================================================
   STATISTICS BOXES
=================================================================== */
.stats-box{
  background:var(--clr-neutral-200);
  border-radius:1rem;
  padding:2rem;
  text-align:center;
}
.stats-box span{
  display:block;
}
.stats-number{font-size:2.5rem;font-family:var(--ff-heading);color:var(--clr-primary);}

/* ===================================================================
   TIMELINE (Behind the Scenes)
=================================================================== */
.timeline{
  position:relative;
}
.timeline::before{
  content:'';
  position:absolute;
  left:50%;
  top:0;
  transform:translateX(-50%);
  width:2px;
  height:100%;
  background:var(--clr-primary);
}
.timeline-item{
  position:relative;
  width:100%;
  max-width:48%;
  padding:1rem 2rem;
}
.timeline-item:nth-child(odd){margin-left:auto;}
.timeline-item::before{
  content:'';
  position:absolute;
  top:1rem;
  width:1.25rem;
  height:1.25rem;
  background:var(--clr-primary);
  border-radius:50%;
  left:-.65rem;
}
.timeline-item:nth-child(odd)::before{right:-.65rem;left:auto;}
@media(max-width:768px){
  .timeline::before{left:.5rem;transform:none;}
  .timeline-item,.timeline-item:nth-child(odd){max-width:100%;margin-left:0;}
  .timeline-item::before,
  .timeline-item:nth-child(odd)::before{left:-.65rem;}
}

/* ===================================================================
   NAVIGATION — Fixed header / Burger
=================================================================== */
header{
  backdrop-filter:saturate(180%) blur(10px);
  transition:box-shadow var(--dur-fast) var(--ease);
}
header.scrolled{box-shadow:0 2px 6px rgba(0,0,0,.08);}
#mobileMenu a{font-size:1.125rem;}

/* ===================================================================
   DRAWN ANIMATIONS — keyframes
=================================================================== */
@keyframes draw{
  0%{stroke-dasharray:1000;stroke-dashoffset:1000;}
  100%{stroke-dasharray:1000;stroke-dashoffset:0;}
}
/* Example utility */
.svg-draw path{
  stroke:var(--clr-primary);
  stroke-width:2;
  fill:none;
  animation:draw 2s forwards;
}

/* ===================================================================
   PARALLAX helper
=================================================================== */
.parallax{
  background-attachment:fixed;
  background-size:cover;
  background-repeat:no-repeat;
}

/* ===================================================================
   GLA﻿SSMORPHISM helper
=================================================================== */
.glass{
  background:rgba(255,255,255,.15);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.3);
}

/* ===================================================================
   SUCCESS PAGE
=================================================================== */
.success-wrapper{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

/* ===================================================================
   PRIVACY & TERMS — top padding
=================================================================== */
.legal-page{padding-top:100px;}

/* ===================================================================
   BACKGROUND UTILITIES
=================================================================== */
.bg-cover{background-size:cover;background-repeat:no-repeat;}
.bg-overlay-dark{
  position:relative;
}
.bg-overlay-dark::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55));
  z-index:0;
}
.bg-overlay-dark > *{position:relative;z-index:1;}

/* ===================================================================
   SOCIAL LINKS FOOTER
=================================================================== */
.footer-social a{
  display:inline-block;
  margin-right:.75rem;
  padding:.25rem 0;
  font-weight:500;
  position:relative;
}
.footer-social a::after{
  content:'';
  position:absolute;
  left:0;bottom:-2px;
  width:0;height:2px;
  background:var(--clr-accent);
  transition:width var(--dur-fast) var(--ease);
}
.footer-social a:hover::after{width:100%;}

/* ===================================================================
   “Leia mais” / “Ver mais” LINKS
=================================================================== */
.read-more{
  display:inline-flex;
  align-items:center;
  gap:.25rem;
  color:var(--clr-primary);
  font-weight:500;
}
.read-more:hover{color:var(--clr-primary-dark);}
.read-more::after{
  content:'→';
  transition:transform var(--dur-fast) var(--ease);
}
.read-more:hover::after{transform:translateX(4px);}

/* ===================================================================
   HOVER & TRANSITION ENHANCEMENTS
=================================================================== */
[data-scroll]{
  opacity:0;
  transform:translateY(40px);
  transition:opacity var(--dur-mid) var(--ease),
             transform var(--dur-mid) var(--ease);
}
[data-scroll].is-visible{
  opacity:1;
  transform:none;
}

/* ===================================================================
   UTILITIES & HELPER CLASSES
=================================================================== */
.centered{display:flex;align-items:center;justify-content:center;}
.shadow-soft{box-shadow:0 6px 18px rgba(0,0,0,.06);}
.rounded-lg{border-radius:1rem;}
.is-two-thirds{max-width:66.666%;}
/* override Tailwind because of specificity; we ensure min width */
@media(min-width:1024px){
  .is-two-thirds{flex:0 0 66.666%;}
}
#burger{
  display: none;
}