/* ===========================================================
   AVENTURAS PELO MUNDO — design tokens & base
   Paleta: verde oliva / sage / creme / areia / azul-seco
   =========================================================== */
:root {
  /* warm creams */
  --bg:        #F5F2EA;
  --bg-soft:   #EAE5D8;
  --surface:   #FCFBF6;

  /* deep olive ink */
  --ink:       #2E331F;
  --ink-2:     #4C5238;
  --ink-3:     #717556;

  /* dark olive sections (kept as --ocean for continuity) */
  --ocean:     #3B4126;
  --ocean-2:   #2B3019;

  /* olive brand */
  --brand:     #6B7A4D;
  --brand-600: #5C6A42;
  --brand-700: #4B5635;
  --brand-soft:#DCE1CC;
  --brand-tint:#EDEFE3;

  /* secondary accents from brand guide */
  --sand:      #D9C7A7;
  --sage:      #A3AD8A;
  --sky:       #A8C1D6;

  --line:      #DBD6C6;
  --line-2:    #C8C2AD;

  --radius:    26px;
  --radius-sm: 16px;
  --radius-xs: 12px;

  --shadow-sm: 0 1px 2px rgb(46 51 31 / 0.05), 0 6px 16px rgb(46 51 31 / 0.07);
  --shadow-md: 0 8px 30px rgb(46 51 31 / 0.10);
  --shadow-lg: 0 24px 60px rgb(40 46 26 / 0.18);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.16; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 128px); }

/* ---- shared bits -------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.eyebrow.on-dark { color: var(--sand); }
.eyebrow.on-dark::before { background: var(--sand); box-shadow: 0 0 0 4px rgb(217 199 167 / 0.2); }

.lead { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); }

/* buttons */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  padding: 16px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .2s;
  box-shadow: 0 10px 24px rgb(75 86 53 / 0.26);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgb(75 86 53 / 0.34); background: var(--brand-600); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border-color: var(--line-2); box-shadow: none;
}
.btn--ghost:hover { background: var(--surface); border-color: var(--ink-3); box-shadow: var(--shadow-sm); }
.btn--white { --bg: #fff; --fg: var(--brand-700); box-shadow: 0 12px 30px rgb(40 46 26 / 0.22); }
.btn--white:hover { background: #fff; }
.btn--wa { --bg: #25D366; --fg: #fff; box-shadow: 0 10px 24px rgb(37 211 102 / 0.32); }
.btn--wa:hover { background: #1ebe5a; box-shadow: 0 16px 34px rgb(37 211 102 / 0.4); }
.btn--block { width: 100%; justify-content: center; }

/* circular icon chip */
.chip {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--brand); color: var(--brand-700);
  flex: none; transition: background .25s, color .25s, transform .25s;
}
.chip svg { width: 22px; height: 22px; }

/* placeholder imagery */
.ph {
  position: relative; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg,
      #DDD8C7 0 14px,
      #D2CCB8 14px 28px);
  display: grid; place-items: center; overflow: hidden;
  color: var(--ink-2);
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px; letter-spacing: 0.04em;
  background: rgb(252 251 246 / 0.92); color: var(--ink-2);
  padding: 7px 12px; border-radius: 999px;
  box-shadow: var(--shadow-sm); text-align: center; max-width: 80%;
}
.ph.on-dark {
  background:
    repeating-linear-gradient(135deg,
      #424830 0 14px,
      #383E28 14px 28px);
}

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgb(245 242 234 / 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled {
  border-color: var(--line);
  background: rgb(245 242 234 / 0.92);
  box-shadow: 0 6px 24px rgb(46 51 31 / 0.07);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 78px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
}
.brand .mark--img { background: #fff; border-radius: 50%; overflow: hidden; box-shadow: 0 4px 14px rgb(46 51 31 / 0.16); }
.brand .mark--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand b { font-weight: 700; }
.brand .wm { color: var(--ink); font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; font-size: clamp(15px, 1.8vw, 19px); line-height: 1.05; }
.brand .wm b { color: var(--brand-700); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-weight: 600; font-size: 14.5px; color: var(--ink-2);
  position: relative; padding: 6px 0; transition: color .2s; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--brand); border-radius: 2px; transition: width .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 18px; font-size: 14px; box-shadow: 0 8px 18px rgb(75 86 53 / 0.24); }
.nav-toggle { display: none; }

/* ===========================================================
   HERO
   =========================================================== */
.hero { position: relative; background: var(--ocean); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .ph { position: absolute; inset: 0; border-radius: 0; }
.hero-bg .ph::after { display: none; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% center; }
.hero-bg .scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(98deg, var(--ocean-2) 0%, rgb(43 48 25 / 0.95) 36%, rgb(43 48 25 / 0.6) 58%, rgb(43 48 25 / 0.24) 80%, rgb(43 48 25 / 0.06) 100%);
}
.hero-bg .glow {
  position: absolute; width: 60vw; height: 60vw; right: -10%; top: -20%;
  background: radial-gradient(circle, rgb(107 122 77 / 0.4), transparent 60%);
  filter: blur(10px);
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(96px, 13vw, 168px); max-width: 620px; }
.hero h1 {
  color: #fff; font-weight: 700;
  font-size: clamp(40px, 6vw, 74px); line-height: 1.08;
  margin: 22px 0 0; text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--sand); }
.hero p { margin-top: 24px; max-width: 530px; color: rgb(240 237 226 / 0.92); font-size: clamp(17px, 1.4vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero .eyebrow {
  background: rgb(107 122 77 / 0.28);
  padding: 9px 16px; border-radius: 999px; color: #fff;
  border: 1px solid rgb(217 199 167 / 0.35);
}
.hero .eyebrow::before { background: var(--sand); box-shadow: 0 0 0 4px rgb(217 199 167 / 0.25); }

.hero-stats {
  position: relative; z-index: 2;
  display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero-stats .stat {
  display: flex; align-items: center; gap: 12px;
  color: rgb(240 237 226 / 0.95); font-size: 15.5px; font-weight: 500;
  max-width: 260px;
}
.hero-stats .stat svg { width: 22px; height: 22px; color: var(--sand); flex: none; }

/* ===========================================================
   ABOUT
   =========================================================== */
.about-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.about-media { position: relative; }
.about-media .ph { aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.about-media .about-img { aspect-ratio: 4/5; width: 100%; object-fit: cover; object-position: 74% 26%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-card {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  background: rgb(252 251 246 / 0.93); backdrop-filter: blur(8px);
  border-radius: var(--radius-sm); padding: 18px 22px;
  box-shadow: var(--shadow-md);
}
.about-card strong { font-family: var(--font-head); font-weight: 700; font-size: 18px; display: block; }
.about-card span { color: var(--ink-3); font-size: 14.5px; }
.about h2 { font-size: clamp(30px, 3.6vw, 50px); margin-top: 16px; text-wrap: balance; }
.about .lead { margin-top: 20px; max-width: 50ch; }
.about .lead + .lead { margin-top: 14px; }
.feature-list { display: grid; gap: 22px; margin-top: 32px; }
.feature-list .item { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .chip { width: 44px; height: 44px; }
.feature-list .chip svg { width: 19px; height: 19px; }
.feature-list h4 { font-size: 18px; }
.feature-list p { color: var(--ink-3); font-size: 15px; margin-top: 3px; }
.about .btn { margin-top: 34px; }

/* ===========================================================
   SERVICES (dark)
   =========================================================== */
.services { background: var(--ocean); color: #fff; position: relative; overflow: hidden; }
.services .glow {
  position: absolute; width: 50vw; height: 50vw; left: 50%; top: -25%; transform: translateX(-50%);
  background: radial-gradient(circle, rgb(107 122 77 / 0.28), transparent 60%);
}
.section-head { text-align: center; max-width: 760px; margin-inline: auto; position: relative; z-index: 2; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 54px); margin-top: 16px; text-wrap: balance; }
.services .section-head h2 { color: #fff; }
.section-head p { margin-top: 22px; }
.services .section-head p { color: rgb(231 226 214 / 0.82); }

.svc-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: clamp(44px, 5vw, 64px);
}
.svc-grid .wide { grid-column: span 2; }
.svc-card {
  border: 1px solid rgb(163 173 138 / 0.3);
  border-radius: var(--radius); padding: 30px;
  background: linear-gradient(180deg, rgb(163 173 138 / 0.1), rgb(163 173 138 / 0.03));
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgb(217 199 167 / 0.6);
  background: linear-gradient(180deg, rgb(163 173 138 / 0.18), rgb(163 173 138 / 0.05));
  box-shadow: 0 24px 50px rgb(20 24 12 / 0.45);
}
.svc-card .chip { border-color: rgb(217 199 167 / 0.6); color: var(--sand); margin-bottom: 22px; }
.svc-card:hover .chip { background: var(--sand); color: var(--ocean-2); transform: scale(1.06); border-color: var(--sand); }
.svc-card h3 { font-size: 21px; color: #fff; }
.svc-card p { color: rgb(231 226 214 / 0.8); font-size: 15px; margin-top: 12px; }

/* ===========================================================
   PROCESS / HOW IT WORKS
   =========================================================== */
.process .section-head { text-align: center; }
.process h2 { font-size: clamp(30px, 3.8vw, 52px); text-wrap: balance; }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: clamp(44px, 5vw, 64px);
}
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step .num { font-family: var(--font-head); font-weight: 700; font-size: 42px; color: var(--brand); line-height: 1; }
.step h4 { font-size: 19px; margin-top: 26px; }
.step p { color: var(--ink-3); font-size: 15px; margin-top: 10px; }

/* ===========================================================
   TESTIMONIALS
   =========================================================== */
.testimonials { background: var(--bg-soft); }
.tst-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: clamp(44px, 5vw, 64px);
}
.tst-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
.tst-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 32px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.tst-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tst-card .quote-mark { font-family: var(--font-head); font-size: 56px; line-height: 0.7; color: var(--brand-soft); height: 28px; }
.tst-stars { display: flex; gap: 3px; color: #C19A4B; }
.tst-stars svg { width: 18px; height: 18px; }
.tst-card blockquote { margin: 0; font-size: 16px; color: var(--ink); line-height: 1.62; flex: 1; }
.tst-card.feature blockquote { font-size: 17px; }
.tst-author { display: flex; align-items: center; gap: 13px; padding-top: 4px; border-top: 1px solid var(--line); }
.tst-author .av { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-700); font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.tst-author .av.ph { border-radius: 50%; }
.tst-author .av.ph::after { display: none; }
.tst-author strong { display: block; font-family: var(--font-head); font-size: 15.5px; }
.tst-author span { color: var(--ink-3); font-size: 13.5px; }

/* ===========================================================
   CTA BAND
   =========================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--brand-700) 0%, var(--brand) 55%, var(--brand-600) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgb(255 255 255 / 0.16), transparent 45%);
}
.cta-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.3fr auto; align-items: center; gap: 36px;
  padding-block: clamp(48px, 6vw, 80px);
}
.cta-inner h2 { color: #fff; font-size: clamp(28px, 3.6vw, 46px); text-wrap: balance; }
.cta-inner p { margin-top: 14px; color: rgb(245 242 234 / 0.92); max-width: 48ch; }
.cta-stats {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 64px); margin-top: -8px;
}
.cta-stats .s { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 600; font-size: 15.5px; }
.cta-stats .s svg { width: 21px; height: 21px; color: var(--sand); flex: none; }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.contact-grid > div { min-width: 0; }
.contact h2 { font-size: clamp(30px, 3.8vw, 50px); margin-top: 16px; text-wrap: balance; }
.contact-lines { display: grid; gap: 22px; margin-top: 36px; }
.contact-lines .line { display: flex; align-items: center; gap: 16px; }
.contact-lines .line > div { min-width: 0; }
.contact-lines .line a, .contact-lines .line span { font-size: 17px; color: var(--ink); overflow-wrap: anywhere; }
.contact-lines .line a { transition: color .2s; }
.contact-lines .line a:hover { color: var(--brand-700); }
.contact-lines .sub { display: block; color: var(--ink-3); font-size: 14px; }
.contact .btn { margin-top: 36px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.contact-actions .btn { margin-top: 0; padding-inline: 20px; }

/* phone mockup */
.phone {
  justify-self: center;
  width: 320px; max-width: 100%;
  background: #20241a; border-radius: 46px; padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgb(43 48 25 / 0.5);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #20241a; border-radius: 0 0 16px 16px; z-index: 5;
}
.phone-screen {
  border-radius: 36px; overflow: hidden; background: #EFece1;
  height: 620px; display: flex; flex-direction: column;
}
.chat-head {
  background: linear-gradient(160deg, var(--ocean-2), var(--ocean));
  color: #fff; padding: 30px 18px 16px; display: flex; align-items: center; gap: 12px; flex: none;
}
.chat-head .meta { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.chat-head .av { width: 42px; height: 42px; border-radius: 50%; background: var(--sand); color: var(--ocean-2); display: grid; place-items: center; flex: none; }
.chat-head .av svg { width: 22px; height: 22px; }
.chat-head strong { font-family: var(--font-head); font-size: 14.5px; line-height: 1.2; display: block; white-space: nowrap; }
.chat-head .meta span { font-size: 12px; color: var(--sand); display: flex; align-items: center; gap: 6px; }
.chat-head .meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8FBF6B; }
.chat-body {
  flex: 1; overflow: hidden; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px;
  background:
    linear-gradient(rgb(239 236 225 / 0.6), rgb(233 229 216 / 0.6)),
    repeating-linear-gradient(45deg, #E7E2D6 0 2px, transparent 2px 9px);
}
.bubble {
  max-width: 82%; padding: 10px 13px 18px; border-radius: 14px; font-size: 13.5px; line-height: 1.45;
  position: relative; box-shadow: 0 1px 1px rgb(46 51 31 / 0.1);
  opacity: 0; transform: translateY(10px) scale(0.97);
}
.bubble.show { opacity: 1; transform: none; transition: opacity .4s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.bubble .t { position: absolute; right: 10px; bottom: 5px; font-size: 10px; color: rgb(46 51 31 / 0.45); }
.bubble.me { align-self: flex-end; background: #DDE4C8; border-bottom-right-radius: 4px; color: var(--ink); }
.bubble.them { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: var(--ocean-2); color: rgb(231 226 214 / 0.8); }
.footer-top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding-block: 44px;
}
.footer-top .brand { color: #fff; }
.footer-top .brand .wm { color: #fff; }
.footer-top .brand .wm b { color: var(--sand); }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-weight: 600; font-size: 15px; color: rgb(231 226 214 / 0.78); transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgb(231 226 214 / 0.16); padding-block: 22px; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ===========================================================
   FLOATING WHATSAPP
   =========================================================== */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgb(37 211 102 / 0.4);
  transition: transform .25s;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgb(37 211 102 / 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgb(37 211 102 / 0); } 100% { box-shadow: 0 0 0 0 rgb(37 211 102 / 0); } }

/* ===========================================================
   SCROLL REVEAL
   =========================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; }
  .reveal.d4 { transition-delay: .32s; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid .wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tst-grid, .tst-grid--two { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .nav-cta .btn span { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .phone { order: -1; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-inner .btn { justify-self: center; }
  .cta-stats { justify-content: center; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid .wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { width: 100%; }
  .contact-lines .line a, .contact-lines .line span { font-size: 15.5px; }
}

/* ---- Mobile polish: secções compactas, hero curto, header afinado ---- */
@media (max-width: 600px) {
  .section { padding-block: clamp(52px, 13vw, 76px); }
  .wrap { padding-inline: 20px; }

  /* header mais compacto */
  .nav { height: 64px; gap: 12px; }
  .brand .mark, .brand .mark--img { width: 36px; height: 36px; }
  .brand .wm { font-size: 16px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 9px; }
  .nav-cta .btn .ico { width: 20px; height: 20px; }
  .nav-toggle { width: 42px; height: 42px; }

  /* hero mais curto e legível */
  .hero-inner { padding-block: 72px 36px; }
  .hero h1 { font-size: clamp(34px, 9vw, 44px); }
  .hero p { margin-top: 18px; font-size: 16px; }
  .hero-actions { margin-top: 28px; gap: 12px; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 0.12em; }
  .hero-stats { gap: 14px; padding-bottom: 36px; }
  .hero-stats .stat { max-width: none; font-size: 14.5px; }

  /* hero gradiente mais de cima-para-baixo no telemóvel (texto legível) */
  .hero-bg .scrim {
    background:
      linear-gradient(178deg, rgb(43 48 25 / 0.5) 0%, rgb(43 48 25 / 0.78) 55%, rgb(43 48 25 / 0.92) 100%);
  }
  .hero-img { object-position: 62% center; }

  /* títulos de secção */
  .section-head h2 { font-size: clamp(28px, 8vw, 38px); }
  .about h2, .contact h2 { font-size: clamp(28px, 8vw, 38px); }
  .cta-inner h2 { font-size: clamp(26px, 7.5vw, 36px); }

  /* about: imagem mais baixa */
  .about-media { max-width: 360px; }
  .about-media .about-img { aspect-ratio: 4/4.2; }

  /* cartões e mockup */
  .svc-card { padding: 24px; }
  .tst-card { padding: 26px 24px; }
  .phone { width: min(290px, 82vw); }
  .phone-screen { height: 560px; }

  /* CTA band */
  .cta-inner { gap: 22px; }
  .cta-stats { gap: 14px; }

  /* footer */
  .footer-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-nav { gap: 16px 22px; }
  .footer-bottom { flex-direction: column; gap: 6px; }

  /* botão flutuante um pouco menor */
  .fab { width: 54px; height: 54px; right: 18px; bottom: 18px; }
  .fab svg { width: 27px; height: 27px; }
}

@media (max-width: 380px) {
  .brand .wm { font-size: 14.5px; }
  .hero h1 { font-size: 32px; }
  .phone { width: min(270px, 84vw); }
}

@media (max-width: 600px) {
  .page-hero-inner { padding-block: 72px 56px; }
  .page-hero h1 { font-size: clamp(30px, 8.5vw, 42px); }
  .page-hero p { margin-top: 18px; font-size: 16px; }
  .page-hero .hero-actions { flex-direction: column; gap: 12px; width: 100%; }
  .page-hero .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-perks { gap: 10px; margin-top: 26px; }
  .hero-perks .pill { font-size: 13.5px; padding: 10px 14px; }
  .perk { padding: 26px 24px; }
}

/* ---- Ecrãs ultra-estreitos (Galaxy Fold / Flip capa ~280px) ---- */
@media (max-width: 340px) {
  .hero .eyebrow, .page-hero .eyebrow { font-size: 10px; letter-spacing: 0.08em; padding: 7px 12px; }
  .nav { gap: 8px; }
  .nav-cta { gap: 6px; }
  .btn { white-space: normal; text-align: center; }
  .cta-inner { min-width: 0; }
}
@media (max-width: 300px) {
  .brand .wm { display: none; }
}

/* ===========================================================
   NAV TOGGLE + MOBILE MENU
   =========================================================== */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line-2); color: var(--ink);
  cursor: pointer; transition: background .2s, border-color .2s; flex: none;
}
.nav-toggle:hover { background: var(--surface); border-color: var(--ink-3); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgb(245 242 234 / 0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px;
    display: none; box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; animation: menuDrop .26s cubic-bezier(.2,.8,.2,1); }
  .nav-links a { font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }
}
@keyframes menuDrop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ===========================================================
   CAREERS PAGE
   =========================================================== */
.page-hero { background: var(--ocean); color: #fff; position: relative; overflow: hidden; }
.page-hero .glow {
  position: absolute; width: 60vw; height: 60vw; left: 50%; top: -30%; transform: translateX(-50%);
  background: radial-gradient(circle, rgb(107 122 77 / 0.32), transparent 60%);
}
.page-hero .glow.b {
  left: auto; right: -10%; top: auto; bottom: -40%; transform: none;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgb(217 199 167 / 0.16), transparent 62%);
}
.page-hero-inner {
  position: relative; z-index: 2; text-align: center;
  max-width: 820px; margin-inline: auto;
  padding-block: clamp(96px, 13vw, 168px);
}
.page-hero .eyebrow {
  background: rgb(107 122 77 / 0.28); padding: 9px 16px; border-radius: 999px;
  color: #fff; border: 1px solid rgb(217 199 167 / 0.35);
}
.page-hero .eyebrow::before { background: var(--sand); box-shadow: 0 0 0 4px rgb(217 199 167 / 0.25); }
.page-hero h1 { color: #fff; font-weight: 700; font-size: clamp(34px, 4.6vw, 56px); margin-top: 22px; text-wrap: balance; line-height: 1.14; }
.page-hero h1 em { font-style: italic; color: var(--sand); }
.page-hero p { margin-top: 26px; color: rgb(240 237 226 / 0.9); font-size: clamp(17px, 1.4vw, 20px); max-width: 620px; margin-inline: auto; }
.page-hero .hero-actions { justify-content: center; margin-top: 38px; }

/* perk pills inside careers hero */
.hero-perks {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 34px;
}
.hero-perks .pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px;
  background: rgb(107 122 77 / 0.18); border: 1px solid rgb(217 199 167 / 0.3);
  color: #fff; font-size: 14.5px; font-weight: 600;
}
.hero-perks .pill svg { width: 18px; height: 18px; color: var(--sand); flex: none; }

/* perks cards */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(44px, 5vw, 64px); }
.perk {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
}
.perk:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.perk .chip { margin-bottom: 22px; }
.perk h3 { font-size: 21px; }
.perk p { color: var(--ink-3); font-size: 15px; margin-top: 12px; }

/* profile (quem procuramos) */
.profile { background: var(--ocean); color: #fff; position: relative; overflow: hidden; }
.profile .glow {
  position: absolute; width: 48vw; height: 48vw; right: -12%; top: -20%;
  background: radial-gradient(circle, rgb(107 122 77 / 0.24), transparent 62%);
}
.profile .section-head h2 { color: #fff; }
.profile .section-head p { color: rgb(231 226 214 / 0.82); }
.profile-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  margin-top: clamp(40px, 5vw, 60px); max-width: 920px; margin-inline: auto;
}
.profile-item {
  display: flex; gap: 16px; align-items: center;
  border: 1px solid rgb(163 173 138 / 0.3); border-radius: var(--radius-sm);
  padding: 22px 24px; background: linear-gradient(180deg, rgb(163 173 138 / 0.1), rgb(163 173 138 / 0.03));
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s;
}
.profile-item:hover { transform: translateY(-4px); border-color: rgb(217 199 167 / 0.55); background: linear-gradient(180deg, rgb(163 173 138 / 0.16), rgb(163 173 138 / 0.05)); }
.profile-item .chip { width: 46px; height: 46px; border-color: rgb(217 199 167 / 0.6); color: var(--sand); }
.profile-item .chip svg { width: 20px; height: 20px; }
.profile-item span { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #fff; }

/* apply form */
.apply { background: var(--bg-soft); }
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow-md);
  max-width: 780px; margin-inline: auto; margin-top: clamp(40px, 5vw, 56px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.field label .req { color: var(--brand-700); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-xs);
  background: #fff; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.form-card .btn { margin-top: 28px; }
.form-foot { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }
.form-alt { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.form-alt a { color: var(--brand-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-success {
  display: none; text-align: center; padding: 20px 0 4px;
}
.form-success .ok {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; color: #fff; background: var(--brand);
  box-shadow: 0 12px 30px rgb(75 86 53 / 0.3);
}
.form-success .ok svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 24px; }
.form-success p { color: var(--ink-3); margin-top: 10px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }

@media (max-width: 900px) {
  .perks { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .profile-grid { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}
