/*
Theme Name:  CasaSerena
Description: Plataforma premium de serviços domésticos — Lisboa
Version:     3.0.0
Text Domain: casaserena
*/

/* ─────────────────────────────────────────────────────
   FONTS
───────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─────────────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────────────── */
:root {
  /* Paleta principal */
  --gold:          #C7A46A;
  --gold-dk:       #A8854A;
  --gold-lt:       #D9BF8E;
  --gold-bg:       rgba(199,164,106,0.09);
  --gold-border:   rgba(199,164,106,0.28);
  /* Dourado acessível — WCAG AA (4.5:1) para texto/botões com texto pequeno.
     Usar em vez de --gold sempre que houver texto de leitura sobre/dele. */
  --gold-a11y:     #8C6B37;
  --gold-a11y-dk:  #7D5F2F;

  --charcoal:      #1C1C1A;
  --charcoal-lt:   #2A2826;
  --warm-white:    #FAF8F5;
  --beige:         #F2EDE6;
  --beige-dk:      #EAE3DA;
  --taupe:         #B7AA9C;
  --sage:          #8A9478;
  --muted:         #7A736C;
  --border:        rgba(183,170,156,0.32);
  --border-dk:     rgba(183,170,156,0.55);

  /* Semânticas (aliases para compatibilidade) */
  --primary:       var(--gold);
  --primary-dark:  var(--gold-dk);
  --primary-light: var(--gold-lt);
  --primary-bg:    var(--gold-bg);
  --neutral-0:     #FFFFFF;
  --neutral-1:     var(--warm-white);
  --neutral-2:     var(--beige);
  --neutral-3:     var(--beige-dk);
  --neutral-4:     #DDD5CA;
  --neutral-6:     var(--taupe);
  --neutral-7:     var(--muted);
  --neutral-8:     #6B6560;
  --neutral-9:     #3A3530;
  --neutral-10:    var(--charcoal);
  --secondary:     var(--charcoal);
  --blue:          #4A7FB3;

  /* Aliases antigos */
  --cs-primary:    var(--gold);
  --cs-dark:       var(--charcoal);
  --cs-white:      #FFFFFF;
  --cs-bg:         var(--warm-white);
  --cs-muted:      var(--muted);
  --cs-text:       var(--charcoal);
  --cs-border:     var(--border);
  --cs-success:    #2E7D52;
  --cs-danger:     #C62828;

  /* Fonts */
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --sp-1:   4px;   --sp-xs:  4px;   --sp-sm:  8px;
  --sp-2:   8px;   --space-xxs: 2px; --space-xs: 4px;
  --sp-3:   12px;  --space-s:  8px;  --space-base: 12px;
  --sp-4:   16px;  --space-m: 16px;  --sp-md: 16px;
  --sp-5:   20px;  --space-l: 24px;  --sp-lg: 24px;
  --sp-6:   24px;  --space-xl:32px;  --sp-xl: 32px;
  --sp-8:   32px;  --space-xxl:48px; --sp-2xl:48px;
  --sp-10:  40px;  --space-xxxl:64px; --sp-3xl:64px;
  --sp-12:  48px;  --space-xxxxl:80px; --sp-4xl:80px;
  --sp-16:  64px;
  --sp-20:  80px;
  --sp-24:  96px;

  /* Border radius — maiores, estilo moderno (Made.com/Airbnb) */
  --br-s:   10px;  --br-sm:   10px;
  --br-m:   16px;  --br-md:   16px;
  --br-l:   22px;  --br-lg:   22px;
  --br-xl:  28px;
  --br-2xl: 36px;
  --br-r:   999px; --br-pill: 999px; --br-rounded: 999px;

  /* Shadows — premium, extremamente suaves (padrão Apple/Airbnb) */
  --sh-s:  0 1px 3px rgba(28,26,20,.04), 0 1px 2px rgba(28,26,20,.03);
  --sh-m:  0 4px 16px rgba(28,26,20,.06), 0 1px 4px rgba(28,26,20,.04);
  --sh-l:  0 12px 40px rgba(28,26,20,.08), 0 2px 8px rgba(28,26,20,.04);
  --sh-xl: 0 24px 64px rgba(28,26,20,.10), 0 4px 16px rgba(28,26,20,.05);
  --sh-gold: 0 8px 28px rgba(199,164,106,.20);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  0.26s;
  --dur-slow: 0.5s;

  /* Layout */
  --page-w:   1260px;
  --page-pad: 24px;
  /* ── ALIASES — compatibilidade total com todas as páginas ── */
  --fh:            'Playfair Display', Georgia, serif;
  --fb:            'Inter', -apple-system, sans-serif;
  --font-h:        'Playfair Display', Georgia, serif;
  --font-b:        'Inter', -apple-system, sans-serif;

  --charcoal:      #1C1C1A;
  --beige:         #F2EDE6;
  --beige-dk:      #EAE3DA;
  --taupe:         #B7AA9C;
  --muted:         #7A736C;
  --border:        rgba(183,170,156,.28);
  --border-dk:     rgba(183,170,156,.5);
  --gold-bg:       rgba(199,164,106,.09);
  --gold-bdr:      rgba(199,164,106,.28);

  --sp-xs:  4px;   --sp-sm:  8px;   --sp-md:  16px;
  --sp-lg:  24px;  --sp-xl:  32px;  --sp-2xl: 48px;
  --sp-3xl: 64px;  --sp-4xl: 80px;

  /* Border radius — maiores, estilo moderno (Made.com/Airbnb) */
  --br-sm:  10px;  --br-md:  16px;  --br-lg:  22px;
  --br-xl:  28px;  --br-2xl: 36px;  --br-pill: 999px;

  --cs-primary: #C7A46A;  --cs-dark:    #1C1C1A;
  --cs-white:   #FFFFFF;  --cs-bg:      #FAF8F5;
  --cs-muted:   #7A736C;  --cs-text:    #1C1C1A;
  --cs-border:  rgba(183,170,156,.28);
  --cs-success: #2E7D52;  --cs-danger:  #C62828;
  --cs-light:   #FAF8F5;

}

/* ─────────────────────────────────────────────────────
   RESET
───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-b); font-size: 1rem; line-height: 1.72; color: var(--charcoal); background: var(--warm-white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ─────────────────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-h); line-height: 1.18; color: var(--charcoal); }
h1 { font-size: clamp(2.2rem,5vw,3.5rem); font-weight: 400; }
h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 300; }
h3 { font-size: clamp(1.25rem,2.5vw,1.75rem); font-weight: 400; }
h4 { font-size: 1.125rem; font-weight: 600; font-family: var(--font-b); }
p  { color: var(--muted); line-height: 1.75; }

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 14px;
}
.eyebrow--gold { color: var(--gold); }
/* Variante acessível (WCAG AA 4.5:1) para uso sobre fundos claros/brancos.
   .eyebrow--gold mantém-se para fundos escuros (hero), onde já cumpre AA (7.3:1). */
.eyebrow--gold-on-light { color: var(--gold-a11y); }

/* ─────────────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────────────── */
.cs-container,
.page-content {
  width: 100%;
  max-width: var(--page-w);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

/* ─────────────────────────────────────────────────────
   UTILITIES (Fixo naming mantido para compatibilidade)
───────────────────────────────────────────────────── */
.display-flex           { display: flex; }
.flex-direction-column  { flex-direction: column; }
.align-items-center     { align-items: center; }
.justify-content-center { justify-content: center; }
.item-space-between     { justify-content: space-between; }
.flex-wrap-wrap         { flex-wrap: wrap; }
.flex1  { flex: 1; }
.flex3  { flex: 3; }
.full-width  { width: 100%; }
.full-height { height: 100%; }
.center-content { display: flex; align-items: center; justify-content: center; }
.center         { display: flex; align-items: center; justify-content: center; }
.text-align-center { text-align: center; }
.no-wrap    { white-space: nowrap; }
.break-word { word-break: break-word; }
.display-none { display: none; }
.OSInline { display: inline-block; vertical-align: top; }
.OSFillParent { display: block; width: 100%; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.cursor-pointer { cursor: pointer; }

/* Margins */
.margin-top-xxs  { margin-top: var(--space-xxs); }
.margin-top-xs   { margin-top: var(--space-xs); }
.margin-top-s    { margin-top: var(--space-s); }
.margin-top-base { margin-top: var(--space-base); }
.margin-top-m    { margin-top: var(--space-m); }
.margin-top-l    { margin-top: var(--space-l); }
.margin-top-xl   { margin-top: var(--space-xl); }
.margin-top-xxl  { margin-top: var(--space-xxl); }
.margin-top-xxxl { margin-top: var(--space-xxxl); }
.margin-bottom-s    { margin-bottom: var(--space-s); }
.margin-bottom-base { margin-bottom: var(--space-base); }
.margin-bottom-m    { margin-bottom: var(--space-m); }
.margin-bottom-l    { margin-bottom: var(--space-l); }
.margin-bottom-xl   { margin-bottom: var(--space-xl); }
.margin-left-xs   { margin-left: var(--space-xs); }
.margin-left-s    { margin-left: var(--space-s); }
.margin-left-m    { margin-left: var(--space-m); }
.margin-left-base { margin-left: var(--space-base); }
.margin-left-xl   { margin-left: var(--space-xl); }
.margin-left-xxl  { margin-left: var(--space-xxl); }
.margin-right-s    { margin-right: var(--space-s); }
.margin-right-m    { margin-right: var(--space-m); }
.margin-right-base { margin-right: var(--space-base); }
.margin-right-xxl  { margin-right: var(--space-xxl); }

/* Paddings */
.padding-s    { padding: var(--space-s); }
.padding-base { padding: var(--space-base); }
.padding-m    { padding: var(--space-m); }
.padding-l    { padding: var(--space-l); }
.padding-xl   { padding: var(--space-xl); }
.padding-top-l { padding-top: var(--space-l); }
.padding-bottom-s { padding-bottom: var(--space-s); }
.padding-bottom-base { padding-bottom: var(--space-base); }
.padding-x-base { padding-left: var(--space-base); padding-right: var(--space-base); }
.padding-y-s { padding-top: var(--space-s); padding-bottom: var(--space-s); }
.padding-none { padding: 0; }
.padding-right-m { padding-right: var(--space-m); }
.padding-right-s { padding-right: var(--space-s); }

/* Colors */
.background-primary       { background: var(--gold); }
.background-red-secondary { background: var(--gold-bg); color: var(--gold); }
.background-neutral-0 { background: var(--neutral-0); }
.background-neutral-1 { background: var(--neutral-1); }
.background-neutral-3 { background: var(--neutral-3); }
.background-secondary { background: var(--charcoal); }
.background-blue      { background: var(--blue); }
.background-transparent { background: transparent; }
.text-neutral-0  { color: var(--neutral-0); }
.text-neutral-6  { color: var(--neutral-6); }
.text-neutral-7  { color: var(--neutral-7); }
.text-neutral-8  { color: var(--neutral-8); }
.text-neutral-10 { color: var(--neutral-10); }
.text-primary    { color: var(--gold-a11y); }

/* Border radius */
.border-radius-s       { border-radius: var(--br-s); }
.border-radius-m       { border-radius: var(--br-m); }
.border-radius-rounded { border-radius: var(--br-r); }
.border-radius-top-s   { border-radius: var(--br-s) var(--br-s) 0 0; }
.border-radius-soft    { border-radius: 8px; }
.border-radius-none    { border-radius: 0; }
.shadow-m { box-shadow: var(--sh-m); }
.shadow-l { box-shadow: var(--sh-l); }
.border-none { border: none; }
.font-light     { font-weight: 300; }
.font-semi-bold { font-weight: 600; }
.font-bold      { font-weight: 700; }
.letter-spacing--1 { letter-spacing: -.02em; }
.text-uppercase { text-transform: uppercase; }
.font-size-base { font-size: 1rem; }
.font-size-m    { font-size: 1.0625rem; }
.font-size-s    { font-size: .875rem; }
.font-size-xs   { font-size: .75rem; }
.font-size-ss   { font-size: .6875rem; }
.font-size-ms   { font-size: .9375rem; }
.font-size-h1   { font-size: clamp(1.75rem,3vw,2.25rem); }
.font-size-h3   { font-size: clamp(1.4rem,2.5vw,2rem); }
.font-size-h4   { font-size: 1.25rem; }
.line-height-17 { line-height: 1.0625rem; }
.line-height-19 { line-height: 1.1875rem; }
.line-height-21 { line-height: 1.3125rem; }
.line-height-24 { line-height: 1.5rem; }
.line-height-27 { line-height: 1.6875rem; }
.line-height-48 { line-height: 3rem; }
.separator.separator-horizontal { height: 1px; background: var(--border); }

/* ─────────────────────────────────────────────────────
   BANNER PROMOCIONAL
───────────────────────────────────────────────────── */
.cs-promo-banner {
  background: var(--gold);
  padding: 9px 0;
  position: relative;
  z-index: 600;
}
.cs-promo-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cs-promo-banner__text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: .875rem;
  font-weight: 500;
}
.cs-promo-banner__code {
  font-weight: 800;
  letter-spacing: .04em;
}
.cs-promo-banner__link {
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color var(--dur);
}
.cs-promo-banner__link:hover { color: #fff; }

/* ─────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250,248,245,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease);
}
#site-header.scrolled { box-shadow: var(--sh-m); }

.header-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 28px;
}

/* Logo */
.site-logo-text {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -.025em;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.site-logo-text em { font-style: italic; font-weight: 300; color: var(--gold); }
.logo-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-left: 1px; }

/* Nav */
#main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
}
#main-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color var(--dur);
  white-space: nowrap;
}
#main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 100%;
  height: 1.5px;
  background: var(--gold);
  transition: right var(--dur) var(--ease);
}
#main-nav a:hover,
#main-nav a.active { color: var(--charcoal); }
#main-nav a:hover::after,
#main-nav a.active::after { right: 0; }

/* Header search */
.header-search { flex: 3; max-width: 440px; }
.search-bar {
  display: flex;
  align-items: center;
  background: var(--beige);
  border: 1.5px solid var(--border);
  border-radius: var(--br-s);
  padding: 6px 12px;
  gap: 10px;
  transition: all var(--dur);
  cursor: text;
}
.search-bar:focus-within {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(199,164,106,.12);
}
.search-bar-label { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; color: var(--charcoal); line-height: 1; margin-bottom: 2px; }
.search-input { border: none; background: transparent; font-family: var(--font-b); font-size: .9rem; color: var(--charcoal); outline: none; width: 100%; }
.search-input::placeholder { color: var(--taupe); }
.search-icon-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--beige-dk);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
  transition: background var(--dur);
}
.search-bar:focus-within .search-icon-circle { background: var(--gold); }

/* ── Dropdown de sugestões de pesquisa ── */
.cs-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--br-md);
  box-shadow: var(--sh-l);
  z-index: 700;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}
.cs-search-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background var(--dur);
}
.cs-search-dropdown__item:last-child { border-bottom: none; }
.cs-search-dropdown__item:hover,
.cs-search-dropdown__item.active { background: var(--gold-bg); color: var(--gold-a11y); }
.cs-search-dropdown__arrow { opacity: .5; font-size: .85rem; }
.cs-search-dropdown__empty {
  padding: 16px;
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: -.01em;
  padding: 10px 24px;
  border-radius: var(--br-s);
  border: 1.5px solid transparent;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--gold-a11y); color: #fff; border-color: var(--gold-a11y); }
.btn-primary:hover { background: var(--gold-a11y-dk); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(199,164,106,.35); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--border-dk); }
.btn-outline:hover { border-color: var(--charcoal); }
.cs-btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 600; color: var(--charcoal);
  padding: 9px 16px;
  border-radius: var(--br-pill);
  border: 1.5px solid var(--border-dk);
  transition: all var(--dur) var(--ease);
  text-decoration: none;
}
.cs-btn-secondary:hover { border-color: var(--charcoal); background: var(--beige); }
.btn-l { padding: 14px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: .8rem; }

/* cs-btn aliases */
.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-b); font-weight: 600; font-size: .875rem; letter-spacing: -.01em; padding: 12px 28px; border-radius: var(--br-r); border: 1.5px solid transparent; transition: all var(--dur) var(--ease); cursor: pointer; white-space: nowrap; text-decoration: none; }
.cs-btn--primary { background: var(--gold-a11y); color: #fff; border-color: var(--gold-a11y); }
.cs-btn--primary:hover { background: var(--gold-a11y-dk); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(199,164,106,.3); }
.cs-btn--outline { background: transparent; color: var(--charcoal); border-color: var(--border-dk); }
.cs-btn--outline:hover { border-color: var(--charcoal); }
.cs-btn--white { background: #fff; color: var(--charcoal); }
.cs-btn--white:hover { background: var(--warm-white); }
.cs-btn--lg { padding: 16px 40px; font-size: 1rem; }
.cs-btn--sm { padding: 8px 18px; font-size: .8rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; flex-shrink: 0; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--charcoal); border-radius: 2px; transition: all var(--dur) var(--ease); }

/* Mobile menu */
#mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--warm-white); z-index: 600;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; padding: 32px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a { font-family: var(--font-h); font-size: 2rem; font-weight: 400; color: var(--charcoal); transition: color var(--dur); }
#mobile-menu a:hover { color: var(--gold); }
#mobile-menu-close { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; color: var(--muted); }

/* ─────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 540px;
  background: var(--charcoal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-bg-image {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-image div:first-child {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #2A2420 0%, #1C1C1A 60%, #231F1B 100%);
}
.hero-bg-image::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(199,164,106,.10), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(138,148,120,.06), transparent 45%);
}

/* Hero headline — Playfair italic no Fixo não tinha */
.hero-headline {
  font-family: var(--font-h);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.12;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0 4px;
}
.hero-headline em { font-style: italic; font-weight: 300; color: var(--gold); }
.hero-headline .dot { color: var(--gold); }
.hero-sub-title { font-weight: 400; font-size: 1.0625rem; color: rgba(255,255,255,.65); margin-bottom: var(--sp-3); }
.hero-text { font-size: 1rem; color: rgba(255,255,255,.5); margin-bottom: var(--sp-5); }

/* ─────────────────────────────────────────────────────
   HERO V2 — layout premium 2 colunas (redesign)
───────────────────────────────────────────────────── */
.cs-hero-v2 {
  background: var(--warm-white);
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-xl);
  /* overflow-x:clip em vez de overflow:hidden — continua a impedir scroll
     horizontal indesejado das animações de reveal, mas já não corta nem
     interfere com o dropdown de resultados da pesquisa (position:absolute),
     que antes ficava cortado/deslocado pela secção. */
  overflow-x: clip;
}
.cs-hero-v2__topbar {
  background: var(--charcoal);
  border-radius: 0 0 var(--br-xl) var(--br-xl);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: var(--sp-3xl);
}
.cs-hero-v2__pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  padding: 8px 16px;
  border-radius: var(--br-pill);
  font-size: .82rem; font-weight: 600;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.cs-hero-v2__pill:hover { background: rgba(199,164,106,.18); border-color: var(--gold); color: #fff; }

.cs-hero-v2__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
}
.cs-hero-v2__content { max-width: 560px; }

.cs-hero-v2__search {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--br-pill);
  padding: 8px 8px 8px 20px;
  box-shadow: var(--sh-m);
  margin-bottom: 28px;
  max-width: 480px;
  position: relative;
  transition: box-shadow var(--dur) var(--ease);
}
.cs-hero-v2__search:focus-within { box-shadow: var(--sh-l); border-color: var(--gold-bdr); }
.cs-hero-v2__search-icon { color: var(--muted); display: flex; flex-shrink: 0; }
.cs-hero-v2__search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--fb); font-size: .95rem; color: var(--charcoal);
  min-width: 0;
}
.cs-hero-v2__search input::placeholder { color: var(--taupe); }
.cs-hero-v2__search .btn { border-radius: var(--br-pill); padding: 11px 26px; }

.cs-hero-v2__trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
}
.cs-hero-v2__trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: .84rem; font-weight: 500; color: var(--muted);
}
.cs-hero-v2__trust-item svg { color: var(--gold-a11y); flex-shrink: 0; }

.cs-hero-v2__photo {
  position: relative;
  border-radius: var(--br-2xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  aspect-ratio: 9 / 10;
}
.cs-hero-v2__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cs-hero-v2__photo--illustration {
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-xl);
  background:
    radial-gradient(ellipse at 25% 15%, rgba(199,164,106,.14), transparent 55%),
    radial-gradient(ellipse at 80% 85%, rgba(138,148,120,.10), transparent 50%),
    linear-gradient(150deg, var(--beige) 0%, var(--warm-white) 100%);
}
.cs-hero-illustration {
  width: 100%;
  height: 100%;
  max-width: 400px;
}

@media (max-width: 900px) {
  .cs-hero-v2__grid { grid-template-columns: 1fr; }
  .cs-hero-v2__content { max-width: 100%; }
  .cs-hero-v2__photo { aspect-ratio: 16/10; order: -1; }
  .cs-hero-v2__topbar { border-radius: 0 0 var(--br-md) var(--br-md); padding: 14px 20px; }
  .cs-hero-v2__topbar .btn-primary { display: none; }
}
@media (max-width: 480px) {
  .cs-hero-v2__search { flex-wrap: wrap; border-radius: var(--br-lg); padding: 14px; }
  .cs-hero-v2__search .btn { width: 100%; justify-content: center; }
}

/* Trust badges — diferenciador vs Fixo */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--sp-5);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--br-r);
  padding: 5px 12px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: -.01em;
}
.trust-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* Hero search — maior e mais premium que Fixo */
.homepage-search-icon {
  background: #fff;
  border-radius: var(--br-s);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: var(--sp-4);
  cursor: text;
  transition: box-shadow var(--dur);
  box-shadow: var(--sh-l);
}
.homepage-search-icon:focus-within { box-shadow: 0 0 0 3px rgba(199,164,106,.25), var(--sh-l); }
.homepage-search-icon .search-icon-circle { width: 40px; height: 40px; background: var(--beige-dk); font-size: 1rem; }
.homepage-search-icon:focus-within .search-icon-circle { background: var(--gold); }
.homepage-search-icon .search-input { font-size: 1rem; }

/* Tags de pesquisa */
.search-tag-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.search-tag-list::-webkit-scrollbar { display: none; }
.search-tag { padding: 5px 12px; border-radius: var(--br-s); font-size: .875rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: all var(--dur); letter-spacing: -.01em; }
.search-tag-grey { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.14); }
.search-tag-grey:hover { background: rgba(255,255,255,.2); color: #fff; }

/* Tag pill */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--br-r); font-size: .8rem; font-weight: 700; cursor: pointer; }
.geographic-tag { background: var(--gold); color: #fff; }
.geographic-tag:hover { background: var(--gold-dk); }

/* ─────────────────────────────────────────────────────
   CLUSTERS — 4 CARDS (igual Fixo, mas bege e dourado)
───────────────────────────────────────────────────── */
.gallery-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-4); }

.homepage-cluster-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--br-m);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  background: #fff;
  box-shadow: var(--sh-m);
  border: 1.5px solid transparent;
}
.homepage-cluster-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-l);
  border-color: var(--gold-border);
}
.homepage-cluster-card.active {
  background: var(--gold-bg);
  border-color: var(--gold-border);
  box-shadow: none;
  color: var(--gold);
}
.homepage-cluster-card img { width: 52px; height: 52px; object-fit: contain; }
.homepage-cluster-card .cluster-icon { font-size: 2.2rem; }
.homepage-cluster-card span { font-weight: 600; font-size: 1.0625rem; }

/* ─────────────────────────────────────────────────────
   NAVEGAÇÃO POR CATEGORIA — faixa compacta de pills
   Intencionalmente leve e distinta dos cards de produto
   (Populares), para eliminar a confusão visual entre as
   duas secções: isto é navegação, não um catálogo.
───────────────────────────────────────────────────── */
.cs-cat-nav__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: var(--sp-sm);
}
.cs-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cs-cat-nav__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--br-pill);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--charcoal);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.cs-cat-nav__pill svg { color: var(--gold-a11y); flex-shrink: 0; }
.cs-cat-nav__pill:hover {
  border-color: var(--gold-bdr);
  background: var(--gold-bg);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .cs-cat-nav { gap: 8px; }
  .cs-cat-nav__pill { padding: 7px 14px; font-size: .82rem; }
}

/* ─────────────────────────────────────────────────────
   CATEGORY CARDS COM FOTO — redesign premium (editorial)
   [Legado — já não usado na homepage, mantido por segurança
   caso alguma página ainda referencie estas classes]
───────────────────────────────────────────────────── */
.cs-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}
.cs-cat-card {
  position: relative;
  display: block;
  border-radius: var(--br-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--sh-m);
  transition: box-shadow var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.cs-cat-card:hover { box-shadow: var(--sh-xl); transform: translateY(-4px); }
.cs-cat-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-cat-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,26,20,.78) 0%, rgba(28,26,20,.15) 55%, transparent 75%);
}
.cs-cat-card__label {
  position: absolute; left: var(--sp-md); bottom: var(--sp-md);
  color: #fff; font-family: var(--fh); font-weight: 500; font-size: 1.15rem;
  letter-spacing: -.01em;
}

/* Variante sem imagem — gradiente + ícone + label centrados */
.cs-cat-card--icon {
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-md);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(199,164,106,.16), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(138,148,120,.10), transparent 55%),
    var(--beige);
  border: 1px solid var(--border);
}
.cs-cat-card--icon:hover { border-color: var(--gold-bdr); }
.cs-cat-card--icon .cs-cat-card__icon {
  width: 76px; height: 76px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--gold-a11y);
  box-shadow: var(--sh-m);
}
.cs-cat-card--icon .cs-cat-card__label {
  position: static;
  color: var(--charcoal);
  font-size: 1.15rem;
}

@media (max-width: 900px) { .cs-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .cs-cat-grid { gap: var(--sp-sm); }
  .cs-cat-card__label { font-size: 1rem; }
  .cs-cat-card--icon .cs-cat-card__icon { width: 60px; height: 60px; }
}

/* "Ver todos" link */
.ver-todos-link {
  display: flex; align-items: center; gap: 6px;
  color: var(--gold-a11y); font-weight: 700; font-size: 1rem;
  cursor: pointer; letter-spacing: -.02em; white-space: nowrap;
  transition: gap var(--dur);
}
.ver-todos-link:hover { gap: 10px; }

/* ─────────────────────────────────────────────────────
   SERVICE CARDS (igual Fixo: imagem + tag flutuante)
   Diferença: border dourado em hover + ícone maior
───────────────────────────────────────────────────── */
.service-cards-container { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-4); }

.service-item {
  position: relative; cursor: pointer; border-radius: var(--br-s); overflow: visible;
  transition: transform var(--dur) var(--ease);
}
.service-item:hover { transform: translateY(-4px); }

.service-item-card-images {
  border-radius: var(--br-s) var(--br-s) 0 0;
  overflow: hidden;
  min-height: 130px;
  background: var(--beige);
  position: relative; width: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow var(--dur);
}
.service-item-card-images img { width: 100%; height: 130px; object-fit: cover; transition: transform .4s var(--ease); }
.service-item:hover .service-item-card-images img { transform: scale(1.04); }

/* Tag flutuante (transform -10px igual Fixo) */
.item-card-vertical-tag {
  background: #fff;
  border-radius: 0 0 var(--br-s) var(--br-s);
  padding: 12px 14px 14px;
  box-shadow: var(--sh-m);
  transform: translateY(-1px);
  position: relative;
  min-height: 70px;
  border-top: 2px solid transparent;
  transition: border-color var(--dur);
}
.service-item:hover .item-card-vertical-tag { border-top-color: var(--gold); }

.item-card-vertical-title {
  font-size: .9375rem; font-weight: 600; color: var(--charcoal);
  line-height: 1.3; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-card-price { font-size: .9rem; color: var(--muted); }

/* Badge recorrência — em dourado (vs azul do Fixo) */
.recurrency-badge {
  position: absolute; top: 0; right: 0;
  background: var(--gold); color: #fff;
  padding: 4px 8px;
  border-radius: 0 var(--br-s) 0 var(--br-s);
  font-size: .72rem; display: flex; align-items: center; gap: 3px;
}

/* ─────────────────────────────────────────────────────
   SERVICE CARD PREMIUM — foto, descrição, preço, CTA
───────────────────────────────────────────────────── */
.cs-svc-card {
  background: #fff;
  border-radius: var(--br-lg);
  overflow: hidden;
  box-shadow: var(--sh-m);
  transition: box-shadow var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.cs-svc-card:hover { box-shadow: var(--sh-xl); transform: translateY(-5px); }
.cs-svc-card__photo { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.cs-svc-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-svc-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--charcoal); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .03em;
  padding: 5px 12px; border-radius: var(--br-pill);
}
.cs-svc-card__icon-badge {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-a11y);
}
.cs-svc-card--soon .cs-svc-card__photo img { filter: grayscale(.4); }
.cs-svc-card--soon .cs-svc-card__title,
.cs-svc-card--soon .cs-svc-card__desc { opacity: .75; }
.cs-svc-card__body { padding: var(--sp-md) var(--sp-lg) var(--sp-lg); flex: 1; display: flex; flex-direction: column; }
.cs-svc-card__title { font-family: var(--fh); font-size: 1.1rem; font-weight: 500; color: var(--charcoal); margin-bottom: 4px; }
.cs-svc-card__desc { font-size: .85rem; color: var(--muted); line-height: 1.5; margin-bottom: 14px; flex: 1; }
.cs-svc-card__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cs-svc-card__price { font-family: var(--fh); font-size: 1.05rem; color: var(--gold-a11y); font-weight: 500; }
.cs-svc-card__duration { display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--taupe); }
.cs-svc-card__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px solid var(--border-dk);
  border-radius: var(--br-pill);
  padding: 10px 20px;
  font-size: .85rem; font-weight: 600; color: var(--charcoal);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.cs-svc-card__btn:hover { background: var(--gold-a11y); border-color: var(--gold-a11y); color: #fff; }

.cs-cat-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}
@media (max-width: 900px) { .cs-cat-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cs-cat-services-grid { grid-template-columns: 1fr; } }

/* Carousel */
/* Carousel com scroll-snap nativo — suporta touch/swipe, trackpad e
   scroll de rato sem precisar de gerir gestos manualmente em JS.
   As setas foram removidas: o gesto de deslizar já é intuitivo. */
.carousel-cards {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-cards::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: var(--sp-4); }
.carousel-track .service-item,
.carousel-track .cs-svc-card {
  flex: 0 0 calc(25% - var(--sp-4) * 3/4);
  min-width: 0;
  scroll-snap-align: start;
}

/* ─────────────────────────────────────────────────────
   CATEGORY TABS
───────────────────────────────────────────────────── */
.category-tabs { display: flex; gap: var(--sp-4); flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); }
.cat-tab {
  padding: 8px var(--sp-4); border-radius: var(--br-s);
  font-size: 1.0625rem; font-weight: 600; cursor: pointer;
  transition: all var(--dur); background: #fff; box-shadow: var(--sh-m);
  color: var(--charcoal); border: none;
}
.cat-tab.active { background: var(--gold-bg); color: var(--gold-a11y); box-shadow: none; border: 1px solid var(--gold-border); }
.cat-tab:hover:not(.active) { background: var(--beige); }

/* ─────────────────────────────────────────────────────
   PORQUÊ CASASERENA — diferenciador vs Fixo
───────────────────────────────────────────────────── */
.cs-why {
  background: var(--beige);
  padding: var(--sp-16) 0;
}
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-8); }
.why-item {
  background: #fff;
  border-radius: var(--br-m);
  padding: var(--sp-8);
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.why-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--sage));
  opacity: 0;
  transition: opacity var(--dur);
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--sh-l); }
.why-item:hover::before { opacity: 1; }
.why-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-bg);
  border-radius: var(--br-pill);
  color: var(--gold-a11y);
  margin-bottom: var(--sp-md);
}
.why-item h4 { font-family: var(--font-h); font-size: 1.125rem; font-weight: 600; color: var(--charcoal); margin-bottom: var(--sp-3); }
.why-item p { font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* Badges de confiança compactos — complementam os 3 pilares acima,
   substituindo a antiga secção "Benefícios" isolada e redundante. */
.cs-why-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--border);
}
.cs-why-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
}
.cs-why-badge svg { color: var(--gold-a11y); flex-shrink: 0; }

@media (max-width: 640px) {
  .cs-why-badges { gap: 10px 18px; }
  .cs-why-badge { font-size: .8rem; }
}

/* ─────────────────────────────────────────────────────
   TESTEMUNHOS — carousel centrado
───────────────────────────────────────────────────── */
.section-testimonies { background: #fff; padding: var(--sp-16) 0 var(--sp-20); }
.testimonies-header { text-align: center; margin-bottom: var(--sp-8); }
.testimonies-carousel { position: relative; }
.testimonies-track {
  display: flex; gap: var(--sp-6);
  padding: var(--sp-4) 24px var(--sp-8);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testimonies-track::-webkit-scrollbar { display: none; }
.testimonies-card-background {
  flex: 0 0 420px; min-width: 0;
  scroll-snap-align: center;
  background: var(--warm-white);
  border-radius: var(--br-l);
  padding: var(--sp-8);
  text-align: center;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-5);
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease);
  opacity: .7;
  transform: scale(.97);
}
.testimonies-card-background.active-slide {
  background: #fff; box-shadow: var(--sh-l); border-color: transparent;
  opacity: 1; transform: scale(1.02);
}
.service-item-name { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-a11y); display: block; margin-bottom: 10px; }
.testimony-text { font-size: .9625rem; color: var(--muted); line-height: 1.75; font-style: italic; }
.testimony-client { font-size: 1rem; color: var(--neutral-8); display: flex; align-items: center; justify-content: center; gap: 8px; }
.testimony-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimony-avatar--initial {
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-bg);
  color: var(--gold-a11y);
  font-family: var(--fh); font-weight: 600; font-size: .95rem;
}
.testimony-date { font-size: .875rem; color: var(--taupe); margin-top: 4px; }
.star-rating { color: var(--gold); letter-spacing: 2px; margin-top: 6px; }
.splide-pagination { display: flex; justify-content: center; gap: 7px; margin-top: var(--sp-4); }
.pagination-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-dk); border: none; cursor: pointer; transition: all var(--dur); padding: 0; }
.pagination-dot.active { background: var(--gold); width: 20px; border-radius: 4px; }

/* ─────────────────────────────────────────────────────
   COMO FUNCIONA — card 3 steps
───────────────────────────────────────────────────── */
.guided-path-steps-homepage {
  background: #fff;
  border-radius: var(--br-m);
  padding: var(--sp-8);
  margin: var(--sp-16) 0;
  border: 1px solid var(--border);
  box-shadow: var(--sh-s);
}
.guided-path-steps-homepage h3 { font-weight: 300; text-align: center; margin-bottom: var(--sp-8); }
.steps-row { display: flex; justify-content: space-around; gap: var(--sp-6); }
.step-item { display: flex; align-items: flex-start; gap: 14px; max-width: 260px; }
.circular-container--40 {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-bg); color: var(--gold);
  border: 1.5px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-weight: 700; font-size: .9375rem;
}
.step-desc { font-size: .9375rem; color: var(--charcoal); line-height: 1.55; }

/* ─────────────────────────────────────────────────────
   COMO FUNCIONA V2 — cards com foto por passo
───────────────────────────────────────────────────── */
.cs-howworks { margin: var(--sp-16) 0; }
.cs-howworks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}
.cs-howworks__item { text-align: center; }
.cs-howworks__photo {
  position: relative;
  border-radius: var(--br-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: var(--sp-md);
  box-shadow: var(--sh-m);
}
.cs-howworks__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-howworks__photo--icon {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(199,164,106,.14), transparent 55%),
    var(--beige);
  color: var(--gold-a11y);
}
.cs-howworks__num {
  position: absolute; top: 12px; left: 12px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  font-family: var(--fh); font-weight: 600; font-size: .95rem; color: var(--gold-a11y);
}
.cs-howworks__item h4 { font-family: var(--fh); font-size: 1.15rem; font-weight: 500; color: var(--charcoal); margin-bottom: 8px; }
.cs-howworks__item p { font-size: .9rem; color: var(--muted); line-height: 1.65; max-width: 300px; margin: 0 auto; }

@media (max-width: 800px) {
  .cs-howworks__grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
}

/* ─────────────────────────────────────────────────────
   BENEFÍCIOS — faixa horizontal de ícones
───────────────────────────────────────────────────── */
.cs-benefits { background: var(--beige); padding: var(--sp-xl) 0; }
.cs-benefits__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-lg);
}
.cs-benefits__item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.cs-benefits__item svg { color: var(--gold-a11y); }
.cs-benefits__item span { font-size: .8rem; font-weight: 600; color: var(--charcoal); line-height: 1.3; }

@media (max-width: 900px) { .cs-benefits__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .cs-benefits__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); } }

/* ─────────────────────────────────────────────────────
   NÚMEROS — estatísticas em fundo escuro
───────────────────────────────────────────────────── */
.cs-stats { background: var(--charcoal); padding: var(--sp-2xl) 0; }
.cs-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  text-align: center;
}
.cs-stats__item { display: flex; flex-direction: column; gap: 4px; }
.cs-stats__num { font-family: var(--fh); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 400; color: var(--gold); }
.cs-stats__lbl { font-size: .82rem; color: rgba(255,255,255,.55); font-weight: 500; }

@media (max-width: 700px) { .cs-stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-xl) var(--sp-lg); } }

/* ─────────────────────────────────────────────────────
   CTA SECTIONS
───────────────────────────────────────────────────── */
.cs-cta, .cs-cta-section {
  background: var(--charcoal); padding: var(--sp-16) 0;
  text-align: center; position: relative; overflow: hidden;
}
.cs-cta::before, .cs-cta-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(199,164,106,.1), transparent 70%);
  pointer-events: none;
}
.cs-cta h2, .cs-cta-section h2 { color: #fff; margin-bottom: 12px; position: relative; z-index: 1; }
.cs-cta p, .cs-cta-section p { color: rgba(255,255,255,.6); max-width: 540px; margin: 0 auto 36px; position: relative; z-index: 1; }

/* ─────────────────────────────────────────────────────
   PAGE HERO (páginas internas)
───────────────────────────────────────────────────── */
.cs-page-hero {
  background: var(--charcoal); padding: var(--sp-16) 0 var(--sp-12);
  position: relative; overflow: hidden;
}
.cs-page-hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(199,164,106,.12), transparent 70%);
}
.cs-page-hero .eyebrow { color: var(--gold); }
.cs-page-hero h1 { color: #fff; margin-bottom: 10px; }
.cs-page-hero p  { color: rgba(255,255,255,.6); font-size: 1.125rem; max-width: 600px; }

/* ─────────────────────────────────────────────────────
   FOOTER (fundo charcoal, linha dourada no topo)
───────────────────────────────────────────────────── */
#site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  border-top: 2px solid var(--gold-border);
  padding-top: var(--sp-12);
}
.footer-main { display: flex; justify-content: space-between; gap: var(--sp-12); flex-wrap: wrap; padding-bottom: var(--sp-8); }
.footer-contact-title { font-family: var(--font-h); font-weight: 300; font-size: 1.25rem; color: #fff; line-height: 1.65; margin-bottom: var(--sp-4); }
.footer-contact-sub { font-size: .875rem; color: rgba(255,255,255,.45); margin-bottom: var(--sp-4); }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: rgba(255,255,255,.6); margin-top: 10px; }
.footer-contact-item a { color: rgba(255,255,255,.6); transition: color var(--dur); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-hours { font-size: .875rem; color: rgba(255,255,255,.4); line-height: 1.8; margin-top: 14px; }
.footer-col-contact { flex: 1 1 280px; max-width: 380px; }
.footer-col-nav { flex: 0 1 200px; display: flex; flex-direction: column; }
.footer-col-newsletter { flex: 1 1 260px; max-width: 300px; }
.footer-col-title { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 18px; }
.footer-link--block { display: block; margin-bottom: 12px; }
.footer-separator { height: 1px; background: rgba(255,255,255,.08); margin: var(--sp-4) 0; }
.footer-link { color: rgba(255,255,255,.5); font-weight: 600; transition: color var(--dur); white-space: nowrap; }
.footer-link:hover { color: var(--gold); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: .75rem; color: rgba(255,255,255,.32); line-height: 1.65; padding: 20px 0 28px; }
.footer-legal-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-legal-sep { opacity: .4; }
.footer-legal-link { color: rgba(255,255,255,.32); transition: color var(--dur); }
.footer-legal-link:hover { color: var(--gold); }
.footer-lre { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: .74rem; color: rgba(255,255,255,.55); text-decoration: none; transition: border-color var(--dur), color var(--dur); white-space: nowrap; }
.footer-lre:hover { border-color: rgba(255,255,255,.32); color: rgba(255,255,255,.8); }

/* ─────────────────────────────────────────────────────
   FLOATING WHATSAPP
───────────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-l); z-index: 400;
  transition: transform var(--dur) var(--ease);
  font-size: 1.4rem; text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }

/* ─────────────────────────────────────────────────────
   SCROLL REVEAL — sistema completo de animações
───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* Variante: scale suave (para cards e imagens em destaque) */
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Variante: slide lateral (para blocos de texto/imagem emparelhados) */
.reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity .65s var(--ease-out), transform .65s var(--ease-out); }
.reveal-left.visible  { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity .65s var(--ease-out), transform .65s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Reduzir movimento para quem tem essa preferência do sistema (acessibilidade) */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─────────────────────────────────────────────────────
   HOVER ELEGANTE — cards, imagens, botões premium
───────────────────────────────────────────────────── */
.cs-card-hover {
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.cs-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
}
.cs-img-zoom { overflow: hidden; }
.cs-img-zoom img {
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}
.cs-img-zoom:hover img { transform: scale(1.06); }

/* Botão premium com leve elevação e brilho subtil */
.cs-btn-elevate {
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.cs-btn-elevate:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-gold);
}

/* ─────────────────────────────────────────────────────
   SECÇÕES INTERNAS — cs-section, cs-card, etc.
───────────────────────────────────────────────────── */
.cs-section { padding: var(--sp-16) 0; }
.cs-section--alt { background: var(--beige); }
.cs-section-header { margin-bottom: var(--sp-8); }
.cs-section-header h2 { margin-bottom: 10px; }
.cs-section-header p { font-size: 1.125rem; color: var(--muted); max-width: 540px; }

.cs-card { background: #fff; border: 1px solid var(--border); border-radius: var(--br-m); padding: var(--sp-8); transition: all var(--dur) var(--ease); }
.cs-card:hover { box-shadow: var(--sh-l); transform: translateY(-3px); }

.cs-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--br-r); }
.cs-badge--new { background: var(--gold-bg); color: var(--gold); }

/* Formulários */
.cs-form { display: flex; flex-direction: column; gap: var(--sp-5); }
.cs-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.cs-field { display: flex; flex-direction: column; gap: 6px; }
.cs-field label { font-size: .875rem; font-weight: 600; color: var(--charcoal); }
.cs-field input,
.cs-field select,
.cs-field textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border-dk);
  border-radius: var(--br-s);
  font-family: var(--font-b); font-size: 1rem; color: var(--charcoal);
  background: #fff; transition: border-color var(--dur); appearance: none;
}
.cs-field input::placeholder,
.cs-field textarea::placeholder { color: var(--taupe); }
.cs-field input:focus,
.cs-field select:focus,
.cs-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,164,106,.1); }
.cs-field textarea { resize: vertical; min-height: 100px; }

/* Notices */
.cs-notice { padding: 10px 18px; border-radius: var(--br-m); font-size: .875rem; font-weight: 600; }
.cs-notice--success { background: #f0faf5; color: var(--cs-success); border: 1px solid #c3e6cb; }
.cs-notice--error   { background: #fff0f0; color: var(--cs-danger); border: 1px solid #f5c6cb; }

/* Pricing */
.plan-chooser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: var(--sp-5); }
.pricing-card { background: #fff; border: 1px solid var(--border); border-radius: var(--br-l); padding: var(--sp-8); position: relative; transition: all var(--dur) var(--ease); }
.pricing-card:hover { box-shadow: var(--sh-l); transform: translateY(-4px); }
.pricing-card--featured { background: var(--charcoal); border-color: var(--charcoal); }
.pricing-card--featured .plan-name { color: #fff; }
.pricing-card--featured p { color: rgba(255,255,255,.6); }
.plan-name { font-size: 1.125rem; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.plan-price { font-size: 2rem; font-weight: 900; color: var(--charcoal); margin-bottom: var(--sp-5); line-height: 1; }
.plan-price sup { font-size: 1rem; font-weight: 400; }
.plan-price span { font-size: .875rem; font-weight: 400; color: var(--muted); }
.plan-features { list-style: none; margin-bottom: var(--sp-5); }
.plan-features li { padding: 6px 0; font-size: .875rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.plan-features li::before { content: '✓ '; color: var(--gold); font-weight: 700; }
.pricing-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-8); }
.pricing-tab { padding: 6px var(--sp-5); border: 1.5px solid var(--border-dk); border-radius: var(--br-r); background: transparent; font-family: var(--font-b); font-size: .875rem; font-weight: 600; cursor: pointer; transition: all var(--dur); }
.pricing-tab.active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.pricing-panel { display: none; }
.pricing-panel.active { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: var(--sp-5); }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--br-m); overflow: hidden; background: #fff; margin-bottom: 8px; transition: border-color var(--dur); }
.faq-item.open { border-color: var(--taupe); }
.faq-question { width: 100%; text-align: left; padding: var(--sp-5) var(--sp-6); background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); font-size: 1rem; font-weight: 600; color: var(--charcoal); font-family: var(--font-b); transition: color var(--dur); }
.faq-question:hover { color: var(--gold); }
.faq-icon { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border-dk); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; transition: all var(--dur); color: var(--muted); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: #fff; }
.faq-answer { padding: 0 var(--sp-6) var(--sp-5); font-size: 1rem; color: var(--muted); line-height: 1.75; }

/* ═══════════════════════════════════════════════════════
   PORTAL DO CLIENTE — sistema completo premium
═══════════════════════════════════════════════════════ */

.cs-portal-wrap { padding: var(--sp-2xl) 0 var(--sp-4xl); min-height: 60vh; }

/* ── Autenticação (login/registo) ── */
.cs-auth-wrap { padding: var(--sp-2xl) 0; }
.cs-auth-card {
  width: 100%; max-width: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--br-xl);
  padding: var(--sp-2xl);
  box-shadow: var(--sh-l);
}
.cs-auth-logo { text-align: center; margin-bottom: var(--sp-xl); }
.cs-auth-logo .site-logo { font-family: var(--fh); font-size: 1.5rem; font-weight: 600; color: var(--charcoal); }
.cs-auth-logo .site-logo em { font-style: italic; font-weight: 400; color: var(--gold-a11y); }
.auth-sub { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: var(--sp-xl); }

/* ── Layout principal (sidebar + conteúdo) ── */
.portal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

.portal-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--br-xl);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  position: sticky;
  top: 90px;
  box-shadow: var(--sh-m);
}
.portal-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold-bg);
  border: 2px solid var(--gold-bdr);
  color: var(--gold-a11y);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: 1.6rem; font-weight: 600;
  margin: 0 auto var(--sp-md);
}
.portal-name { font-weight: 700; font-size: 1rem; color: var(--charcoal); margin-bottom: 2px; }
.portal-role { font-size: .78rem; color: var(--taupe); margin-bottom: var(--sp-lg); }

.portal-nav { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.portal-nav-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--br-sm);
  border: none; background: transparent;
  font-family: var(--fb); font-size: .875rem; font-weight: 600; color: var(--muted);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-align: left;
}
.portal-nav-item:hover { background: var(--beige); color: var(--charcoal); }
.portal-nav-item.active { background: var(--gold-bg); color: var(--gold-a11y); }
.portal-nav-item .nav-icon { display: flex; flex-shrink: 0; color: inherit; }
.portal-nav-item .cs-badge { margin-left: auto; }

/* ── Conteúdo principal ── */
.portal-main { min-width: 0; }
.portal-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--br-xl);
  padding: var(--sp-xl);
  box-shadow: var(--sh-m);
  margin-bottom: var(--sp-lg);
}
.portal-section-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--border);
}
.portal-section-header h3 { font-family: var(--fh); font-size: 1.2rem; font-weight: 500; color: var(--charcoal); margin: 0; }

/* ── Dashboard KPI cards ── */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}
.dash-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--br-lg);
  padding: var(--sp-lg);
  text-align: center;
  transition: all var(--dur-slow) var(--ease-out);
}
.dash-card:hover { box-shadow: var(--sh-m); transform: translateY(-2px); }
.dash-card-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.dash-card-val { font-family: var(--fh); font-size: 1.8rem; font-weight: 500; color: var(--charcoal); line-height: 1; margin-bottom: 4px; }
.dash-card-label { font-size: .78rem; color: var(--muted); font-weight: 500; }

/* ── Timeline (histórico) ── */
.cs-timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex; gap: var(--sp-md);
  padding-bottom: var(--sp-lg);
  position: relative;
}
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute; left: 5px; top: 16px; bottom: 0;
  width: 1.5px; background: var(--border);
}
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 4px;
  border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--gold-bdr);
}
.timeline-content { flex: 1; min-width: 0; }
.timeline-title { font-weight: 600; font-size: .9rem; color: var(--charcoal); margin-bottom: 2px; }
.timeline-sub { font-size: .8rem; color: var(--muted); }
.timeline-date { font-size: .75rem; color: var(--taupe); white-space: nowrap; flex-shrink: 0; }

/* ── Tabela (marcações/relatórios) ── */
.cs-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.cs-table th {
  text-align: left; padding: 10px 12px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--taupe); border-bottom: 1.5px solid var(--border);
}
.cs-table td { padding: 12px; border-bottom: 1px solid var(--border); color: var(--charcoal); vertical-align: middle; }
.cs-table tr:last-child td { border-bottom: none; }
.cs-table tr:hover td { background: var(--warm-white); }

/* ── Status pills ── */
.status-pill {
  display: inline-flex; align-items: center;
  padding: 4px 12px;
  border-radius: var(--br-pill);
  font-size: .72rem; font-weight: 700;
  white-space: nowrap;
}
.status-confirmado, .status-aprovado, .status-confirmed { background: #eaf7ee; color: #2E7D52; }
.status-aguarda_pagamento, .status-pendente, .status-pending { background: var(--gold-bg); color: var(--gold-a11y); }
.status-concluido, .status-completed { background: #eef2ff; color: #4338CA; }
.status-cancelado, .status-rejeitado, .status-cancelled { background: #fdecec; color: #C62828; }
.status-in_progress, .status-em_progresso { background: #FFF4E5; color: #A8854A; }

/* ── Modal (relatório) ── */
.cs-modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(28,26,20,.55);
  backdrop-filter: blur(2px);
  align-items: center; justify-content: center;
  padding: var(--sp-lg);
}
.cs-modal-overlay.open { display: flex; }
.cs-modal {
  background: #fff;
  border-radius: var(--br-xl);
  padding: var(--sp-xl);
  max-width: 560px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  box-shadow: var(--sh-xl);
  position: relative;
}
.cs-modal-close {
  position: absolute; top: var(--sp-md); right: var(--sp-md);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-dk);
  background: #fff; color: var(--muted);
  cursor: pointer;
  transition: all var(--dur);
}
.cs-modal-close:hover { background: var(--beige); color: var(--charcoal); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .portal-layout { grid-template-columns: 1fr; }
  .portal-sidebar { position: static; text-align: left; display: flex; align-items: center; gap: var(--sp-md); flex-wrap: wrap; }
  .portal-avatar { margin: 0; }
  .portal-nav { flex-direction: row; flex-wrap: wrap; flex: 1; }
  .portal-nav-item { width: auto; }
  .dashboard-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .dashboard-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dash-card { padding: var(--sp-md); }
  .cs-table { font-size: .8rem; }
  .cs-table th, .cs-table td { padding: 8px 6px; }
}

/* Testemunhos grid (páginas internas) */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-5); }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--br-l); padding: var(--sp-8); transition: all var(--dur); }
.testimonial-card:hover { box-shadow: var(--sh-l); transform: translateY(-3px); }
.testimonial-card--featured { background: var(--charcoal); border-color: var(--charcoal); }
.testimonial-card--featured .testimonial-text { color: rgba(255,255,255,.7); }
.testimonial-card--featured .testimonial-name { color: #fff; }
.testimonial-card--featured .testimonial-meta { color: rgba(255,255,255,.45); }
.testimonial-card--featured .testimonial-avatar { background: rgba(255,255,255,.1); color: var(--gold); }
.testimonial-stars { color: var(--gold); margin-bottom: var(--sp-4); letter-spacing: 2px; }
.testimonial-text { font-size: 1rem; color: var(--muted); line-height: 1.75; margin-bottom: var(--sp-5); font-style: italic; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--beige-dk); display: flex; align-items: center; justify-content: center; font-family: var(--font-h); font-weight: 700; color: var(--taupe); font-size: 1.1rem; flex-shrink: 0; }
.testimonial-name { font-size: .875rem; font-weight: 700; color: var(--charcoal); margin-bottom: 2px; }
.testimonial-meta { font-size: .75rem; color: var(--muted); }
.testimonial-author { display: flex; align-items: center; gap: 10px; }

/* Portal */
.portal-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border); margin-bottom: var(--sp-8); }
.portal-tab { padding: 10px var(--sp-5); border: none; background: transparent; font-family: var(--font-b); font-size: .875rem; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all var(--dur); }
.portal-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Stats band */
.cs-stats-band { background: var(--charcoal); padding: var(--sp-12) 0; }


/* ─────────────────────────────────────────────────────
   RESPONSIVE — 5 breakpoints completos
   1280 → 1024 → 768 → 600 → 480 → 360
───────────────────────────────────────────────────── */

/* ── Tablet largo (≤1024px) ── */
@media (max-width: 1024px) {
  .gallery-4 { grid-template-columns: repeat(2, 1fr); }
  .service-cards-container { grid-template-columns: repeat(2, 1fr); }
  .carousel-track .service-item { flex: 0 0 calc(50% - 8px); }
  .carousel-track .cs-svc-card { flex: 0 0 calc(50% - 8px); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .step { max-width: 200px; }
  .testimonies-card-background { flex: 0 0 360px; }
  /* Header: esconder nav principal, mostrar hamburger */
  #main-nav { display: none; }
  .hamburger { display: flex; }
  .header-search { max-width: 300px; }
  /* Esconder o botão "Entrar" do header em ecrãs estreitos — evita overflow
     horizontal quando logo + Entrar + Pedir Orçamento + hamburger não cabem
     todos na mesma linha. O login continua acessível via o menu mobile. */
  .cs-btn-secondary { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .footer-main { gap: 40px; }
}

/* ── Tablet (≤768px) ── */
@media (max-width: 768px) {
  :root {
    --page-pad: 16px;
  }

  /* Header */
  .header-search { display: none; }
  .header-inner { gap: 12px; }
  #site-header .btn-primary { padding: 9px 16px; font-size: .82rem; }

  /* Hero */
  .hero-section { min-height: 480px; }
  .hero-h1,
  .hero-headline { font-size: clamp(1.8rem, 6vw, 2.4rem) !important; }
  .hero-sub-title { font-size: 1rem; }
  .trust-badges { gap: 6px; margin-top: 16px; }
  .tbadge, .trust-badge { font-size: .72rem; padding: 4px 10px; }
  .homepage-search-icon { max-width: 100% !important; }

  /* Mini-header hero */
  .hero-mini-inner { flex-wrap: nowrap; gap: 12px; }
  .hero-mini-inner .btn-primary { display: none; } /* esconder btn no mobile no mini-header */

  /* Grids */
  .gallery-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-cards-container { grid-template-columns: 1fr 1fr; gap: 12px; }
  .carousel-track .service-item { flex: 0 0 calc(50% - 6px); }
  .carousel-track .cs-svc-card { flex: 0 0 calc(50% - 6px); }
  .cat-tab { font-size: .875rem; padding: 7px 14px; }

  /* Porquê nós */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 24px; }

  /* Como funciona */
  .steps-row { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 8px; }
  .step { max-width: 100%; width: 100%; }
  .guided-path-steps-homepage { padding: 28px 20px; }
  .guided-path-steps-homepage h3 { font-size: 1.25rem; }

  /* Testemunhos */
  .testimonies-card-background { flex: 0 0 280px; padding: 24px; }
  .test-card { flex: 0 0 280px; padding: 24px; }

  /* Footer */
  .footer-main { flex-direction: column; gap: 32px; }
  .footer-col-contact, .footer-col-nav, .footer-col-newsletter { max-width: none; }

  /* Internals */
  .testimonials-grid { grid-template-columns: 1fr; }
  .cs-form-row { grid-template-columns: 1fr; }
  .plan-chooser-grid { grid-template-columns: 1fr; }
  .pricing-panel.active { grid-template-columns: 1fr; }

  /* Booking page */
  .cs-booking-wrap { grid-template-columns: 1fr !important; }
  .cs-booking-wrap > div:last-child { position: static !important; }

  /* Cluster cards */
  .homepage-cluster-card { padding: 14px 10px; gap: 10px; }
  .homepage-cluster-card .cluster-icon { font-size: 1.75rem; }
  .homepage-cluster-card span { font-size: .95rem; }
}

/* ── Mobile médio (≤600px) ── */
@media (max-width: 600px) {
  /* Esconder nav lateral no booking — full width */
  .cs-booking-wrap { display: block !important; }

  /* Trust badges — 2 por linha */
  .trust-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

  /* Category tabs — scroll horizontal */
  .category-tabs > div:first-child { overflow-x: auto; padding-bottom: 4px; flex-wrap: nowrap; }
  .cat-tab { white-space: nowrap; flex-shrink: 0; }

  /* Nota: a responsividade de .cs-extras-grid e .cs-freq-grid (extras e
     frequência do booking) já não depende de correspondência de texto em
     atributos style="" — está definida directamente em page-booking.php
     com classes CSS próprias, mais robustas e fáceis de manter. */

  /* CTA buttons — coluna */
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Testemunhos track — apenas 1 visível */
  .testimonies-track,
  .test-track {
    padding-left: var(--page-pad) !important;
    padding-right: var(--page-pad) !important;
  }
  .testimonies-card-background { flex: 0 0 calc(100vw - 48px) !important; }
  .test-card { flex: 0 0 calc(100vw - 48px) !important; }
}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
  :root { --page-pad: 14px; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .hero-headline { font-size: 1.8rem !important; line-height: 1.15 !important; }
  .hero-section { min-height: 440px; }

  /* Clusters — 2 colunas pequenas */
  .gallery-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .homepage-cluster-card { padding: 12px 8px; flex-direction: column; gap: 6px; text-align: center; }

  /* Serviços — 1 coluna */
  .service-cards-container { grid-template-columns: 1fr; }
  .carousel-track .service-item { flex: 0 0 85vw; }
  .carousel-track .cs-svc-card { flex: 0 0 85vw; }

  /* Tabs */
  .cat-tab { font-size: .8rem; padding: 6px 10px; }

  /* Search tags — scroll */
  .search-tags,
  .search-tag-list { overflow-x: auto; flex-wrap: nowrap !important; padding-bottom: 6px; scrollbar-width: none; }
  .search-tags::-webkit-scrollbar,
  .search-tag-list::-webkit-scrollbar { display: none; }

  /* Sections */
  .cs-section { padding: 40px 0; }
  .why-card { padding: 20px; }

  /* Progress bar booking */
  .cs-progress-step span { display: none; }
  .progress-circle { width: 32px !important; height: 32px !important; }

  /* Forms */
  .cs-form-row { grid-template-columns: 1fr; gap: 10px; }

  /* Footer */
  .footer-legal { flex-direction: column; align-items: flex-start; font-size: .7rem; }
}

/* ── Mobile pequeno (≤360px) ── */

/* ═══ CLASSES EXTRA — completude ═══ */

/* cs-hero / cs-page-hero (páginas internas) */
.cs-hero, .cs-page-hero {
  background: var(--charcoal);
  padding: var(--sp-3xl) 0 var(--sp-2xl);
  position: relative;
  overflow: hidden;
}
.cs-hero::before, .cs-page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,164,106,.12), transparent 70%);
  pointer-events: none;
}
.cs-hero h1, .cs-page-hero h1 { color: #fff; margin-bottom: 10px; }
.cs-hero p, .cs-page-hero p  { color: rgba(255,255,255,.6); font-size: 1.125rem; max-width: 600px; }
.cs-hero .eyebrow, .cs-page-hero .eyebrow { color: var(--gold); }

/* Reveal delays */
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* .eyebrow--gold já definido acima — evitar duplicação */

/* Stats band */
.cs-stats-band { background: var(--charcoal); padding: var(--sp-2xl) 0; }

/* Portal panel */
.portal-panel { display: none; }
.portal-panel.active { display: block; }

/* cs-booking-wrap */
.cs-booking-wrap > div:last-child { position: sticky; top: 140px; }

/* Animação progress booking */
@keyframes progress-fill { from { width: 0; } to { width: 100%; } }

/* Spinner */
.cs-spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: cs-spin .7s linear infinite;
  vertical-align: middle; margin-right: 6px;
}
@keyframes cs-spin { to { transform: rotate(360deg); } }

/* Auth panels */
.cs-auth-panel { display: none; }
.cs-payment-fields { display: none; }

/* Booking step */
.cs-step { display: none; }
#cs-step-1 { display: block; }

@media (max-width: 360px) {
  :root { --page-pad: 12px; }

  .hero-headline { font-size: 1.55rem !important; }
  .gallery-4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .btn, .cs-btn { padding: 9px 16px; font-size: .82rem; }
  .logo, .site-logo-text { font-size: 1.15rem; }
  .logo-dot { width: 4px; height: 4px; }
}

/* ── Landscape mobile ── */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section { min-height: 320px; }
  .hero-content { padding: 20px 0 30px !important; }
}
