/* ==========================================================================
   TERCOMF — Janelas e Portas · Folha de estilo (design próprio)
   Estética clara, arejada e arredondada — "conforto". Tipografia Sora + Inter,
   azul-marinho + turquesa do logótipo, cartões suaves e muito espaço em branco.
   Desenho propositadamente DIFERENTE de outras demos. Sem dependências.
   ========================================================================== */

/* 1. VARIÁVEIS ------------------------------------------------------------ */
:root {
  --navy:      #0F2A47;    /* azul-marinho do círculo do logo */
  --navy-2:    #163B5E;
  --header:    #2E404B;    /* cor exata do logótipo escuro — fundo do header */
  --teal:      #14B8CB;    /* turquesa da marca */
  --teal-dk:   #0C8393;    /* turquesa escuro p/ texto sobre claro */
  --teal-soft: #E4F7FA;    /* fundo turquesa muito claro */
  --paper:     #FFFFFF;
  --bg:        #F5F9FC;    /* fundo geral levemente azulado */
  --bg-2:      #EEF4F9;
  --ink:       #12212E;    /* texto principal */
  --muted:     #596B7B;    /* texto secundário */
  --line:      #E5EDF3;
  --wa:        #25D366;

  --shadow-sm: 0 4px 18px rgba(15, 42, 71, 0.06);
  --shadow:    0 16px 44px rgba(15, 42, 71, 0.10);
  --shadow-lg: 0 30px 70px rgba(15, 42, 71, 0.16);
  --r-sm: 14px;
  --r:    22px;
  --r-lg: 32px;
  --r-pill: 999px;
  --max: 1200px;

  --head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, picture, iframe, svg, video { max-width: 100%; display: block; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  overflow-x: hidden;
}

/* 2. TIPOGRAFIA ----------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.12; color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; color: var(--teal-dk); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.02em;
  color: var(--teal-dk); background: var(--teal-soft); padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill); margin-bottom: 1.2rem;
}
.eyebrow svg { width: 16px; height: 16px; }

/* 3. LAYOUT --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2.2rem); }
.section { padding: clamp(3.6rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--paper); }
.section--soft { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.section--navy { background: var(--navy); color: #cdd8e4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #a9b7c8; }
.section--navy .eyebrow { background: rgba(255,255,255,0.08); color: #7fe3ef; }

.head { max-width: 680px; margin: 0 auto clamp(2.4rem, 5vw, 3.4rem); text-align: center; }
.head p { margin-top: 0.7rem; font-size: 1.06rem; }

/* 4. BOTÕES (pílula) ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.85rem 1.9rem; border-radius: var(--r-pill);
  font-family: var(--head); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  cursor: pointer; border: 2px solid transparent; text-align: center;
  transition: transform var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--teal); color: #04303a; box-shadow: 0 14px 30px rgba(20,184,203,0.35); }
.btn--primary:hover { background: #0fa7b9; color: #04303a; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 14px 30px rgba(37,211,102,0.3); }
.btn--wa:hover { background: #1eb658; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: #fff; border-color: var(--teal); color: var(--teal-dk); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--lg { min-height: 58px; padding: 1rem 2.2rem; font-size: 1.06rem; }
.btn--block { width: 100%; }

.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 2000; background: var(--navy); color: #fff; padding: 0.7rem 1.2rem; border-radius: 10px; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* 5. NAVEGAÇÃO (header escuro, cor do logótipo) --------------------------- */
.nav { position: sticky; top: 0; z-index: 1000; background: var(--header); border-bottom: 1px solid transparent; transition: box-shadow var(--ease); }
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.22); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.55rem; }

.nav__logo { display: flex; align-items: center; gap: 0.6rem; }
.brandmark { display: flex; flex-direction: column; line-height: 1; }
.brandmark__word { font-family: var(--head); font-weight: 800; font-size: 1.55rem; letter-spacing: 0.04em; color: #AFC0CE; display: inline-flex; align-items: center; }
.brandmark__box { color: #fff; background: #5E7A93; padding: 0.06em 0.28em; margin-left: 0.12em; border-radius: 5px; }
.brandmark__sub { font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase; color: #90a3b4; margin-top: 6px; font-weight: 600; }
.nav__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; flex: none; }
.nav__mark span { font-family: var(--head); font-weight: 800; color: var(--teal); font-size: 1.15rem; }
.nav__mark-img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.footer__logo { width: 128px; height: auto; margin-bottom: 1.1rem; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-name { font-family: var(--head); font-weight: 800; font-size: 1.35rem; color: var(--navy); letter-spacing: 0.02em; }
.nav__logo-sub { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-dk); margin-top: 4px; font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: 0.3rem; }
.nav__links a { font-family: var(--head); font-weight: 500; font-size: 0.98rem; color: #e7eef4; padding: 0.5rem 0.95rem; border-radius: var(--r-pill); transition: background var(--ease), color var(--ease); }
.nav__links a:hover { background: rgba(255,255,255,0.12); color: #fff; }

.nav__actions { display: flex; align-items: center; gap: 0.7rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 12px; cursor: pointer; }
.nav__toggle span { width: 22px; height: 2px; background: #fff; transition: var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; padding: 0.6rem clamp(1.2rem,4vw,2.2rem) 1.6rem; background: #fff; border-top: 1px solid var(--line); }
.mobile-menu.is-open { display: flex; }
.mobile-menu > a { padding: 0.85rem 0.4rem; font-family: var(--head); font-weight: 500; font-size: 1.05rem; color: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 1rem; }
.m-group { border-bottom: 1px solid var(--line); padding: 0.5rem 0; }
.m-group__title { font-family: var(--head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-dk); padding: 0.5rem 0.4rem; }
.m-group__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem 0.6rem; }
.m-group a { display: block; padding: 0.5rem 0.4rem 0.5rem 0.9rem; font-size: 0.95rem; font-weight: 500; color: var(--navy); }

/* Dropdowns de navegação (Serviços / Zonas) — estrutura para SEO no site final */
.nav__drop { position: relative; }
.nav__droptoggle {
  font-family: var(--head); font-weight: 500; font-size: 0.98rem; color: #e7eef4;
  padding: 0.5rem 0.95rem; border-radius: var(--r-pill); background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.35rem; transition: background var(--ease), color var(--ease);
}
.nav__droptoggle:hover { background: rgba(255,255,255,0.12); color: #fff; }
.nav__droptoggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform var(--ease); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow); padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease); z-index: 30; display: grid; gap: 2px; min-width: 230px;
}
.nav__menu--grid { grid-template-columns: 1fr 1fr; min-width: 340px; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__drop:hover .nav__droptoggle::after, .nav__drop:focus-within .nav__droptoggle::after { transform: rotate(-135deg) translateY(-1px); }
.nav__menu a { display: block; padding: 0.6rem 0.8rem; border-radius: 10px; font-family: var(--body); font-weight: 500; font-size: 0.92rem; color: var(--ink); }
.nav__menu a:hover { background: var(--teal-soft); color: var(--teal-dk); }

/* Faixas em movimento (marquee) — separadores decorativos ao longo do site */
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker--teal { background: var(--teal); }
.ticker--navy { background: var(--navy); }
.ticker--soft { background: var(--paper); border-block: 1px solid var(--line); }
.ticker__track { display: flex; align-items: center; gap: 2.6rem; width: max-content; padding: 0.85rem 1.3rem; animation: ticker 36s linear infinite; }
.ticker--rev .ticker__track { animation-direction: reverse; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--head); font-weight: 600; font-size: 0.98rem; white-space: nowrap; letter-spacing: -0.01em; }
.ticker--teal .ticker__item { color: #05333c; }
.ticker--navy .ticker__item { color: #eaf1f8; }
.ticker--soft .ticker__item { color: var(--navy); }
.ticker__item svg { width: 20px; height: 20px; flex: none; }
.ticker--teal .ticker__item svg { color: #05333c; }
.ticker--navy .ticker__item svg { color: var(--teal); }
.ticker--soft .ticker__item svg { color: var(--teal-dk); }
.ticker__item::after { content: "✦"; margin-left: 2.6rem; opacity: 0.5; font-size: 0.7rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 6. HERO (claro, 2 colunas) --------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero::before { content: ""; position: absolute; top: -180px; right: -160px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(20,184,203,0.18), transparent 70%); z-index: 0; }
.hero::after { content: ""; position: absolute; bottom: -220px; left: -140px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(15,42,71,0.08), transparent 70%); z-index: 0; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { color: var(--navy); }
.hero__title span { color: var(--teal-dk); }
.hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.22rem); margin: 1.3rem 0 2rem; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; margin-top: 2.2rem; }
.hero__chip { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0.5rem 1rem; font-size: 0.86rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm); }
.hero__chip svg { width: 18px; height: 18px; color: var(--teal); }

.hero__visual { position: relative; }
.hero__frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; left: -22px; bottom: 34px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 1rem 1.3rem; display: flex; align-items: center; gap: 0.8rem; }
.hero__badge-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; flex: none; }
.hero__badge-ico svg { width: 24px; height: 24px; color: var(--teal-dk); }
.hero__badge strong { display: block; font-family: var(--head); font-size: 1.5rem; color: var(--navy); line-height: 1; }
.hero__badge span { font-size: 0.78rem; color: var(--muted); }

/* 7. VÍDEO / SHOWREEL — full-bleed decorativo, com frase por cima -------- */
.reel { position: relative; height: min(80vh, 780px); min-height: 460px; overflow: hidden; background: var(--navy); }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.reel__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,42,71,0.55) 0%, rgba(15,42,71,0.35) 40%, rgba(15,42,71,0.75) 100%); }
.reel__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 2rem clamp(1.2rem,4vw,2.2rem); }
.reel__phrase { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: #fff; font-size: clamp(1.9rem, 4.5vw, 3.4rem); max-width: 16ch; text-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.reel__sub { color: #eaf1f8; font-size: clamp(1rem, 1.8vw, 1.2rem); margin-top: 1rem; max-width: 46ch; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.reel__content .btn { margin-top: 1.8rem; }

/* 8. OPINIÕES / AVALIAÇÕES ----------------------------------------------- */
.ops__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.op-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; transition: transform var(--ease), box-shadow var(--ease); }
.op-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.op-card__quote { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; color: var(--teal-dk); font-family: var(--head); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.op-card__stars { color: #F6A609; letter-spacing: 2px; font-size: 1rem; }
.op-card__text { color: var(--ink); font-size: 0.98rem; line-height: 1.6; flex-grow: 1; }
.op-card__who { display: flex; align-items: center; gap: 0.8rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.op-card__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--head); font-weight: 700; flex: none; }
.op-card__name { font-weight: 700; color: var(--navy); font-size: 0.94rem; }
.op-card__src { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 0.3rem; }
.op-card__src svg { width: 14px; height: 14px; }
.ops__cta { text-align: center; margin-top: 2.4rem; }

/* 9. SERVIÇOS (cartões) --------------------------------------------------- */
.svcs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); position: relative; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(20,184,203,0.4); }
.svc__ico { width: 54px; height: 54px; border-radius: 16px; background: var(--teal-soft); display: grid; place-items: center; margin-bottom: 1.1rem; }
.svc__ico svg { width: 28px; height: 28px; color: var(--teal-dk); }
.svc h3 { margin-bottom: 0.4rem; }
.svc p { font-size: 0.9rem; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.8rem 1.4rem; margin-top: 2.6rem; }
.brands__label { width: 100%; text-align: center; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 0.4rem; }
.brands__item { font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--navy); opacity: 0.75; padding: 0.5rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; }

/* 10. PORTFÓLIO ----------------------------------------------------------- */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 1rem; }
.work-card { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); display: flex; align-items: flex-end; color: #fff; transition: transform var(--ease), box-shadow var(--ease); }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card__ph { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0.4; }
.work-card__ph svg { width: 56px; height: 56px; color: var(--teal); }
.work-card__cap { position: relative; z-index: 2; padding: 1.1rem 1.2rem; width: 100%; background: linear-gradient(to top, rgba(9,26,44,0.9), transparent); }
.work-card__tag { display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #04303a; background: var(--teal); padding: 0.18rem 0.6rem; border-radius: var(--r-pill); margin-bottom: 0.4rem; }
.work-card__title { font-family: var(--head); font-weight: 600; font-size: 1.05rem; }
.work-card--a { grid-column: span 2; grid-row: span 2; }
.work-card--b { grid-column: span 2; }
.work-card--c { grid-column: span 2; }
.work-card--d { grid-column: span 3; }
.work-card--e { grid-column: span 3; }
.work__hint { text-align: center; font-size: 0.84rem; color: var(--muted); margin-top: 1.4rem; }
.work__cta { text-align: center; margin-top: 1.4rem; }

/* 11. EQUIPA -------------------------------------------------------------- */
.team__lead { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.6rem); align-items: center; margin-bottom: clamp(2.4rem,5vw,3.6rem); }
.team__lead-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; background: linear-gradient(150deg, var(--navy), var(--navy-2)); display: grid; place-items: center; position: relative; }
.team__lead-ph { text-align: center; color: #fff; opacity: 0.85; padding: 1.5rem; }
.team__lead-ph svg { width: 70px; height: 70px; color: var(--teal); margin: 0 auto 0.7rem; }
.team__lead-ph span { font-size: 0.84rem; }
.team__quote { font-family: var(--head); font-weight: 500; font-size: clamp(1.1rem,1.8vw,1.35rem); color: var(--navy); line-height: 1.4; margin: 1.2rem 0 1.4rem; }
.team__sign { font-weight: 700; color: var(--navy); }
.team__sign--note { font-weight: 400; font-style: italic; color: #9aa8b5; }
.team__sign span { display: block; font-weight: 400; font-family: var(--body); color: var(--muted); font-size: 0.88rem; }
.team__stats { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.team__stat-num { font-family: var(--head); font-weight: 800; font-size: 1.7rem; color: var(--teal-dk); line-height: 1; }
.team__stat-label { font-size: 0.8rem; color: var(--muted); }

.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.2rem; text-align: center; box-shadow: var(--shadow-sm); transition: transform var(--ease), box-shadow var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1rem; background: linear-gradient(150deg, var(--teal-soft), #d3eef2); display: grid; place-items: center; overflow: hidden; }
.member__avatar svg { width: 44px; height: 44px; color: var(--teal-dk); }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member__name { font-family: var(--head); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.member__role { font-size: 0.85rem; color: var(--teal-dk); font-weight: 600; margin-top: 0.15rem; }

/* 12. FAQ ----------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__item summary { padding: 1.2rem 1.5rem; font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--teal-dk); transition: transform var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 1.5rem 1.3rem; }
.faq__answer p { font-size: 0.96rem; }

/* 13. CONTACTO / ORÇAMENTO ------------------------------------------------ */
.quote__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.quote__lead h2 { color: #fff; }
.quote__points { list-style: none; margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; }
.quote__points li { position: relative; padding-left: 2rem; color: #cdd8e4; }
.quote__points li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; background: var(--teal); color: #04303a; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; }
.quote__phone { margin-top: 2rem; }
.quote__phone span { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #7fe3ef; font-weight: 700; }
.quote__phone a { font-family: var(--head); font-weight: 700; font-size: 1.7rem; color: #fff; }

.quote-form { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(1.6rem,3.5vw,2.4rem); }
.quote-form__row { margin-bottom: 1.05rem; }
.quote-form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field__label { font-size: 0.82rem; font-weight: 600; color: var(--navy); font-family: var(--head); }
.field__label small { font-weight: 400; color: var(--muted); font-family: var(--body); }
.quote-form input, .quote-form select, .quote-form textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 0.85rem 1rem; width: 100%; min-height: 52px; transition: border-color var(--ease), box-shadow var(--ease);
}
.quote-form textarea { min-height: auto; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,184,203,0.18); }
.quote-form__submit { width: 100%; margin-top: 0.3rem; }
.quote-form__note { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 0.9rem; }
.quote-form__error { background: #fdeceb; color: #b3261e; border-radius: var(--r-sm); padding: 0.7rem 1rem; font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; }
.quote-form__error[hidden] { display: none; }
.quote__done { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 2.8rem 1.8rem; text-align: center; }
.quote__done[hidden] { display: none; }
.quote__done-ico { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--wa); color: #fff; font-size: 2rem; display: grid; place-items: center; }
.quote__done h3 { color: var(--navy); margin-bottom: 0.5rem; }

/* 14. RODAPÉ -------------------------------------------------------------- */
.footer { background: #0b2138; color: #90a1b4; padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer__grid { display: flex; flex-wrap: wrap; gap: 1.6rem 1.8rem; }
.footer__brand { flex: 1 1 240px; }
.footer__col { flex: 1 1 120px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer__name { font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: 0.02em; }
.footer__name span { display: block; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-top: 5px; font-weight: 600; }
.footer__brand p { margin-top: 1rem; font-size: 0.92rem; max-width: 330px; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.footer__col a:hover { color: var(--teal); }
.footer address { font-style: normal; font-size: 0.92rem; line-height: 1.9; }
.footer address a:hover { color: var(--teal); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }
.footer__bottom a { color: #cdd8e4; }
.footer__bottom a:hover { color: var(--teal); }

/* 15. BARRA MOBILE -------------------------------------------------------- */
.mobilebar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: #fff; box-shadow: 0 -4px 20px rgba(15,42,71,0.12); border-top: 1px solid var(--line); }
.mobilebar__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0.5rem 0; min-height: 60px; color: var(--navy); font-size: 0.7rem; font-weight: 700; }
.mobilebar__item svg { width: 22px; height: 22px; }
.mobilebar__item--wa { color: #128C4B; }
.mobilebar__item--call { color: var(--teal-dk); }

/* 16. WIDGET WHATSAPP ----------------------------------------------------- */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 950; display: flex; flex-direction: column; align-items: flex-end; gap: 0.8rem; }
.wa-fab__btn { width: 62px; height: 62px; border-radius: 50%; border: none; cursor: pointer; background: var(--wa); color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,0.45); display: grid; place-items: center; transition: transform var(--ease); position: relative; }
.wa-fab__btn svg { width: 34px; height: 34px; }
.wa-fab__btn:hover { transform: scale(1.06); }
.wa-fab__btn::after { content: ""; position: absolute; top: 6px; right: 6px; width: 14px; height: 14px; background: var(--teal); border: 2px solid #fff; border-radius: 50%; }
.wa-fab__btn.is-open::after { display: none; }
.wa-panel { width: min(340px, calc(100vw - 40px)); background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; transform-origin: bottom right; transition: opacity 0.25s ease, transform 0.25s ease; }
.wa-panel[hidden] { display: none; }
.wa-panel.is-hidden { opacity: 0; transform: scale(0.9) translateY(10px); pointer-events: none; }
.wa-panel__head { background: var(--navy); color: #fff; padding: 1rem 1.2rem; display: flex; align-items: center; gap: 0.8rem; }
.wa-panel__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; flex: none; }
.wa-panel__avatar svg { width: 26px; height: 26px; color: #fff; }
.wa-panel__title { font-family: var(--head); font-weight: 700; font-size: 1.05rem; }
.wa-panel__status { font-size: 0.78rem; color: #8fdcab; display: flex; align-items: center; gap: 0.35rem; }
.wa-panel__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
.wa-panel__close { margin-left: auto; background: transparent; border: none; color: #cdd8e4; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.wa-panel__body { padding: 1.1rem 1.2rem; background: #ECE5DD; }
.wa-panel__bubble { background: #fff; border-radius: 0 12px 12px 12px; padding: 0.8rem 1rem; font-size: 0.92rem; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.1); margin-bottom: 1rem; }
.wa-panel__bubble strong { color: var(--navy); }
.wa-panel__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #5b6b7f; font-weight: 700; margin-bottom: 0.5rem; }
.wa-chips { display: flex; flex-direction: column; gap: 0.5rem; }
.wa-chip { text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0.7rem 0.9rem; font-size: 0.9rem; font-weight: 600; color: var(--navy); cursor: pointer; transition: var(--ease); display: flex; align-items: center; gap: 0.6rem; }
.wa-chip:hover { border-color: var(--wa); background: #f0fff5; }
.wa-chip__ico { font-size: 1.1rem; }
.wa-panel__foot { padding: 0.9rem 1.2rem; background: #fff; border-top: 1px solid var(--line); }
.wa-panel__foot .btn { width: 100%; }

/* 17. REVEAL -------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* 18. RESPONSIVO ---------------------------------------------------------- */
@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
  .svcs__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .team__lead { grid-template-columns: 1fr; }
  .quote__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .work__grid { grid-template-columns: repeat(4, 1fr); }
  .work-card--a { grid-column: span 2; grid-row: span 2; }
  .work-card--b, .work-card--c { grid-column: span 2; }
  .work-card--d, .work-card--e { grid-column: span 2; }
}
@media (max-width: 720px) {
  .ops__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; padding-bottom: 62px; }
  .nav__cta { display: none; }
  .mobilebar { display: flex; }
  .wa-fab { bottom: 74px; }
  .svcs__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .quote-form__row--2 { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .work__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .work-card--a { grid-column: span 2; grid-row: span 1; }
  .work-card--b, .work-card--c, .work-card--d, .work-card--e { grid-column: span 1; }
}

/* 19. MOTION -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   COMPONENTES ADICIONAIS TERCOMF (intro, processo, produtos, público-alvo)
   ========================================================================== */

/* Intro / boas-vindas — 2 colunas (texto + foto) */
.intro__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.intro__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro p { font-size: 1.05rem; margin-top: 1rem; }
.intro p + p { margin-top: 0.9rem; }

/* Público-alvo — dois cartões (empresas / casas) */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.2rem; }
.aud-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.aud-card__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-soft); display: grid; place-items: center; flex: none; }
.aud-card__ico svg { width: 26px; height: 26px; color: var(--teal-dk); }
.aud-card h3 { margin-bottom: 0.2rem; }
.aud-card p { font-size: 0.9rem; }

/* Processo — "Como encomendar" (passos numerados) */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.pstep { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.3rem; box-shadow: var(--shadow-sm); position: relative; }
.pstep__num { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; margin-bottom: 1rem; }
.pstep h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.pstep p { font-size: 0.88rem; }
.process__note { margin-top: 2rem; background: var(--teal-soft); border-radius: var(--r); padding: 1.4rem 1.6rem; }
.process__note p { color: var(--navy); font-size: 0.98rem; }
.process__note strong { color: var(--teal-dk); }

/* Produtos — acordeões com a informação completa */
.products { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.product > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.5rem; }
.product > summary::-webkit-details-marker { display: none; }
.product__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; flex: none; }
.product__ico svg { width: 26px; height: 26px; color: var(--teal-dk); }
.product__title { font-family: var(--head); font-weight: 600; font-size: 1.15rem; color: var(--navy); flex: 1; }
.product__plus { font-size: 1.6rem; color: var(--teal-dk); transition: transform var(--ease); flex: none; }
.product[open] .product__plus { transform: rotate(45deg); }
.product__body { padding: 0 1.5rem 1.5rem; }
.product__body p { font-size: 0.96rem; }
.product__body p + p { margin-top: 0.7rem; }
.product__body ul { list-style: none; margin-top: 0.8rem; display: grid; gap: 0.55rem; }
.product__body ul li { position: relative; padding-left: 1.7rem; font-size: 0.94rem; color: var(--ink); }
.product__body ul li::before { content: ""; position: absolute; left: 0; top: 0.5rem; width: 11px; height: 11px; border-radius: 3px; background: var(--teal); }
.product__body .btn { margin-top: 1.2rem; }

@media (max-width: 1040px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { max-width: 560px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .reel { height: 66vh; min-height: 430px; }
  .reel__phrase { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .head { margin-bottom: 2rem; }
  .svc { padding: 1.3rem 1.2rem; }
  .hero { padding-top: 1.5rem; }
}

/* ==========================================================================
   PÁGINAS DE SERVIÇO E ZONA (SEO) — hero + corpo + aside
   ========================================================================== */
.page-hero { background: var(--navy); color: #cdd8e4; position: relative; padding: clamp(2.6rem,6vw,4.4rem) 0 clamp(2.2rem,5vw,3.4rem); }
.page-hero__crumbs { font-size: 0.85rem; color: #93a6ba; margin-bottom: 1rem; }
.page-hero__crumbs a:hover { color: var(--teal); }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero h1 span { color: #7fe3ef; }
.page-hero__lead { color: #c2cfdd; font-size: clamp(1.05rem,1.8vw,1.25rem); margin: 1rem 0 1.8rem; max-width: 62ch; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.svc-body__grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.svc-prose > * + * { margin-top: 1rem; }
.svc-prose h2 { margin-top: 1.9rem; font-size: clamp(1.4rem,2.6vw,1.9rem); }
.svc-prose p { color: var(--muted); }
.svc-prose ul { list-style: none; margin-top: 0.8rem; display: grid; gap: 0.55rem; }
.svc-prose ul li { position: relative; padding-left: 1.7rem; color: var(--ink); }
.svc-prose ul li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 11px; height: 11px; border-radius: 3px; background: var(--teal); }
.svc-prose__media { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); margin-top: 1.6rem; }
.svc-prose__media img { width: 100%; height: auto; display: block; }

.svc-aside { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.svc-aside h3 { margin-bottom: 0.3rem; }
.svc-aside p { font-size: 0.9rem; margin-bottom: 1.1rem; }
.svc-aside .btn { margin-bottom: 0.6rem; }
.svc-related { border-top: 1px solid var(--line); margin-top: 1.3rem; padding-top: 1.1rem; }
.svc-related__t { font-family: var(--head); font-weight: 600; font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.svc-related a { display: block; padding: 0.45rem 0; font-weight: 500; color: var(--navy); font-size: 0.94rem; }
.svc-related a:hover { color: var(--teal-dk); }

@media (max-width: 960px) {
  .svc-body__grid { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
}

/* ==========================================================================
   TELEMÓVEL — secções em carrossel (arrastar para o lado)
   Menos scroll vertical: serviços, opiniões, processo e portfólio deslizam.
   ========================================================================== */
.swipe-hint { display: none; align-items: center; gap: 0.4rem; margin: 0.4rem auto 0; width: 100%; justify-content: center;
  font-size: 0.8rem; font-weight: 600; color: var(--teal-dk); }
@media (max-width: 640px) {
  .svcs__grid, .ops__grid, .process, .work__grid {
    display: flex; flex-wrap: nowrap; gap: 0.9rem;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem; scrollbar-width: none;
  }
  .svcs__grid::-webkit-scrollbar, .ops__grid::-webkit-scrollbar,
  .process::-webkit-scrollbar, .work__grid::-webkit-scrollbar { display: none; }
  .svcs__grid > *, .ops__grid > *, .process > *, .work__grid > * {
    scroll-snap-align: start; flex: 0 0 78%;
  }
  .ops__grid > * { flex-basis: 85%; }
  .process > * { flex-basis: 70%; }
  .work__grid { grid-auto-rows: initial; }
  .work__grid > .work-card { flex-basis: 80%; height: 230px; }
  .swipe-hint { display: flex; }
}
