/* ================================================================
   HAJA CLEAN FACILITIES SERVICES — Design system v2
   Inspirado na estrutura do modelo "Limpare" (dividers diagonais,
   botão flutuante de WhatsApp, grid de selos, linhas alternadas de
   serviço, cards de depoimento) — mantendo a marca real da Haja
   Clean (teal #106D65 / coral #FF6C4E).
   ================================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

/* ---------- TOKENS ---------- */
:root {
  --ink: #0E211D;
  --paper: #FFFFFF;
  --paper-alt: #F3F7F6;
  --white: #ffffff;

  --teal: #106D65;
  --teal-deep: #0A4A44;
  --teal-pale: #E4F1EE;

  --coral: #FF6C4E;
  --coral-deep: #E8532F;

  --text: #26312E;
  --text-soft: #5C6A66;
  --line: #E2E8E6;
  --brand-grey: #757575; /* cinza real do logotipo */
  --coral-pale: #FFE4DB;

  --text-on-dark: #FFFFFF;
  --text-on-dark-soft: rgba(255,255,255,.78);
  --line-on-dark: rgba(255,255,255,.18);

  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ff-display: 'Poppins', sans-serif;
  --ff-body: 'Inter', sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space-section: clamp(3.5rem, 7vw, 6rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- BASE ---------- */
body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.18; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 600; }
p { color: var(--text-soft); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark p, .on-dark { color: var(--text-on-dark); }
.on-dark p { color: var(--text-on-dark-soft); }
strong { font-weight: 700; color: inherit; }

.eyebrow {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: .5em;
}
.on-dark .eyebrow { color: #FFD9CC; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
section { padding-top: var(--space-section); padding-bottom: var(--space-section); position: relative; }
.section-head { max-width: 640px; display: flex; flex-direction: column; gap: .8rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { max-width: 620px; margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--coral); color: var(--white); padding: .75rem 1.25rem; z-index: 999; border-radius: 0 0 6px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

/* ---------- DIAGONAL DIVIDERS ---------- */
.diagonal-bottom { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); padding-bottom: calc(var(--space-section) + 3vw); }
.diagonal-top { clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--space-section) + 3vw); }
.diagonal-both { clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); }
@media (max-width: 40rem) {
  .diagonal-bottom { clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); }
  .diagonal-top { clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%); }
}

/* ---------- BUTTONS ---------- */
.btn {
  font-family: var(--ff-body); font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: var(--white); box-shadow: 0 10px 24px -10px rgba(255,108,78,.55); }
.btn-primary:hover { background: var(--coral-deep); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.on-dark .btn-ghost { color: var(--white); border-color: var(--line-on-dark); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--teal-deep); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- HEADER (branco, sólido) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: .9rem 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: padding .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { padding: .6rem 0; box-shadow: 0 8px 24px -12px rgba(10,30,27,.12); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header, .site-header a, .site-header button { color: var(--ink); }

.logo { display: flex; align-items: center; gap: .65rem; }
.logo__mark { height: 34px; width: auto; flex: none; display: flex; align-items: center; }
.logo__mark img { height: 100%; width: auto; display: block; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; }
.logo__text small { font-family: var(--ff-body); font-weight: 600; font-size: .56rem; letter-spacing: .14em; color: var(--brand-grey); margin-top: .32rem; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 1.9rem; font-size: .9rem; font-weight: 500; }
.nav-desktop a { position: relative; padding-bottom: 3px; opacity: .92; }
.nav-desktop a:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: .9rem; }
.header-actions .btn { padding: .68rem 1.3rem; font-size: .84rem; }
@media (max-width: 26rem) {
  .logo__mark { height: 26px; }
  .logo__text b { font-size: .92rem; }
  .logo__text small { display: none; }
  .header-actions .btn { padding: .58rem .9rem; font-size: .76rem; }
}
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: .4rem; flex: none; }
.nav-toggle span { width: 22px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .3s 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); }

.nav-mobile {
  position: fixed; inset: 0; background: var(--teal-deep); color: var(--white); z-index: 90;
  display: flex; flex-direction: column; justify-content: center; padding: 2rem var(--gutter);
  transform: translateY(-100%); transition: transform .45s var(--ease);
}
.nav-mobile.is-open { transform: translateY(0); }
.nav-mobile ul { display: flex; flex-direction: column; gap: 1.3rem; margin-bottom: 2.2rem; }
.nav-mobile a { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 700; }

@media (min-width: 62rem) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none; }
}

/* ---------- HERO v2 (duas colunas, teal sólido, diagonal) ---------- */
.hero-v2 { position: relative; background: linear-gradient(165deg, #ffffff 0%, var(--teal-pale) 100%); color: var(--text); padding-top: clamp(7.5rem, 15vw, 9.5rem); padding-bottom: clamp(4.5rem, 9vw, 6.5rem); overflow: hidden; }
.hero-v2 .container { position: relative; z-index: 1; display: grid; gap: 2.4rem; align-items: center; }
.hero-v2 h1 { color: var(--ink); max-width: 15ch; margin-bottom: 1.2rem; }
.hero-v2 .hero__sub { max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.1rem); margin-bottom: 2rem; color: var(--text-soft); }
.hero-v2 .hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }
.hero-v2 .hero__tags { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .82rem; color: var(--text-soft); }
.hero-v2 .hero__tags span { display: inline-flex; align-items: center; gap: .5em; }
.hero-v2 .hero__tags span::before { content: '✓'; color: var(--coral); font-weight: 700; }
@media (min-width: 48rem) { .hero-v2 .container { grid-template-columns: 1.1fr .9fr; } }

.hero-v2__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3.4; box-shadow: 0 30px 60px -20px rgba(16,109,101,.3);
  border: 6px solid var(--white);
}
.hero-v2__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-v2__frame--icon { display: flex; align-items: center; justify-content: center; background: var(--teal-pale); }
.hero-v2__frame--icon svg { width: 30%; height: 30%; opacity: .9; }
.hero-v2__tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  background: rgba(14,33,29,.85); color: var(--white);
  font-size: .74rem; font-weight: 600; padding: .5rem .8rem; border-radius: var(--radius-pill);
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- BADGE / COMPROMISSOS GRID ---------- */
.badge-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
.badge-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.4rem 1.1rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.badge-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(16,109,101,.35); border-color: var(--teal); }
.badge-card__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; }
.badge-card__icon svg { width: 22px; height: 22px; stroke: var(--teal-deep); }
.badge-card span { font-size: .84rem; font-weight: 600; color: var(--ink); }
@media (min-width: 40rem) { .badge-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- SEGMENTOS / CARDS GRID ---------- */
.cards-grid { display: grid; gap: 1.3rem; }
.info-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 2rem clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.info-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -22px rgba(16,109,101,.4); }
.info-card__icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--teal-pale); display: flex; align-items: center; justify-content: center; }
.info-card__icon svg { width: 23px; height: 23px; stroke: var(--teal-deep); }
.info-card p { font-size: .92rem; }
.info-card__link { margin-top: auto; font-weight: 700; font-size: .82rem; color: var(--coral-deep); display: inline-flex; align-items: center; gap: .4em; padding-top: .4rem; }
.info-card__link svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.info-card__link:hover svg { transform: translateX(3px); }
@media (min-width: 40rem) { .cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 40rem) and (max-width: 61.99rem) { .cards-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA BANNER (diagonal, imagem + texto) ---------- */
.cta-banner { background: var(--coral-pale); color: var(--text); }
.cta-banner .container { display: grid; gap: 2.4rem; align-items: center; }
.cta-banner h2 { color: var(--ink); max-width: 16ch; margin-bottom: 1rem; }
.cta-banner p { color: var(--text-soft); max-width: 42ch; margin-bottom: 1.6rem; }
.cta-banner__frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.2; border: 6px solid var(--white); box-shadow: 0 20px 50px -22px rgba(232,83,47,.35); }
.cta-banner__frame img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 48rem) { .cta-banner .container { grid-template-columns: 1.1fr .9fr; } }
@media (max-width: 47.99rem) { .cta-banner__frame { order: -1; max-width: 380px; margin: 0 auto; } }

/* ---------- SERVICE ROWS (imagem alternada + texto) ---------- */
.service-row { display: grid; gap: 2.2rem; align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.service-row:last-child { margin-bottom: 0; }
.service-row__frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.service-row__frame img { width: 100%; height: 100%; object-fit: cover; }
.service-row__frame--icon { display: flex; align-items: center; justify-content: center; background: var(--teal-pale); }
.service-row__frame--icon svg { width: 34%; height: 34%; stroke: var(--teal-deep); }
.service-row h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: .7rem; }
.service-row p { margin-bottom: 1.1rem; }
@media (min-width: 52rem) {
  .service-row { grid-template-columns: 1fr 1fr; }
  .service-row.reverse .service-row__frame { order: 2; }
}

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; gap: 1.4rem; }
.testi-card { background: var(--paper); border: 1.5px dashed var(--line); border-radius: var(--radius-md); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.testi-card__head { display: flex; align-items: center; gap: .9rem; }
.testi-card__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-weight: 700; color: var(--teal-deep); flex: none; }
.testi-card__name { font-weight: 700; font-size: .92rem; color: var(--ink); }
.testi-card__note { font-size: .72rem; color: var(--text-soft); }
.testi-card p { font-style: italic; font-size: .93rem; }
@media (min-width: 52rem) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- PAIN POINTS (LPs) ---------- */
.pain-grid { display: grid; gap: 1.3rem; }
.pain-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.7rem; display: flex; gap: 1rem; align-items: flex-start; }
.pain-card svg { width: 22px; height: 22px; flex: none; stroke: var(--coral-deep); margin-top: .15rem; }
.pain-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.pain-card p { font-size: .89rem; }
@media (min-width: 40rem) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56rem) { .pain-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- INCLUDED LIST ---------- */
.included-list { display: grid; gap: .85rem; }
.included-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1rem 1.2rem; }
.included-list svg { width: 19px; height: 19px; flex: none; margin-top: .12rem; stroke: var(--teal); }
@media (min-width: 46rem) { .included-list { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper-alt); }
.faq-list { display: flex; flex-direction: column; gap: .75rem; max-width: 780px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 1.4rem; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--ff-display); font-weight: 600; font-size: .98rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ''; position: absolute; background: var(--teal); transition: transform .3s var(--ease); }
.faq-item summary .plus::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); border-radius: 2px; }
.faq-item summary .plus::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); border-radius: 2px; }
.faq-item[open] summary .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item p { padding-bottom: 1.25rem; font-size: .93rem; max-width: 60ch; }

/* ---------- FINAL CTA ---------- */
.final-cta { background: var(--teal-pale); color: var(--text); text-align: center; }
.final-cta h2 { color: var(--ink); max-width: 18ch; margin: 0 auto 1rem; }
.final-cta p { color: var(--text-soft); max-width: 44ch; margin: 0 auto 2.1rem; }
.final-cta__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark); padding-top: clamp(3.2rem, 6vw, 4.6rem); }
.footer-top { display: grid; gap: 2.4rem; padding-bottom: 2.6rem; border-bottom: 1px solid var(--line-on-dark); }
.footer-brand p { max-width: 32ch; margin-top: 1rem; font-size: .9rem; }
.footer-col h4 { font-family: var(--ff-display); font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--coral); margin-bottom: .9rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; font-size: .9rem; }
.footer-col a:hover { color: var(--coral); }
.footer-social { display: flex; gap: .8rem; margin-top: 1.3rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--line-on-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color .25s var(--ease), background .25s var(--ease); }
.footer-social a:hover { background: var(--coral); border-color: var(--coral); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { padding: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .78rem; color: var(--text-on-dark-soft); }
@media (min-width: 40rem) { .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); } }

/* ---------- FLOATING WHATSAPP BUTTON ---------- */
.floating-whatsapp {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 85;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(0,0,0,.4);
  animation: floatPulse 2.6s ease-in-out infinite;
}
.floating-whatsapp svg { width: 28px; height: 28px; }
@keyframes floatPulse { 0%, 100% { box-shadow: 0 12px 26px -8px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 12px 26px -8px rgba(0,0,0,.4), 0 0 0 10px rgba(37,211,102,0); } }
@media (prefers-reduced-motion: reduce) { .floating-whatsapp { animation: none; } }
body.has-sticky-cta .floating-whatsapp { bottom: 5.4rem; }

/* ---------- STICKY MOBILE CTA (landing pages) ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--paper); border-top: 1px solid var(--line); padding: .7rem var(--gutter); box-shadow: 0 -6px 18px rgba(14,33,29,.1); }
@media (min-width: 62rem) { .sticky-cta { display: none; } }
body.has-sticky-cta { padding-bottom: 72px; }

/* ---------- MISC ---------- */
.hide-mobile { display: none !important; }
@media (min-width: 40rem) { .hide-mobile { display: inline-flex !important; } }
