/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --ink:       #1B2A20;
  --ink-2:     #2C3A30;
  --muted:     #607060;
  --line:      #DDE5DC;
  --card:      #F4F7F4;
  --dark:      #132418;
  --dark-2:    #1B4D3E;
  --green:     #1B4D3E;
  --green-l:   #2A7055;
  --terra:     #B84A3A;
  --terra-l:   #D05040;
  --sand:      #F8F4EF;
  --white:     #ffffff;
  --shadow:    0 8px 28px -10px rgba(27,45,32,.18);
  --shadow-lg: 0 28px 56px -18px rgba(27,45,32,.30);
  --radius:    14px;
  --radius-lg: 22px;
  --container: 1180px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }

.skip { position: absolute; left: -9999px; z-index: 9999; background: #fff; color: var(--ink); padding: .75rem 1.25rem; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

.form-banner { padding: .85rem 0; font-weight: 600; font-size: .9375rem; text-align: center; }
.form-banner--success { background: #e9f9ee; color: #1f9d55; }
.form-banner--error   { background: #fdecea; color: #c0392b; }

:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .875rem 1.75rem; border-radius: 999px;
  font-weight: 700; font-size: .9375rem; white-space: nowrap;
  border: 2px solid transparent;
  transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--terra); color: var(--white); box-shadow: 0 8px 22px -8px rgba(184,74,58,.5); }
.btn-primary:hover { background: var(--terra-l); }
.btn-dark    { background: var(--green); color: var(--white); }
.btn-dark:hover { background: var(--green-l); }
.btn-ghost   { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--green); }
.btn-outline-white { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* ── Chip ───────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: rgba(27,77,62,.1); color: var(--green);
  font-weight: 700; font-size: .8125rem; letter-spacing: .02em;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(27,77,62,.2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(27,77,62,.2); } 50% { box-shadow: 0 0 0 7px rgba(27,77,62,.08); } }

.eyebrow { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--terra); font-weight: 700; }

/* ── Topbar ─────────────────────────────────────────────────────────── */
.topbar { background: var(--dark); color: rgba(255,255,255,.8); font-size: .8125rem; padding: .5rem 0; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.topbar-info { opacity: .75; overflow: hidden; text-overflow: ellipsis; }
.topbar-phones { display: flex; gap: 1.25rem; flex-shrink: 0; }
.topbar a { color: var(--white); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; transition: color .18s; }
.topbar a:hover { color: var(--terra-l); }
.topbar svg { color: var(--terra); flex-shrink: 0; }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: .875rem; }
.brand { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand-logo { height: 65px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 1.1rem; color: var(--green); }
.brand-sub  { font-size: .75rem; font-weight: 500; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { font-weight: 600; font-size: .9375rem; color: var(--ink-2); transition: color .18s; }
.nav-links a:hover { color: var(--green); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.burger { display: none; width: 42px; height: 42px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; border-radius: 2px; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after  { position: absolute; top:  6px; }

/* Mobile nav */
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--white); padding: .75rem 0 1.25rem; }
.mobile-menu a { display: block; padding: .875rem .25rem; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu a:last-child { color: var(--terra); border-bottom: none; }
.mobile-menu.open { display: block; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white); padding: clamp(4rem,8vw,6.5rem) 0 clamp(3.5rem,7vw,6rem);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
/* terracota glow */
.hero::after {
  content: '';
  position: absolute; top: -6rem; right: -8rem;
  width: 36rem; height: 36rem;
  background: radial-gradient(circle, rgba(184,74,58,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.25rem,5vw,3.75rem); line-height: 1.05; letter-spacing: -.02em; font-weight: 800; margin: 1rem 0; }
.hero h1 .hl { color: var(--terra-l); }
.hero .lead { font-size: 1.075rem; color: rgba(255,255,255,.7); max-width: 520px; margin-bottom: 1.75rem; line-height: 1.65; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .875rem; margin-bottom: 2rem; }
.hero-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: .75rem; max-width: 520px; }
.hero-stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: .875rem 1rem; }
.hero-stat b { display: block; font-size: .9375rem; font-weight: 700; color: var(--white); }
.hero-stat span { font-size: .8125rem; color: rgba(255,255,255,.55); }
/* Media */
.hero-media { position: relative; }
.hero-frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-ph { width: 100%; aspect-ratio: 4/3; background: rgba(255,255,255,.07); border: 2px dashed rgba(255,255,255,.2); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; color: rgba(255,255,255,.35); font-size: .875rem; text-align: center; }
.float-card { position: absolute; background: var(--white); border-radius: var(--radius); padding: .875rem 1.1rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .75rem; }
.float-card .ic { width: 2.25rem; height: 2.25rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-card .ic.terra { background: rgba(184,74,58,.1); color: var(--terra); }
.float-card .ic.green { background: rgba(27,77,62,.1); color: var(--green); }
.float-card b { display: block; font-size: .9375rem; font-weight: 700; color: var(--ink); }
.float-card span { font-size: .75rem; color: var(--muted); }
.fc-1 { bottom: -1.25rem; left: -1.5rem; }
.fc-2 { top: 1.5rem; right: -1.5rem; }

/* ── Features bar ───────────────────────────────────────────────────── */
.features { background: var(--white); padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.feature { display: flex; align-items: flex-start; gap: .875rem; padding: 1.1rem; border-radius: var(--radius); transition: background .18s; }
.feature:hover { background: var(--card); }
.feature .ic { width: 2.5rem; height: 2.5rem; border-radius: 10px; background: rgba(27,77,62,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--green); }
.feature h4 { font-weight: 700; font-size: .9375rem; margin-bottom: .2rem; }
.feature p  { font-size: .8125rem; color: var(--muted); line-height: 1.5; }

/* ── Section shared ─────────────────────────────────────────────────── */
.section { padding-block: clamp(3.5rem,7vw,6rem); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.75rem,3.5vw,2.5rem); font-weight: 800; color: var(--ink); letter-spacing: -.015em; margin: .5rem 0 .75rem; }
.section-head p  { font-size: 1rem; color: var(--muted); max-width: 540px; margin-inline: auto; }
.accent-bar { width: 48px; height: 4px; background: var(--terra); border-radius: 2px; margin: 1rem auto 0; }

/* ── Situations ─────────────────────────────────────────────────────── */
.sit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.sit-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: .6rem; transition: border-color .2s, box-shadow .2s, transform .2s; cursor: default; }
.sit-card:hover { border-color: var(--terra); box-shadow: 0 6px 22px rgba(184,74,58,.12); transform: translateY(-2px); }
.sit-card .ic { width: 2.5rem; height: 2.5rem; border-radius: 10px; background: rgba(184,74,58,.08); display: flex; align-items: center; justify-content: center; color: var(--terra); }
.sit-card h3 { font-weight: 700; font-size: .9375rem; color: var(--ink); }
.sit-card p  { font-size: .8125rem; color: var(--muted); line-height: 1.5; flex-grow: 1; }

/* ── Services ───────────────────────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.svc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.75rem; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.svc-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--green); transform: scaleX(0); transition: transform .2s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card .ic { width: 3rem; height: 3rem; border-radius: 12px; background: rgba(27,77,62,.1); display: flex; align-items: center; justify-content: center; color: var(--green); margin-bottom: 1rem; }
.svc-card h3 { font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: .5rem; }
.svc-card p  { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ── About ──────────────────────────────────────────────────────────── */
.about { background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,5vw,5rem); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4/3; }
.about-media .img-ph-light { aspect-ratio: 4/3; background: var(--line); border: 2px dashed #c0c8c0; border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; color: #99a899; font-size: .875rem; text-align: center; }
.exp-badge { position: absolute; bottom: 1.75rem; right: -1.25rem; background: var(--green); color: var(--white); padding: 1.25rem 1.5rem; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-lg); }
.exp-badge strong { font-size: 2.25rem; display: block; font-weight: 800; line-height: 1; }
.exp-badge span   { font-size: .8125rem; opacity: .85; }
.about-content h2 { font-size: clamp(1.75rem,3.5vw,2.4rem); font-weight: 800; color: var(--ink); letter-spacing: -.015em; margin: .5rem 0 1rem; }
.about-content h2 em { font-style: normal; color: var(--green); }
.about-content p  { color: var(--muted); margin-bottom: 1.25rem; line-height: 1.7; }
.about-list { margin-bottom: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.about-list li { display: flex; align-items: center; gap: .75rem; font-size: .9375rem; }
.tick { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(27,77,62,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--green); }

/* ── Steps ──────────────────────────────────────────────────────────── */
.steps { background: var(--dark); color: var(--white); }
.steps .section-head h2 { color: var(--white); }
.steps .section-head p  { color: rgba(255,255,255,.65); }
.steps-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1.5rem; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 2rem; left: calc(10% + .75rem); right: calc(10% + .75rem); height: 2px; background: linear-gradient(90deg, var(--terra) 0%, rgba(184,74,58,.15) 100%); pointer-events: none; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; position: relative; z-index: 1; }
.step-num { width: 4rem; height: 4rem; border-radius: 50%; background: var(--white); border: 2px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px var(--dark); }
.step-num svg { width: 1.5rem; height: 1.5rem; color: var(--terra); }
.step-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--terra); }
.step h4 { font-weight: 700; font-size: .9375rem; color: var(--white); }
.step p  { font-size: .8125rem; color: rgba(255,255,255,.55); line-height: 1.55; }

/* ── CTA band ───────────────────────────────────────────────────────── */
.cta-band { background: var(--terra); color: var(--white); padding-block: clamp(2.5rem,5vw,4rem); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.cta-inner h2 { font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 800; margin-bottom: .5rem; }
.cta-inner p  { opacity: .85; font-size: .9375rem; max-width: 44rem; }
.cta-actions  { display: flex; gap: .875rem; flex-wrap: wrap; margin-top: 1.5rem; }
.cta-phones { display: flex; flex-direction: column; gap: .75rem; flex-shrink: 0; }
.cta-phone { display: flex; align-items: center; gap: 1.25rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: .875rem 1.25rem; }
.cta-phone span { font-size: .8125rem; opacity: .75; display: block; }
.cta-phone b    { font-size: 1.1rem; font-weight: 800; display: block; }
.call { background: var(--white); color: var(--terra); padding: .45rem 1.1rem; border-radius: 999px; font-weight: 800; font-size: .875rem; transition: background .18s; }
.call:hover { background: var(--sand); }

/* ── Zones ──────────────────────────────────────────────────────────── */
.zones { background: var(--card); }
.zones-grid { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2.5rem; }
.zone-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); font-weight: 600; font-size: .875rem; color: var(--ink); transition: border-color .18s, background .18s; }
.zone-chip::before { content: ''; width: .4rem; height: .4rem; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.zone-chip:hover { border-color: var(--green); background: var(--white); }
.zone-map { border-radius: var(--radius-lg); overflow: hidden; height: 280px; border: 1px solid var(--line); }
.zone-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: .5rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; font-family: inherit; font-weight: 700; font-size: .9375rem; color: var(--ink); background: none; border: none; cursor: pointer; transition: color .18s; }
.faq-q:hover { color: var(--green); }
.faq-q .caret { transition: transform .25s; color: var(--terra); flex-shrink: 0; }
.faq-item.open .faq-q { color: var(--green); }
.faq-item.open .caret { transform: rotate(180deg); }
.faq-a { max-height: none; overflow: hidden; padding: 0 1.4rem 1.25rem; font-size: .9rem; color: var(--muted); line-height: 1.7; transition: max-height .3s ease, padding .3s ease; }
/*
  Por defeito (sem JS), todas as respostas ficam visíveis — importante
  para SEO e para quem navega sem JavaScript. Só depois de main.js
  confirmar que pode gerir o acordeão é que os itens não-ativos passam a
  fechar (classe "js-collapsed", aplicada dinamicamente).
*/
.faq-item.js-collapsed .faq-a { max-height: 0; padding-top: 0; padding-bottom: 0; }

/* ── Contacto form ──────────────────────────────────────────────────── */
.contact-band { background: var(--dark-2); color: var(--white); padding-block: clamp(3.5rem,7vw,6rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2.5rem,5vw,5rem); align-items: start; }
.contact-info h2 { font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 800; color: var(--white); margin: .5rem 0 1rem; }
.contact-info p  { color: rgba(255,255,255,.65); font-size: .9375rem; margin-bottom: 1.75rem; line-height: 1.7; }
.contact-phones  { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.75rem; }
.contact-phones a { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; font-size: 1.5rem; color: var(--terra-l); transition: color .18s; }
.contact-phones a:hover { color: var(--white); }
.contact-note { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-left: 3px solid var(--terra); border-radius: var(--radius); padding: 1rem 1.25rem; font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.65; }
/* Form card */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: 0 28px 56px rgba(0,0,0,.28); }
.form-status { font-size: .875rem; font-weight: 600; border-radius: var(--radius); }
.form-status.ok  { background: #d4edda; color: #1a6640; padding: 1rem 1.25rem; margin-bottom: 1.25rem; border: 1px solid #a8d5b5; }
.form-status.err { background: #fde8e8; color: #9B2B1F; padding: 1rem 1.25rem; margin-bottom: 1.25rem; border: 1px solid #f0b0b0; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ff   { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .9rem; }
.ff label { font-size: .875rem; font-weight: 600; color: var(--muted); }
.ff input:not([type="checkbox"]):not([type="radio"]),
.ff select,
.ff textarea {
    font-family: var(--font);
    font-size: 1rem;
    color: var(--ink);
    background: var(--card);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: .65rem .9rem;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .18s, box-shadow .18s;
}
.ff input:not([type="checkbox"]):not([type="radio"]):focus,
.ff select:focus,
.ff textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(27,77,62,.12);
}

.ff select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23607060' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.ff textarea { resize: vertical; min-height: 5.5rem; }
.hp { display: none !important; }
.btn-submit { width: 100%; min-height: 3.25rem; margin-top: .25rem; }

.ff-consent {
    flex-direction: row;
    align-items: flex-start;
    gap: .75rem;
}

.ff-consent input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    margin: .15rem 0 0;
    flex: 0 0 auto;
    accent-color: var(--green);
    cursor: pointer;
}

.ff-consent label {
    font-weight: 400;
    cursor: pointer;
    font-size: .875rem;
    line-height: 1.4;
}
/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: var(--white); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { height: 44px; width: auto; margin-bottom: 1rem; }
.footer-desc { color: rgba(255,255,255,.5); font-size: .875rem; line-height: 1.7; max-width: 22rem; }
.fcol h5    { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.35); margin-bottom: .85rem; }
.fcol ul    { display: flex; flex-direction: column; gap: .5rem; }
.fcol a     { color: rgba(255,255,255,.6); font-size: .875rem; transition: color .18s; display: flex; align-items: center; gap: .4rem; }
.fcol a:hover { color: var(--terra-l); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .75rem; color: rgba(255,255,255,.3); }

/* ── FAB mobile ─────────────────────────────────────────────────────── */
.fab-group { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; gap: .5rem; padding: .6rem; background: var(--dark); }
.fab { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; border-radius: 10px; font-weight: 800; font-size: .9rem; text-align: center; background: var(--terra); color: var(--white); }
.fab-alt { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.fab svg, .fab .icon { flex-shrink: 0; width: 1.1rem; height: 1.1rem; }

/*
  Progressive enhancement: por defeito TUDO está visível, incluindo se o
  JavaScript falhar. Só depois de main.js confirmar que o
  IntersectionObserver está disponível é que a classe "js-fade-ready" é
  adicionada ao body e os elementos [data-observe] passam a animar.
*/
[data-observe] { opacity: 1; transform: none; }
body.js-fade-ready [data-observe] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease-out, transform .65s ease-out; }
body.js-fade-ready [data-observe].in { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid    { grid-template-columns: repeat(3,1fr); }
  .steps-grid::before { display: none; }
  .footer-grid   { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: inline-flex; }

  .hero-grid    { grid-template-columns: 1fr; }
  /*
    Bug corrigido: a versão anterior tinha "order:-1" aqui, o que colocava
    a imagem ANTES do H1/CTA em mobile. A ordem no DOM já é
    conteúdo -> imagem (ver index.php); não reintroduzir "order".
  */
  .hero-frame, .img-ph { aspect-ratio: 16/9; }
  .fc-1, .fc-2  { display: none; }
  .hero-stats   { grid-template-columns: repeat(2,1fr); }
  .hero-ctas    { flex-direction: column; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .sit-grid      { grid-template-columns: 1fr 1fr; }
  .svc-grid      { grid-template-columns: 1fr; }
  .about-grid    { grid-template-columns: 1fr; }
  .exp-badge     { right: 1rem; }
  .steps-grid    { grid-template-columns: 1fr 1fr; }
  .cta-inner     { flex-direction: column; }
  .cta-phones    { width: 100%; }
  .contact-grid  { grid-template-columns: 1fr; }
  .frow          { grid-template-columns: 1fr; }
  .form-card     { padding: 1.5rem; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .fab-group { display: flex; }
  body { padding-bottom: 4.5rem; }
}

@media (max-width: 480px) {
  .sit-grid  { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ===== Ícones: tamanhos utilitários (usados via icon($name,$class)) ===== */
.icon { width: 1em; height: 1em; flex-shrink: 0; }
.icon-xs { width: .85em; height: .85em; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 1.5em; height: 1.5em; }
.icon-xl { width: 1.875em; height: 1.875em; }

/* ===== Menu mobile: acessibilidade ===== */
.mobile-menu[aria-hidden="true"] { display: none; }
.mobile-menu.open { display: block; }

/* ===== Estimativa: secção visual própria ===== */
.estimate-section { background: var(--sand); padding-block: clamp(3.5rem,7vw,6rem); }
.estimate-grid { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; max-width: 760px; margin-inline: auto; text-align: left; }
.estimate-icon {
  width: 4.5rem; height: 4.5rem; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-lg);
}
.estimate-icon svg { width: 2rem; height: 2rem; }
.estimate-grid h2 { font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 800; color: var(--ink); letter-spacing: -.015em; margin: .5rem 0 .75rem; }
.estimate-grid p { color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }

/* ===== Área de atuação: Ermesinde dominante, sem grelha de concelhos ===== */
.area-context {
  display: flex; align-items: center; justify-content: center; gap: .625rem;
  max-width: 480px; margin: 0 auto; background: var(--white); border: 1.5px solid var(--line);
  border-radius: 999px; padding: .875rem 1.5rem; font-weight: 700; color: var(--ink); text-align: center;
}
.area-context .icon { color: var(--terra); width: 1.15em; height: 1.15em; }

/* ===== Responsive: novas secções ===== */
@media (max-width: 760px) {
  .estimate-grid { grid-template-columns: 1fr; text-align: center; }
  .estimate-icon { margin-inline: auto; }
}

/* ===== prefers-reduced-motion: cobrir também o novo fab-group ===== */
@media (prefers-reduced-motion: reduce) {
  .chip .dot { animation: none; }
  body.js-fade-ready [data-observe] { opacity: 1; transform: none; }
}
