/* Reset & base */
:root{
  --bg:#fbfcfd;
  --card:#ffffff;
  --muted:#6b7280;
  --accent:#0f766e; /* teal-ish for CTA */
  --accent-2:#f59e0b; /* warm gold-ish for subtle accents */
  --radius:12px;
  --glass: rgba(255,255,255,0.6);
  --shadow: 0 6px 18px rgba(15,23,42,0.06);
  --max-w:1100px;
  --header-height:64px; /* added: consistent header height */
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--bg);
  color:#0f172a;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  -webkit-overflow-scrolling:touch;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(2,36,66,0.85), rgba(2,36,66,0.78)); /* darker navy with translucency */
  border-bottom:1px solid rgba(2,36,66,0.18); /* subtle darker divider to match new header */
  z-index:60;
}
.header-inner{
  max-width:var(--max-w);
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  position: relative;
  height:var(--header-height); /* use fixed header height */
  padding-left:14px;
  padding-right:14px;
}
.logo{height:48px; width:auto}
.logo-sm{height:48px}

/* Menu center button */
.menu-toggle{
  margin-left:auto;
  background: linear-gradient(90deg,#f59e0b,#fbbf24); /* warm gold */
  color:#071022;
  border: none;
  padding:8px 10px; /* reduced padding for a smaller button */
  border-radius:12px;
  font-size:18px; /* smaller icon text */
  cursor:pointer;
  min-width:44px; /* reduced min width */
  min-height:44px; /* reduced min height */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 12px 40px rgba(245,158,11,0.18), 0 4px 12px rgba(2,6,23,0.12);
  transform:translateZ(0);
  transition:transform .16s ease, box-shadow .16s ease, opacity .12s;
  position:relative;
  overflow:visible;
  font-weight:800;
  letter-spacing:0.6px;
}

/* subtle ring pulse to draw attention */
.menu-toggle::after{
  content:'';
  position:absolute;
  right:-6px;
  top:-6px;
  width:calc(100% + 12px);
  height:calc(100% + 12px);
  border-radius:14px;
  background: radial-gradient(circle at center, rgba(245,158,11,0.06), transparent 40%);
  z-index:-1;
  animation:menu-pulse 2.4s infinite ease-in-out;
  pointer-events:none;
}

/* hover / focus / active */
.menu-toggle:hover{
  transform:translateY(-3px) scale(1.01);
  box-shadow: 0 16px 40px rgba(245,158,11,0.18), 0 6px 18px rgba(2,6,23,0.14);
}
.menu-toggle:active{
  transform:translateY(-1px) scale(.99);
  box-shadow: 0 8px 28px rgba(245,158,11,0.14);
}
.menu-toggle:focus{
  outline:none;
  box-shadow: 0 0 0 8px rgba(245,158,11,0.10), 0 12px 40px rgba(245,158,11,0.12);
}

/* ensure accessible tap area on small devices */
@media (max-width:879px){
  .menu-toggle{min-height:48px; min-width:48px; font-size:20px; border-radius:12px}
}

/* animation keyframe */
@keyframes menu-pulse{
  0%{ transform:scale(0.98); opacity:0.9 }
  50%{ transform:scale(1.04); opacity:0.98 }
  100%{ transform:scale(0.98); opacity:0.9 }
}

/* Quote CTA right */
.btn-quote{
  margin-left:auto;
  text-decoration:none;
  background:linear-gradient(90deg,var(--accent),#047857);
  color:white;
  padding:10px 14px;
  border-radius:10px;
  font-weight:600;
  box-shadow:var(--shadow);
  min-height:44px;
  display:inline-flex;
  align-items:center;
}

/* Navigation overlay */
.nav-overlay{
  position:fixed;
  inset:0;
  background:rgba(3,7,18,0.45);
  display:none;
  z-index:80;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.nav-overlay[aria-hidden="false"]{display:flex}
.nav-panel{
  /* changed from light card to navy panel for stronger brand contrast */
  background: linear-gradient(180deg, #021526 0%, #04293d 100%);
  border-radius:16px;
  width:100%;
  max-width:420px;
  padding:20px;
  box-shadow:var(--shadow);
  position:relative;
  border: 1px solid rgba(255,255,255,0.04);
}
/* ensure close button is visible on dark background */
.nav-close{
  position:absolute;
  right:12px;
  top:12px;
  background:transparent;
  border:none;
  font-size:20px;
  cursor:pointer;
  color: #f8fafc;
}
.nav-list{
  list-style:none;
  padding:0;
  margin:18px 0 0 0;
  display:grid;
  gap:10px;
}
/* make menu links bright and prominent on the navy background */
.nav-list a{
  display:block;
  text-decoration:none;
  padding:12px 14px;
  border-radius:10px;
  color:#f8fafc; /* near-white for high contrast */
  font-weight:700;
  background:transparent; /* keep default transparent until hover */
  transition: background .16s ease, color .12s ease, transform .12s ease;
}

/* highlighted hover/focus state: warm gold pill like other CTAs */
.nav-list a:hover,
.nav-list a:focus{
  background: linear-gradient(90deg,#f59e0b,#fbbf24);
  color:#071022;
  transform:translateY(-3px);
  box-shadow: 0 12px 30px rgba(2,6,23,0.18);
}

/* Hero */
.hero{
  position:relative;
  margin:0;
  padding:0;
  width:100%;
  /* pull the hero up so the image reaches the very top behind the sticky header,
     and keep content offset to avoid being hidden by the header */
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
  min-height: calc(100vh - var(--header-height)); /* use header height variable */
  display:flex;
  align-items:flex-start; /* changed: align hero content to top so it sits directly under header */
  justify-content:center;
  overflow:hidden;
}
.hero-media{position:relative; width:100%; height:100%;}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* single CTA overlay at bottom center of hero */
.hero-only-cta{
  position:absolute;
  left:50%;
  transform:translateX(-50%) translateY(0);
  bottom:28px;
  z-index:12;
  padding:16px 28px;               /* increased padding for more presence */
  border-radius:999px;
  font-weight:900;
  box-shadow: 0 18px 54px rgba(255,190,45,0.22), 0 6px 18px rgba(2,6,23,0.12);
  text-decoration:none;
  transition:transform .14s ease, box-shadow .14s ease, opacity .12s;
  color:#071022;
  background: linear-gradient(90deg, #fff176 0%, #ffd54a 55%, #ffca28 100%); /* warm, layered yellow */
  border: 2px solid rgba(255, 210, 80, 0.14); /* subtle solid border to define edge */
  font-size:18px;                 /* slightly larger type for emphasis */
  min-height:60px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  box-shadow: 0 14px 44px rgba(255,190,45,0.20), 0 4px 12px rgba(2,6,23,0.10);
  animation:cta-glow 2.8s infinite ease-in-out;
  text-shadow: 0 1px 0 rgba(255,255,255,0.22);
  letter-spacing:0.6px;
  border-image: linear-gradient(90deg,#fff176,#ffca28) 1;
  outline: none;
}

/* subtle press effect */
.hero-only-cta:active{transform:translateX(-50%) translateY(6px); box-shadow:0 8px 22px rgba(2,6,23,0.14);}

/* ensure high-contrast on small screens */
@media (max-width:479px){
  .hero-only-cta{padding:12px 18px; font-size:16px; min-height:50px}
}

/* Glow animation for yellow CTA */
@keyframes cta-glow{
  0%{ transform:translateX(-50%) scale(1); box-shadow: 0 12px 36px rgba(255,190,45,0.16) }
  50%{ transform:translateX(-50%) scale(1.02); box-shadow: 0 26px 64px rgba(255,170,34,0.22) }
  100%{ transform:translateX(-50%) scale(1); box-shadow: 0 12px 36px rgba(255,190,45,0.16) }
}

/* preserve general .btn styles for fallback where used elsewhere */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  border:1px solid rgba(15,23,42,0.06);
  background:var(--card);
  color:inherit;
  min-height:44px;
}
.btn-primary{
  background:linear-gradient(90deg,var(--accent),#059669);
  color:white;
  border:none;
  box-shadow:var(--shadow);
  font-weight:600;
}
.btn-outline{
  background:transparent;
  border:1px solid rgba(15,23,42,0.06);
  color:var(--accent);
  font-weight:600;
}

/* remove rounding for full-bleed hero image on small viewports */
.hero-media img{border-radius:0}

/* Hero visual */
/* Sections */
.section{padding:22px 18px; margin:8px auto; max-width:var(--max-w)}
.container{max-width:var(--max-w); margin:0 auto}
h2{margin:0 0 10px; font-size:20px}
.muted{color:var(--muted)}

/* NEW: Serviços section - navy / logo colors, modern card layout */
#servicos{
  background: linear-gradient(180deg, #041e3a 0%, #06243a 100%);
  color: #f8fafc;
  border-radius:16px;
  padding:28px 18px;
  box-shadow: 0 12px 36px rgba(2,6,23,0.28);
  margin:12px auto;
}
#servicos .container{max-width:1080px}
#servicos h2{
  color:#f8fafc;
  font-size:22px;
  letter-spacing:0.6px;
  margin-bottom:6px;
}
#servicos .muted{
  color: rgba(248,250,252,0.85);
  margin-bottom:14px;
  font-size:15px;
}

/* Services hero image — ensure full visible photo at top of serviços */
#servicos .services-hero{
  width:100%;
  max-width:var(--max-w);
  margin:0 auto 14px;
  display:block;
  border-radius:12px;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(2,6,23,0.14);
  border:1px solid rgba(255,255,255,0.04);
}
#servicos .services-hero img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain; /* show full image without cropping */
  max-height:260px; /* keeps hero visible and contained on tall images */
}

/* tighter max height for small screens so section fits well */
@media (max-width:479px){
  #servicos .services-hero img{ max-height:160px }
}
@media (min-width:880px){
  #servicos .services-hero img{ max-height:320px }
}

/* Modern card grid for serviços */
#servicos .cards{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(2,1fr);
  align-items:stretch;
}
@media (max-width:879px){
  #servicos .cards{grid-template-columns:1fr}
}

/* Card visual tuned to navy theme */
#servicos .card{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.04);
  color: #f8fafc;
  padding:18px;
  border-radius:12px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:120px;
  transition:transform .18s ease, box-shadow .18s ease;
  position:relative;
  overflow:hidden;
}

/* subtle icon-style accent bar */
#servicos .card::before{
  content:'';
  position:absolute;
  left:0;
  top:0;
  height:6px;
  width:36%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-bottom-right-radius:8px;
  box-shadow: 0 6px 18px rgba(245,158,11,0.12);
  opacity:0.98;
}

/* heading and description styles inside cards */
#servicos .card h3{
  margin:0 0 8px;
  color:#fff;
  font-size:18px;
}
#servicos .card p{
  margin:0;
  color: rgba(248,250,252,0.88);
  font-size:14px;
  line-height:1.45;
}

/* hover/active effect */
#servicos .card:hover{
  transform:translateY(-6px);
  box-shadow: 0 20px 50px rgba(2,6,23,0.35);
}

/* make callouts (if added) stand out */
#servicos .card small{
  display:block;
  margin-top:10px;
  color:rgba(248,250,252,0.7);
  font-size:13px;
}

/* ensure links/buttons in serviços are visible */
#servicos a.btn, #servicos .btn-primary{
  background: linear-gradient(90deg, #0f4f6a, #0b6b88);
  color:white;
  border:none;
  box-shadow: 0 8px 28px rgba(2,6,23,0.22);
}

/* NEW: make each service a prominent tappable card-style button */
#servicos .service-btn{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:8px;
  text-decoration:none;
  color:inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  padding:18px;
  border-radius:12px;
  min-height:120px;
  transition:transform .16s ease, box-shadow .16s ease, opacity .12s;
  position:relative;
  overflow:hidden;
  color:#f8fafc;
}
#servicos .service-btn::before{
  content:'';
  position:absolute;
  left:0;
  top:0;
  height:6px;
  width:36%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-bottom-right-radius:8px;
  box-shadow: 0 6px 18px rgba(245,158,11,0.12);
}
#servicos .service-btn h3{margin:0; color:#fff; font-size:18px}
#servicos .service-btn p{margin:0; color: rgba(248,250,252,0.88); font-size:14px}
#servicos .service-btn:hover{
  transform:translateY(-6px);
  box-shadow: 0 20px 50px rgba(2,6,23,0.35);
  opacity:0.98;
}
#servicos .service-btn:active{transform:translateY(-2px)}

/* Cards */
.cards{display:grid; gap:12px; grid-template-columns:repeat(1,1fr)}
.card{
  background:var(--card);
  padding:14px;
  border-radius:12px;
  box-shadow:var(--shadow);
  border:1px solid rgba(15,23,42,0.03);
}
.card h3{margin:0 0 8px}

/* Features and steps */
.features{display:flex; flex-direction:column; gap:8px; padding-left:18px}
.steps{padding-left:18px}

/* Testimonials */
.test-list{display:grid; gap:10px}
blockquote{
  background:linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.4));
  padding:14px;
  border-radius:10px;
  border-left:4px solid var(--accent-2);
  margin:0;
}
cite{display:block; margin-top:8px; color:var(--muted)}

/* NEW: Testemunhos — navy branded modern layout */
#testemunhos{
  background: linear-gradient(180deg, #041e3a 0%, #06243a 100%);
  color: #f8fafc;
  border-radius:16px;
  padding:20px;
  margin:12px auto;
  box-shadow: 0 12px 36px rgba(2,6,23,0.24);
  border:1px solid rgba(255,255,255,0.04);
}
#testemunhos .container{max-width:1080px}
#testemunhos h2{ color:#f8fafc; margin:0 0 8px; font-size:22px }
.test-list{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(2,1fr);
}
@media (max-width:879px){
  .test-list{grid-template-columns:1fr}
}
/* modern testimonial cards */
.test-list blockquote{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  color: rgba(248,250,252,0.98);
  padding:16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.04);
  box-shadow: 0 10px 30px rgba(2,6,23,0.2);
  display:flex;
  gap:12px;
  align-items:flex-start;
  transition:transform .18s ease, box-shadow .18s ease;
  position:relative;
}
.test-list blockquote:hover{ transform:translateY(-6px); box-shadow: 0 28px 64px rgba(2,6,23,0.32); }

/* accent marker (gold pill) */
.test-list blockquote::before{
  content:'';
  position:absolute;
  left:12px;
  top:12px;
  width:8px;
  height:32px;
  border-radius:6px;
  background: linear-gradient(180deg,#f59e0b,#fbbf24);
  box-shadow: 0 8px 22px rgba(245,158,11,0.08);
}

/* testimonial text area */
.test-list blockquote p{
  margin:0;
  font-weight:600;
  line-height:1.45;
  padding-left:26px; /* create offset for accent */
  color: rgba(248,250,252,0.96);
}

/* author/cite styling tuned to brand */
.test-list blockquote cite{
  display:block;
  margin-top:10px;
  color: rgba(248,250,252,0.8);
  font-weight:700;
  padding-left:26px;
  font-size:13px;
}

/* small decorative star row using logo accent color */
.test-list .stars{
  margin-left:auto;
  display:flex;
  gap:6px;
  align-items:center;
  color:#fbbf24;
  font-weight:800;
  font-size:14px;
}
/* ensure compact layout on small screens */
@media (max-width:479px){
  .test-list blockquote{padding:14px}
  .test-list blockquote::before{left:10px}
  .test-list blockquote p, .test-list blockquote cite{padding-left:22px}
}

/* Gallery */
/* Gallery — modern navy card grid matching logo */
#galeria{
  background: linear-gradient(180deg, #031527 0%, #06243a 100%);
  color: #f8fafc;
  border-radius:16px;
  padding:20px;
  margin:12px auto;
  box-shadow: 0 12px 36px rgba(2,6,23,0.24);
}
.before-after-grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(2,1fr);
  align-items:stretch;
}
@media (min-width:880px){
  .before-after-grid{grid-template-columns:repeat(4,1fr)}
}
.before-after-grid figure{
  margin:0;
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.04);
  box-shadow: 0 10px 28px rgba(2,6,23,0.2);
  transition:transform .18s ease, box-shadow .18s ease;
  height:160px;
  display:block;
}
.before-after-grid figure img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .5s ease;
}
.before-after-grid figure:hover{ transform:translateY(-6px); box-shadow: 0 28px 64px rgba(2,6,23,0.32); }
.before-after-grid figure:hover img{ transform:scale(1.06); }
.before-after-grid figcaption{
  position:absolute;
  left:10px;
  bottom:10px;
  padding:6px 10px;
  background: linear-gradient(90deg, rgba(6,36,58,0.75), rgba(8,48,75,0.6));
  color:#f8fafc;
  font-weight:700;
  font-size:13px;
  border-radius:8px;
  backdrop-filter: blur(4px);
  border:1px solid rgba(255,255,255,0.04);
}
.before-after-grid figure::after{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(3,7,18,0.05), rgba(2,6,23,0.12));
  pointer-events:none;
}
/* smaller screens: taller tiles for visual balance */
@media (max-width:879px){
  .before-after-grid figure{height:180px}
  .before-after-grid{grid-template-columns:repeat(2,1fr)}
}

/* Contactos — navy branded modern layout */
#contactos{
  background: linear-gradient(180deg, #011821 0%, #052a3f 100%);
  color: #f8fafc;
  border-radius:16px;
  padding:22px;
  margin:12px auto;
  box-shadow: 0 18px 48px rgba(2,6,23,0.30);
  border:1px solid rgba(255,255,255,0.04);
}
#contactos .container{max-width:1100px; padding:0 6px}

/* layout grid: info card + form — responsive and flexible */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap:22px;
  align-items:start;
}
@media (max-width:979px){
  .contact-grid{grid-template-columns:1fr; gap:16px}
}

/* left info card: make it airy and prominent on mobile too */
.contact-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.04);
  padding:20px;
  border-radius:14px;
  box-shadow: 0 14px 36px rgba(2,6,23,0.18);
}
.contact-card h2{margin:0 0 8px; color:#fff; font-size:20px}
.contact-list{padding-left:0; margin:10px 0 12px 0; display:grid; gap:8px}
.contact-list li{margin:0; color:rgba(248,250,252,0.95); font-weight:700}
.contact-list a{color:#fbbf24; text-decoration:none; font-weight:800}

/* prominent contact actions with generous tap targets */
.contact-quick{display:flex; gap:12px; margin-top:12px; flex-wrap:wrap}
.btn-ws{
  background:linear-gradient(90deg,#10b981,#059669);
  color:white;
  border:none;
  padding:12px 16px;
  border-radius:12px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:160px;
  box-shadow: 0 12px 30px rgba(2,6,23,0.18);
}
.btn-gold{
  background: linear-gradient(90deg,#f59e0b,#fbbf24);
  color:#071022;
  border:none;
  padding:12px 16px;
  border-radius:12px;
  font-weight:800;
  min-width:160px;
  box-shadow: 0 12px 30px rgba(245,158,11,0.12);
}

/* form card style — clearer fields, larger inputs, single-column on small */
.card-form{
  background: linear-gradient(180deg, rgba(3,7,18,0.06), rgba(2,6,23,0.04));
  border:1px solid rgba(255,255,255,0.03);
  padding:20px;
  border-radius:14px;
  box-shadow: 0 14px 36px rgba(2,6,23,0.22);
}

/* make form rows use CSS grid for responsiveness */
.card-form .row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width:699px){
  .card-form .row{grid-template-columns:1fr}
}

/* darker inputs to match theme with clear focus and larger tap areas */
.card-form input,
.card-form select,
.card-form textarea{
  background: rgba(255,255,255,0.035);
  border:1px solid rgba(255,255,255,0.06);
  color: #f8fafc;
  padding:12px 12px;
  border-radius:10px;
  font-size:15px;
}
.card-form input::placeholder,
.card-form textarea::placeholder{ color: rgba(248,250,252,0.55) }
.card-form label{color:rgba(248,250,252,0.9); display:block; font-weight:700; margin-bottom:6px}

/* focus states (gold outline) */
.card-form input:focus,
.card-form textarea:focus,
.card-form select:focus{
  outline: none;
  box-shadow: 0 0 0 6px rgba(245,158,11,0.10);
  border-color: #f59e0b;
}

/* file input tweak for dark bg */
.card-form .file input{background:transparent; color: #f8fafc}

/* form actions: stacked on mobile, side-by-side on larger screens */
.card-form .form-actions{display:flex; gap:12px; margin-top:12px; align-items:center}
@media (max-width:699px){
  .card-form .form-actions{flex-direction:column; align-items:stretch}
}
.card-form .btn-primary{
  background: linear-gradient(90deg, #0f766e, #059669);
  color:white;
  border:none;
  padding:12px 16px;
  border-radius:12px;
  font-weight:800;
  box-shadow: 0 12px 32px rgba(2,6,23,0.20);
}
.card-form .btn-outline{
  background:transparent;
  border:1px solid rgba(255,255,255,0.06);
  color:rgba(248,250,252,0.95);
  padding:12px 16px;
  border-radius:12px;
}

/* form message contrast & spacing */
#formMessage{ color:#fbbf24; margin-top:12px; font-weight:700; line-height:1.25; }

/* compact adjustments for very small screens */
@media (max-width:479px){
  #contactos{padding:12px; margin:6px 8px}
  .contact-card, .card-form{padding:10px}
  .btn-ws, .btn-gold, .card-form .btn-primary, .card-form .btn-outline{padding:10px; min-width:unset; width:100%}
  .contact-quick{flex-direction:column}
  .contact-list{font-size:14px}
}

/* responsive tweaks */
@media (max-width:479px){
  .contact-quick{flex-direction:column}
  .btn-ws, .btn-gold{width:100%}
}

/* NEW: Ultra-compact mobile layout to ensure contactos fits one screen height */
@media (max-width:420px){
  :root{
    --header-height:56px; /* slightly smaller header on very small devices */
  }

  /* Reduce vertical space and font scale across contactos section */
  #contactos{
    padding:10px;
    margin:6px 6px;
    border-radius:10px;
  }
  #contactos .container{padding:0}
  .contact-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }

  /* Make info card and form more compact and remove non-essential text */
  .contact-card{
    padding:10px;
    border-radius:10px;
  }
  .contact-card h2{font-size:18px; margin-bottom:6px}
  .contact-card .muted{display:none} /* hide descriptive paragraph to save space */
  .contact-list{gap:6px}
  .contact-list li{font-size:14px; font-weight:800}
  .contact-list a{font-size:14px}

  /* Compact action buttons: reduce height, stack, and tighten margins */
  .contact-quick{gap:8px; margin-top:8px}
  .btn-ws, .btn-gold, .card-form .btn-primary{
    padding:10px;
    font-size:14px;
    min-height:40px;
    border-radius:10px;
  }

  /* Form: smaller inputs and reduced gaps */
  .card-form{padding:10px; border-radius:10px}
  .card-form .row{gap:8px}
  .card-form input,
  .card-form select,
  .card-form textarea{
    padding:10px;
    font-size:14px;
  }
  .card-form .form-actions{gap:8px; margin-top:8px; flex-direction:column}
  .card-form .form-actions .btn-outline{padding:10px}

  /* Hide auxiliary hint to conserve space */
  .contact-card .small, #contactos .muted.small{display:none}

  /* Slightly reduce footer spacing so full page fits better */
  .site-footer{padding:16px}
  .footer-inner{gap:8px}
}

/* Footer */
.site-footer{
  padding:24px;
  margin-top:20px;
  background: linear-gradient(180deg, #072241 0%, #042034 100%); /* navy gradient */
  color: #f8fafc; /* near-white text */
  border-top: none;
  box-shadow: 0 -6px 30px rgba(2,6,23,0.18);
  position:relative;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  max-width:var(--max-w);
  margin:0 auto;
  padding:6px 0;
}

/* lighten small logo to work on dark bg */
.logo-sm{height:88px; filter:drop-shadow(0 8px 28px rgba(2,6,23,0.6)); transition:height .22s ease, filter .22s ease;}

/* footer text */
.site-footer .muted{
  color: rgba(248,250,252,0.85);
  margin-top:6px;
  font-size:14px;
}

/* footer actions: gold CTA and subtle outline on dark bg */
.footer-actions{display:flex; gap:10px; align-items:center}
.footer-actions .btn{
  min-height:44px;
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
  box-shadow:0 8px 30px rgba(2,6,23,0.35);
}

/* WhatsApp styled in brand green but with white text */
.footer-actions .btn[href*="wa.me"]{
  background:linear-gradient(90deg,#10b981,#059669);
  color:white;
  border:none;
}

/* Contact button in warm gold to match hero CTA accent */
.footer-actions .btn[href^="#"]{
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color:#071022;
  border:none;
}

/* subtle pill style for footer container on larger screens */
.site-footer::before{
  content:'';
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  top:-12px;
  width:88%;
  max-width:calc(var(--max-w) - 40px);
  height:1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border-radius:999px;
}

/* Responsive tweak: stack items and center on small screens */
@media (max-width:879px){
  .footer-inner{flex-direction:column; gap:12px; text-align:center; align-items:center}
  .footer-actions{width:100%; justify-content:center}
  .logo-sm{height:64px}
  .logo-sm{height:44px}
}
/* NEW: ensure footer logo scales down on very small devices */
@media (max-width:420px){
  .logo-sm{height:56px}
}

/* Responsive */
@media (min-width:880px){
  .hero{min-height: calc(100vh - 84px);}
  .cards{grid-template-columns:repeat(2,1fr)}
  .before-after-grid{grid-template-columns:repeat(4,1fr)}
  .row{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:879px){
  .header-inner{padding:10px}
  .btn-quote{display:none}
  .menu-toggle{margin-left:auto}
  .row{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .footer-inner{flex-direction:column; gap:12px; text-align:center}
}

/* NEW: Sobre Nós — navy/logo colors and modern layout */
#sobre{
  background: linear-gradient(180deg, #021526 0%, #04293d 100%);
  color: #f8fafc;
  border-radius:16px;
  padding:26px 18px;
  margin:12px auto;
  box-shadow: 0 12px 36px rgba(2,6,23,0.24);
  border: 1px solid rgba(255,255,255,0.04);
}
#sobre .container{
  max-width:1080px;
  display:grid;
  grid-template-columns:1fr 320px;
  gap:20px;
  align-items:start;
  align-content:start;
}
#sobre h2{
  margin:0 0 6px;
  color: #fff;
  font-size:22px;
  letter-spacing:0.4px;
}
#sobre .muted{
  color: rgba(248,250,252,0.88);
  font-size:15px;
  margin-bottom:12px;
  line-height:1.5;
}

/* profile / card at right: values, quick facts and CTA */
#sobre .about-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border:1px solid rgba(255,255,255,0.04);
  padding:16px;
  border-radius:12px;
  color: #f8fafc;
  box-shadow: 0 12px 30px rgba(2,6,23,0.32);
  display:flex;
  flex-direction:column;
  gap:12px;
}
#sobre .about-card .key{
  display:flex;
  gap:10px;
  align-items:center;
  font-weight:700;
  color:#fff;
}
#sobre .about-card .kpi{
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding:8px 10px;
  background:linear-gradient(90deg, rgba(3,7,18,0.04), rgba(2,6,23,0.02));
  border-radius:10px;
  font-weight:600;
  color:rgba(248,250,252,0.95);
  border:1px solid rgba(255,255,255,0.02);
}
#sobre .about-card .kpi small{color:rgba(248,250,252,0.75); font-weight:500}

/* CTA in about card */
#sobre .about-cta{
  margin-top:auto;
  display:flex;
  gap:10px;
}
#sobre .about-cta a{
  flex:1;
  text-align:center;
  padding:10px 12px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  color:#071022;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  box-shadow: 0 12px 32px rgba(245,158,11,0.14);
  border: none;
}

/* Decorative left content: list of values */
#sobre .values{
  display:grid;
  gap:8px;
  margin-top:8px;
}
#sobre .values li{
  list-style:none;
  padding:10px 12px;
  border-radius:10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.02);
  color: rgba(248,250,252,0.92);
  font-weight:600;
}

/* responsive: stack columns on small screens */
@media (max-width:879px){
  #sobre .container{grid-template-columns:1fr; padding:0}
  #sobre{padding:20px}
  #sobre .about-card{order:2}
  #sobre .muted{order:1}
}

/* Merged Processo section — navy / logo colors and modern split layout */
#processo{
  background: linear-gradient(180deg, #021927 0%, #042a3f 100%);
  color: #f8fafc;
  border-radius:16px;
  padding:22px;
  margin:12px auto;
  box-shadow: 0 14px 40px rgba(2,6,23,0.26);
  border:1px solid rgba(255,255,255,0.04);
}
#processo .container{max-width:1100px}
#processo h2{
  color:#fff;
  font-size:22px;
  margin:0 0 10px;
  letter-spacing:0.4px;
}
#processo .muted{ color: rgba(248,250,252,0.86); margin-bottom:12px; }

.process-grid{
  display:grid;
  grid-template-columns: 1fr 420px;
  gap:18px;
  align-items:start;
}
@media (max-width:879px){
  .process-grid{grid-template-columns:1fr}
}

.process-left{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.03);
  padding:18px;
  border-radius:12px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.16);
}
.process-right{
  background: linear-gradient(180deg, rgba(3,7,18,0.04), rgba(2,6,23,0.02));
  border:1px solid rgba(255,255,255,0.03);
  padding:18px;
  border-radius:12px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.18);
}

/* Features list tuned to brand */
#processo .features{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-left:0;
  margin:8px 0 14px 0;
}
#processo .features li{
  list-style:none;
  padding:10px 12px;
  border-radius:10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.02);
  color: rgba(248,250,252,0.95);
  font-weight:700;
  display:flex;
  align-items:center;
  gap:10px;
  position:relative;
}

/* Steps styling for clarity */
#processo .steps{
  list-style:none;
  counter-reset:step;
  padding-left:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
#processo .steps li{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding:12px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.03);
  color: rgba(248,250,252,0.95);
  display:flex;
  gap:12px;
  align-items:flex-start;
  font-weight:600;
}
#processo .steps li strong{
  display:inline-block;
  min-width:28px;
  height:28px;
  line-height:28px;
  text-align:center;
  border-radius:8px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color:#071022;
  font-weight:800;
  box-shadow: 0 8px 22px rgba(245,158,11,0.12);
}

/* Button style inside section to match brand */
#processo .btn-ws{
  margin-top:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:10px;
  font-weight:700;
  border:none;
  box-shadow: 0 10px 30px rgba(2,6,23,0.16);
}

/* responsive tweaks */
@media (max-width:479px){
  #processo h2{font-size:18px}
  #processo .steps li{font-size:14px}
}

/* About section hero image (full visible team photo) */
#sobre .about-hero{
  grid-column: 1 / -1; /* span full container columns so image sits above content */
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:12px;
}
#sobre .about-hero img{
  width:100%;
  height:auto;            /* preserve aspect — show full image without cropping */
  max-width:520px;        /* keeps image suitably sized on large screens */
  border-radius:12px;
  box-shadow: 0 12px 36px rgba(2,6,23,0.28);
  border:1px solid rgba(255,255,255,0.04);
  display:block;
  object-fit:contain;
}

/* make sure on very small screens it fits comfortably */
@media (max-width:420px){
  #sobre .about-hero img{
    max-width:100%;
    border-radius:8px;
    box-shadow: 0 8px 22px rgba(2,6,23,0.22);
  }
}

/* WhatsApp floating action button */
.whatsapp-fab{
  position:fixed;
  right:16px;
  bottom:18px;
  z-index:140;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:56px;
  height:56px;
  padding:12px;
  border-radius:999px;
  background: linear-gradient(90deg,#06b64f,#10b981);
  box-shadow: 0 12px 36px rgba(6,54,32,0.28);
  border: 2px solid rgba(255,255,255,0.06);
  text-decoration:none;
  transition:transform .16s ease, box-shadow .16s ease, opacity .12s;
  -webkit-tap-highlight-color: transparent;
}
.whatsapp-fab:hover{ transform:translateY(-4px); box-shadow: 0 20px 48px rgba(6,54,32,0.32) }
.whatsapp-fab:active{ transform:translateY(-1px) scale(.98) }
.whatsapp-fab svg{ display:block }

/* make smaller and slightly inset on very small screens */
@media (max-width:420px){
  .whatsapp-fab{ right:12px; bottom:12px; width:52px; height:52px; padding:10px }
}